adrianparr


Member since 02/09/2009

Name: Adrian Parr

adrianparr

Location: Aylesbury, UK

Website: http://www.adrianparr.com

I am an experienced freelance multimedia professional with a strong mix of technical and managerial skills. I have more than eight years’ experience working in a busy London full-service digital media agency. I consider myself an all-round digital media expert with a focus on Adobe Flash and related technologies. I am a hard worker who is very easy to get along with.\r\n\r\nPlease visit my LinkedIn profile (http://www.linkedin.com/in/adrianparr) to view recommendations from previous co-workers. I have worked on interactive projects across a wide range of sectors, including education, government, television and advertising, receiving more than 20 major industry awards. I am passionate about the industry and active within the online community, and always ensure my knowledge is up-to-date.

107 snippets

1199 profile views

13 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

adrianparr's Recent Snippets



To style the text in a TextArea component, create a TextFormat object and pass it to the TextArea's setStyle method.
0 167 posted 10 years ago by adrianparr
This code removes all the spaces and then inserts a single space so that the there are only 3 characters on the right-hand side (the inward code).
0 123 posted 10 years ago by adrianparr
This returns a string with a single space after the fifth character. Useful for displaying a UK mobile number which is easy to read.
0 116 posted 10 years ago by adrianparr
Thanks to Thomas John.
1 128 posted 10 years ago by adrianparr
This demo expects there to be 10 video UI components on the stage ('playPauseBtn', 'stopBtn', 'backBtn', 'forwardBtn', 'seekBar', 'captionBtn', 'fullScreenBtn', 'muteBtn', 'volumeBar' and 'bufferingBar') these can all be skinned as required. You also...
1 224 posted 10 years ago by adrianparr
You need to create the 'SWFReader.as' class file (see link above) and save it in to the package (folder structure) 'com/senocular/utils'.
1 122 posted 10 years ago by adrianparr
You need to download the SWC from here (http://github.com/claus/as3swf/archives/master) first.
0 116 posted 10 years ago by adrianparr
This handy little function can be used to convert a displayObject to black and white.
0 205 posted 10 years ago by adrianparr
I always forget which method does what. This is just as a quick reminder.
4 439 posted 10 years ago by adrianparr
If the item cannot be found then the return value is NaN. This function only returns the index of the first occurence found, so it's not very good if you have multiple occurrences of the same value in the array.
0 292 posted 10 years ago by adrianparr
In AS2 forward slashes got url-encoded to %2F when you escaped them. But in AS3 they get ignored and left as they are. In some situations I have found that this can cause problems. So you can do it manually using this regular expression.
0 136 posted 10 years ago by adrianparr
0 117 posted 10 years ago by adrianparr
I'm not sure whether I should be using == (Equality) or === (Strict equality) here. I haven't been able to create a situation where it makes much difference. If you know better, feel free to leave me a comment.
0 185 posted 10 years ago by adrianparr