actionscript
Flex embedded string resource encoding
I embed a text file into my Flex project and read its contents using code like this: [Embed(source = \"../../data/abc.txt\", mimeType = \"application/octet-stream\")][详细]
2023-04-08 15:03 分类:问答Set size of the loaded image in AS3.0
I\'m loading images from xml file. I want the images to have standard width when they are displayed. Here are the snippets of th开发者_运维问答e code that do the image processing:[详细]
2023-04-08 12:33 分类:问答add characters to end of line
How do I add </in> to the end of each line? A String contain: <ch>13</ch><in>Item 13(mon开发者_运维技巧o)[详细]
2023-04-08 11:18 分类:问答Call variable inside a function AS3.0
I\'m trying to pass a variable through a function, but I\'m getting it\'s value 0 Here\'s my code: thumbLoader.addEventListener(MouseEvent.CLICK, goToCategory);[详细]
2023-04-08 11:17 分类:问答Panels creation at runtime can't see them
My problem is i am trying to make a panel. My button in in Main.mxml whereas the panel functions are defined in panel_Create.mxml. the code works fine. In panel_Create their are functions to create pa[详细]
2023-04-08 09:57 分类:问答Block/prevent Loaded SWF from accessing Loader's Stage
I have two SWFs: a Loader SWF, and a Loaded SWF. I need to add the Loaded SWF to the display hierarchy, but I don\'t want to give it free access to the stage. It may, for instance, attempt to change t[详细]
2023-04-08 08:58 分类:问答Mouse click handling in As3.0 gallery
I\'m playing around with a gallery. I want to add some more functionality. HERE\'s the initial code: import flash.events.Event;[详细]
2023-04-08 08:34 分类:问答JavaScript Communication
I was reading about Flex- JavaScript communication via ExternalInterface. But I had a doubt, it said that the javascript code should be written in the HTML file of the application ?[详细]
2023-04-08 06:20 分类:问答how to stop getting mouse click events in flex
I have made a hierarchy in which there is a main page,using add element i have attached a component mxml of type group. There is a single button on main page when clicked it should add children of typ[详细]
2023-04-08 05:30 分类:问答targetting the next container child in flex
i have created a couple of buttons at run time in flex. when i click on one button using event.currentTarget property i can change its properties like x,y,label etc , also i can get its index. Now i c[详细]
2023-04-08 03:55 分类:问答