Category Archives: Flex4

LoaderMax & Data Transfer between Flex and SWFs

This last week I have been doing some research for my capstone course in my major, WDMD480. Our project involves working with the CNR to take a twenty year old fish farm simulation and modernize it. To do this, we are using Flash, Flex and PHP to not only create the simulation, but an administrative panel and content management system for teachers who might use the program. My goal this week? Take a SWF and load it into Flex, then have two way communication between the two levels. I had a hard time with having this done seamlessly in Flex4, but in the end I ended up creating two way communication using both LoaderMax and custom events.

While trolling for resources to get me started, I found that I could find few, if any, real ‘tutorials’ on the subject of using LoaderMax in a Flex environment, so I figured I could expain not only how to use Flex with LoaderMax, but my way to transfer data from a SWF to Flex and vice versa.
Read more »