you are doing it correctly and since you are using swfobject
i'll tell you
how I would skin this cat.
I would create a variable on my menu swf and call it
menuDepth (or similar)
then you can use an if statement or a case statement to
determine the
variable, then i would call me xlm such as
if menuDepth == 1
then
load xml
else if menuDepth == 2
load ../xml
else if menuDepth == 3
load ../../xml
and.. you get the idea
then with swobject I would pass the menuDepth variable to me
flash movie...
again, many ways to skin this naked cat and this is how I
would skin it
...helmut
On 3/19/07, Thuy <tnguyen angusjournal.com>
wrote:
>
> Sorry, I don't think I made myself quite clear. I built
an XML-driven
> flash menu, and in my actions layer I call in menu.xml.
My flash menu
> is embedded into the web pages using swfobject.
Currently I call in the
> XML file with menu_xml.load("menu.xml");
>
> In my actions layer I know I can call in the XML file
by doing
> menu_xml.load("http://w
ww.mywebsite.com/swfs/menu.xml");
> but this isn't ideal because I have a test site I put
everything on
> first, so I'd be stuck changing the URL in the .fla
every time. (helmut
> that is what I meant by doing the work twice - I would
have to
> constantly switch the URL back and forth).
>
> Am I approaching this wrong?
>
> Thuy Nguyen
> Web Designer
> Angus Journal
> 816.383.5228
>
> >
> _______________________________________________
> Flashnewbie chattyfig.figleaf.com
> To change your subscription options or search the
archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashnewb
ie
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.c
om
>
_______________________________________________
Flashnewbie chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashnewb
ie
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om
|