Hi guys,
Check this out, if you make the following changes to Jason Wong's
little example, then SWF is able to call a function in Flex2. I got
it to fire a function -- no sending of arguments yet.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
Hrm... this line:
myMC.myRect = this.source(); //get function reference.
I think is backwards. Like, this.source() fires the function that shows the
alert. You're writing it like myMC is supposed to hold the return value of
the source function, but the source function doesn't return
...damn... I tried using this technique to run YahooMaps, but even though
the zoomLevel setter was set, it was just a blank beize. So, I tried using
BitmapData.draw, both in the SWF and in Flex, but no dice...
- Original Message -
From: JesterXL [EMAIL PROTECTED]
To:
3 matches
Mail list logo