Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading a scrollpane from a MM_tree_menu

Status
Not open for further replies.

gcarolan

Programmer
Jun 18, 2002
36
0
0
IE
Hi

I have a .html page created in flash with a banner, a MM_tree_menu and a scrollpane. I can load the scrollpane with a .swf on startup however when I click an option on the MM_tree_menu I want to change the .swf in the scrollpane.
At the moment when I click an option a new browser page opens with the new .swf

Any help would be appreciated.

Regards
gcarolan
 
I'm new to this but this is what I have.

On startup I load the .swf with

display.loadScrollContent("box.swf");

display being the scrollpanes name

On clicking on the menu the link is got from a .xml file

</MAIN>
<SUBS>
<SUB URL=&quot;Directors.swf&quot; target=&quot;display&quot;>
<TEXT>Company</TEXT>

The target is display but this gives me a new browser page with my .swf

Does that make any sense or am I way off
Thanks for your interest
gcarolan
 
are the menu and the scrollpane in the same swf ? thats the first thing.

i take it you have the xml parsing correctly and the menu display is as it should be ?

you need a changehandler for the component.

this will all be much easier if you can post or email your fla.

its easy to do but at the moment i cant tell what you have/havent done
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top