Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
Laura MS #1
matching event.target to XML node value
I want Montana data to appear when I click the state of Montana (and so on
throughout the 50 states). Montana is the instance name of my simple button on
the state of Montana.
Something's not quite right about this line of code:
if (pEvent.target == myXML.statename[i]) { ...then do something ...}
The code works fine if I say
if (pEvent.target == Montana)
Do I have to convert the myXML node value to text or something?
Laura MS Guest
-
Unexpected event target when clicking on a Panel
Below is a program that I wrote to improve my understanding of the event flow. It simply creates a Button within a Panel within an Application and... -
Compile error forDragManager.acceptDragDrop(event.target)
Hi. The problem is that DragManager.acceptDragDrop expects a UIComponent but Event.target is typed as Object. You need to cast the target as a... -
Getting Error: Event Type 'flash.event:event' is unavailable ?????
Hi, I am not using Cairngorm or anything, but trying to get an app built first without it then look into it. I am getting this error however... -
when is the target table is created in an table event monitor
Hi Folks, Here is the question, In V8 an event monitor is created with the WRITE TO TABLE option. When are the target tables created? The event... -
Assign Javascript event handler function dynamically to a Flash object event?
I have a Flash player object embedded in one of my web pages. I want to assign code to the OnReadyStateChange event for the object. Every... -
Laura MS #2
Re: matching event.target to XML node value
Solution:
if (pEvent.target.name == myXML.statename[i])
Laura MS Guest



Reply With Quote

