Video tutorial: Use Flex for your ActionScript coding for Flash CS4
by Serge Jespers on 09. Mar, 2009 in Flash, Flex, How-to, Video, Video Tutorial
Tags: ActionScript, cs4, Flash, Flex, How-to, library project, swc, tutorial, Video Tutorial
19 Responses to “Video tutorial: Use Flex for your ActionScript coding for Flash CS4”
Trackbacks/Pingbacks
-
Andrea Trento -
09. Mar, 2009
RT @sjespers Video tutorial: Use Flex for your ActionScript coding for Flash http://is.gd/mvgc
-
Yesterday « Marc Hibbins -
09. Mar, 2009
[...] (09.03.09): Serge now has a video tutorial over on his blog demonstrating how to use simple Flex Library Projects in Flash. Possibly related posts: [...]
-
Kevin Suttle -
09. Mar, 2009
@sjespers: Thank you for making sense of the Flex Library Project’s purpose.
http://tinyurl.com/894dyf -
localToGlobal » Blog Archive » news review -> 11th week of 2009 -
13. Mar, 2009
[...] > Video tutorial: Use Flex for your ActionScript coding for Flash CS4 | Serge Jespers [...]
-
Metodología actionscript 3.0 - Workflow Flex/Flash CS4 para actionscript projects | blog.arturoparacuellos.com -
15. Mar, 2009
[...] que permite trabajar conjuntamente con flex sacando el mismo swf. Para los expertos en la materia aquí hay un vídeo del Adobe Evangelist Serje Jespers que lo explica muy [...]
-
Forcing your Flex code into Flash | by Hans Van de Velde -
28. Apr, 2009
[...] March 2009]: In Flash CS4 you can now use a Flex library SWC, check out this demo by Serge: http://www.webkitchen.be/2009/03/09/video-tutorial-use-flex-for-your-actionscript-coding-for-flash-c... addthis_url = ‘http%3A%2F%2Fwww.novio.be%2Fblog%2F%3Fp%3D9′; addthis_title = [...]
-
Helpful How-To Links « AUW BlogShop Students -
26. Jun, 2009
[...] http://www.webkitchen.be/2009/03/09/video-tutorial-use-flex-for-your-actionscript-coding-for-flash-c…. Another useful tutorial video to look [...]
-
» Yesterday Marc Hibbins -
02. Sep, 2009
[...] (09.03.09): Serge now has a video tutorial over on his blog demonstrating how to use simple Flex Library Projects in Flash. « I Found Out Learn [...]
Leave a Reply
- Using Growl in AIR applications with AIR 2 NativeProcess 15. Mar, 2010
- Mission critical Flash 12. Mar, 2010
- Robert Scoble interviews Flash Platform execs 11. Mar, 2010
- Number 1 on my wishlist: HP’s slate device 08. Mar, 2010
- The HTML5 Flash Marriage: Geolocation source 08. Mar, 2010
Latest Tweets
Where am I?
Serge Jespers is at home in Mechelen, Belgium.
Flash Platform blogs
- Adam Lehman
- AIR team blog
- Andrew Shorten
- Ben Forta
- Christian Cantrell
- Christophe Coenraets
- Duane Nickull
- Enrique Duvos
- Ethan Malasky
- Flash Platform blog
- Greg Wilson
- James Ward
- Kevin Hoyt
- Lee Brimelow
- Mark Doherty
- Matt Chotin
- Mihai Corlan
- Mike Chambers
- Piotr Walczyszyn
- Renaun Erickson
- Ryan Stewart
- Ted Patrick
- Terry Ryan
- Tom Krcha






Cool video.
One question: Why are you using the vimeo player and not the Adobe TV embed player?
Thanks James. I decided to consolidate all my videos in one place. They will still be available on Adobe TV but my Vimeo account will be my main “channel”.
Thank you sooo much I was looking for this so many time!
Informative as always!
Thanks mate
Serge, using Vimeo…. good move. So sorry, but I can’t stand Adobe TV and am happy you put your videos on Vimeo.
Cheers!
Is there an advantage to using this method over using a classpath in Flash connected to classes created in Flex? Great tutorial! Thanks!
Hi Serge et al.,
I’ve come across a strange problem when I tried to replicate this example on Windows XP. I did all the Flex steps as in the tutorial and then created a new file in Flash CS4 (“Untitled-1″). When I test the movie in Flash, everything’s fine. Also an additional trace statement after addChild(myRect); is displayed as expected in the Output panel.
However, as soon as I save the ‘untitled’ .fla file to my hard disk the following happens when I test the movie: the movie itself is empty (no rectangle to be seen), no trace statement but also not any error message! The same problem occurs when I directly save the empty .fla to my hard disk and then link to the swc and add the timeline code.
Do you have any suggestion why this happens – is it a bug or do I have to do an extra step when working with an already saved .fla file? Did anyone else come across this problem?
Thanks,
Thomas
Hi all, it’s me again. I’ve got some more info about the problem I described in my previous post: it actually matters on which hard disk partition I save the .fla file (no matter if it’s from the ‘untitled’ state or if I do “Save as…”)!
I’ve got two Windows partitions, C: and D: All my Adobe software and the linked .swc file are on C: If I save the .fla file to D: and then test the movie, nothing happens. If I (re)save the .fla file to C: and then test the movie, everything works fine! Any comments or suggestions why this happens?
Amazing! Thanks a lot. I was really looking for this stuff. It’s great! Very Informative
Okay, Serge, this is great, but… what I really need is to be able to use Flex Components (i.e. TextArea, RichTextEditor) in my Flash CS4 app. Can you show us how to do that?
Thanks!
This does not work for me. I add the SWC to my library path and I get Definition not found errors when I publish. However, if I add the Flex src folder to the source library, it works fine. Are there any reasons why the SWC file would not get picked up, or would be built in a way that CS4 would be unable to reference the AS files in the library