I have this a “pageflip” component for Flash as3. I want 2 pageflipfx in one swf. (controlled by a button to swap between them)
So I created 2 different settingsfiles: settings1.xml and settings2.xml, both refer to their own images xml and skin xml.
Then I load 2 pageflip components on the stage in FLash cs3. (as3)
How can I make each component “call” the specific settings xml-file?
I tried editing parameters, does not work.:
1067: Implicit coercion of a value of type String to an unrelated type Number.
In fact when I publish this fla- even without changing the settings parameter - (in the right folder with all the xmls, assets etc) the flipbook is empty! only grey pages with the preloaders.
I tried this:
Open the .FLA file, select the component that is on the stage and give it and instance name (e.g. “myComponent”) using the Properties panel (Ctrl + F3).
Next all you need to do is select the frame from the main timeline where the component is located and press F9 to open the actions panel and write this line of ActionScript code:
myComponent.settingsXML = “mySettings.xml”;
did not work!
Please help me.
gr Erik