I'm having trouble loading a component created in Flex into a
swf created in Flash. The Flex file loads into the Flash swf, but
the component does not work and generates an error when selected.
The code below is in 2 parts and illustrates the problem. Part 1 is
placed in Flash on frame 1 of the main timeline. Part 2 is in Flex.
Both files must be saved in the same folder and Part 2 must be
created before Part 1. Why won't the component work and how can I
correct the problem. Thanks!
var request:URLRequest = new URLRequest("Practice.swf");
var loader:Loader = new Loader()
Part 2: File name Practice.mxml
<?xml version="1.0" encoding="utf-8"?>
[Bindable]private var comboBox0:ArrayCollection = new
Thanks for the hint about using a timer. I think the code
below uses a timer to check to see whether the loading swf has
finished downloading, but the problem persists. The component still
fails when I click on it. Is there something else I should be