Well, my goal is this:
 
There will be a ton of interactivity between the Flex variables, and the
Subdivision Plat SWF.  In fact, how the SWF looks visually, and behaves
based on mouse interaction, will all depend on the values brought back
from the database.
 
For example, if a Lot has been sold to a customer, I need to change the
color of the Lot MovieClip to Red.  There are 4 other possible Statuses,
that the Lot could have - and each Status is represented by a unique
color.
 
After the Plat SWF is brought in, the Flex App will loop through all 140
Lots, and set each corresponding MovieClip color, in addition to any
other information I want shown.  Luckily, in this particular case, I
will have knowledge beforehand based on the database data, as to which
Lots will already pre-exist on the SWF.
 
This is where I need to decide, which parts I should code within the
Flash 9 SWF, and which parts I should code within Flex.  If I had my
choice of course, I'd code everything 100% within Flex.  Bottom line, I
just want to code the bare minimum on the SWF side, so I can
programmatically control everything from within Flex.
 
Anyway, moving on, when the mouse hovers over a Lot, I need to have some
additional information popup - like a ToolTip.  I need the dimensions,
total square footage, and the customer information (if the Lot has been
sold).  In this case, I can just have a custom component popup, and
populate it with the corresponding information from my ArrayCollection.
 
I just need to find a way, that when the mouse hovers over a particular
Lot on the SWF, to signal Flex which Lot is being hovered over, so I can
grab the appropriate data from the ArrayCollection, and fill in all the
blanks.
 
So with all that said, is there any other methodology you would use, to
accomplish the tasks I mentioned?
 
I suppose I could forego creating 140 variables, and just create a new
one on the fly, each time the mouse hovers over a particular lot.  Then
I can grab the corresponding Child, and temporarily assign it to the
Variable - in order to gain access to it's properties and methods.
 
Thanks again for all your help -
 
Mike
 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Wicks
Sent: Wednesday, February 14, 2007 10:45 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can't we access MovieClips contained in
embedded SWF's?


Mike, 


what do the clips need to do?

Matt

On 14 Feb 2007, at 16:36, Mike Anderson wrote:


        Plat Overview of a subdivision 


 

Reply via email to