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!

Alert Component + Multi Level Flash App 1

Status
Not open for further replies.

HomeAway

Programmer
Jun 6, 2003
36
0
0
AE
Hi Experts,

Im having a nightmare with trying to display an alert window in my flash movie. It works if the parent of the alert is the same movie. However as soon as i call that same swf from a different swf using the loadMovie method i can no longer see the alert window.

As you can see this is how i call the actionscript.
if i trace(this) in the "child" swf [one that contain the alert] is get _level0.mc_clip.content , where mc_clip is the movie clip symbol i use.

mx.managers.PopUpManager.createPopUp(_root0,mx.containers.Window,true, {contentPath:"login", closeButton:true, title:" vpfm.Net Status", _x:x, _y:y});

Any ideas ?
 
Are both movies published for Flash player 7 and Actionscript 2?

Wow JT that almost looked like you knew what you were doing!
 
Add the Alert component to the library of the parent movie (drag to stage and delete) and see if it works then.

Also you might try changing _root0 to this.



Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top