While developing a flashlite application for a Samsung BADA phone we face a weird issue. We were not able to load an external XML file. WE got the following error :
FTPS033: A Call to loadVariables(URL) found, limitations might apply.
FTPA018: The call to loadVariables for [URL] was ignored because it was not associated with a keypress.
We were using Flash CS4 and Device Central CS4. After some research on the IDE we found that running the app on the Device Central generated these errors. We switched to Flash CS5 and it worked like a charm.
I wasted a whole day finding how to display movieclip classes as icons in a Flash TileList component(AS3 version). I tried loading the data from an external XML file containing label and icon tags as dataprovider for the tilelist, it displayed the labels properly but had issues displaying the icons.
I used the iconField property for e.g tileList.iconField = “icon”;
That too didn’t work for me.
I changed the icon tags to source tag and removed the iconField property and guess what….it worked!!!
Herez the XML
<data>
<item>
<label>Flex</label>
<source>MC1</source>
</item>
<item>
<label>Flash</label>
<source>MC2</source>
</item>
<item>
<label>ColdFusion</label>
<source>MC3</source>
</item>
<item>
<label>PHP</label>
<source>MC4</source>
</item>
</data>
Hope this helps!!!