Flash Actionscript With XML has trouble loading onClick -


If you go to that page and click on the card deck. Some clicks do not work Most of the clicking is an onclick problem even when the movie is tested in the flash.

import tweening files com.greensock *; Import com.greensock.easing *; Import Flash.Display.MovieClip; Import flash.events.Event; Import Flash. Text. Textfield; Import Flash. Text. Text format; Import fl.controls.UIScrollBar; Import flash.display.Sprite; // Create an array of image names var image name: Array = new Array (); Var descText: Array = new array (); // var for the total number of total images // variable: uint = imageNames.length; // Large image upload to a variable vs largeImageLoader: loader = new loader; // Bigimageloadloader on display list / random random number var random number: UIT; // Add Scroll Variable Scrollbar: Boolean = Wrong; Var scrollbar: uiscrollbar = new uiscrollbar (); AddChild (bigImageLoader); BigImageLoader.x = 130; BigImageLoader.y = 25; // Create a textfield var myText: TextField = new TextField (); Add text box to display // addbild (myText) list; MyText.width = 400; MyText.height = 180; MyText.x = 20; MyText.y = 200; MyText.wordWrap = True; MyText.multiline = True; MyText.selectable = True; Var format: text format = new text format (); Format.font = "Wordana"; Format.color = 0x000000; Format.size = 16; Format.underline = false; MyText.defaultTextFormat = Format; Var myXML: XML; Var myLoader: URLLoader = new URLLoader (); MyLoader.load (new URLRequest ("master.xml")); MyLoader.addEventListener (Event.Complete, Process XML); Function Process XML (e: Event) {myXML = new e.target.data); For (var i: uint = 0; i myText.height) {scrollBar.scrollTarget = myText; // Assign the goal of the scrollbar to your text file scroll. Bayer Hight = myText.height; // Make the text similar to the textfile scrollbar.move (myText.x + myText.width, myText.y); Move the scrollbar to the Raththand & Adbield (scrollbar); ScrollBar.update (); ScrollBarAdd = True; } And {if ((myText.textHeight & lt; myText.height) & add scrollbar == true} {scrollBarAdd = false; RemoveChild (scrollbar); }}}}}

My XML is structured like this

   

You may have already done this, but to know if In fact the event or your code that is creating this problem, click the button. Click. Before doing your loop

I am interested in whether the event is actually firing when the firing is actually ...


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -