I'm at a fairly basic level and am attempting to import an ActionScript3 project (created by someone else) into a Flex Project so that it is incorporated seamlessly into my main mxml application. The code for the AS project is here, if anyone cares to take a look:
I've got the main AS file (Walmarts.as) in a 'components' directory within the Flex Project src folder, and have updated the package statement, but I'm unable to instantiate it as I have mxml components (e.g. '<comps:Walmarts />').
I'm not getting any error messages -- just not getting anything at all.
Any pointers for a beginner would be really appreciated. Thanks.
Hi I downloaded the component pretty cool, but I tried to run it as an ActionScript Library project and it had some errors, I have to tweak the project in order to make it compile, so I assume that's what happening in your case too.
The code needs to be tweaked (forum on FlowingData has more on this), but it works fine as an AS project. I'm not getting any error messages, I just haven't discovered how to incorporate it in a Flex project. No luck with SWFLoader, referring to it as a component, or UIComponent.