LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




ReplyREPLY THREAD
 
Thread Tools Display Modes
  #1  
Old 09-01-2006, 08:49 PM
finn_martin finn_martin is offline
Registered User
 
Join Date: Sep 2006
Posts: 8
Rep Power: 0
finn_martin is on a distinguished road
playing external movies while the main application still open

Hi there!
Again help please..I have Main application and i have
(7) external swf movies to be linked to the main application,
I have assigned each button for this movies,
but i need to play this external movies in separate windows
from the main application [playing external movies while the main application still open]
then anytime I can quit the external movies without closing the main application.
I try code:
Actionscript:
on (release) {
//load Movie Behavior
if(this.contents == Number(this.contents)){
loadMovieNum("DB.swf",this.contents);
} else {
this.contents.loadMovie("DB.swf");
}
//End Behavior
 
}
But when I close DB.swf the main application is close also..
Please help how should i code to not close the main
application if i quit the external movie.
Thank you...
finn_martin

Last edited by Scottae : 09-01-2006 at 08:58 PM Reason: Format with AS tags
Reply With Quote
  #2  
Old 09-02-2006, 04:25 AM
saumya's Avatar
saumya saumya is offline
Super Moderator
 
Join Date: Oct 2004
Location: India
Posts: 2,214
Rep Power: 11
saumya is on a distinguished road
do you really want your external movie to be in a new window ? or you just want it to be inside the same movie ?
if you want it to play inside main movie, then while loading your movie into your main movie using loadmoive, have a close button in a difeerent layer, which will unload the external movie only.
But if you want it in different window then use getURL and you will get a seperate window playing your swf that is not connected to your main movie.You can close that anytime without affecting your main movie.
__________________
www.saumyaray.com
Reply With Quote
  #3  
Old 09-02-2006, 07:03 AM
finn_martin finn_martin is offline
Registered User
 
Join Date: Sep 2006
Posts: 8
Rep Power: 0
finn_martin is on a distinguished road
Hello saumya,

Thank you for your reply..

Im sorry, Yes...I want to play the movie inside main application, but in fullscreen, i have assign exit button from DB.swf and put a code as:
Actionscript:
on (release) {
   fscommand("quit");
}
But when i test my movie, and press the exit button from DB.swf to close it, the main application close also.

I try the GetUrl command but it's not the way i want to play, because it plays on Internet Explorer window...

Is there any suggestion? I will highly appreciate...

Thnak you very much..

finn_martin

Last edited by saumya : 09-02-2006 at 06:26 PM
Reply With Quote
  #4  
Old 09-02-2006, 02:11 PM
Scottae's Avatar
Scottae Scottae is offline
God Moderator
 
Join Date: Oct 2003
Location: United States
Posts: 6,532
Rep Power: 16
Scottae is on a distinguished road
To get rid of loaded movies, you use either unloadMovie or removeMovieClip
__________________
Our greatest glory is not in never falling but in rising everytime we fall. - Confucius

Blog | Shared Items
Reply With Quote
  #5  
Old 09-02-2006, 06:29 PM
saumya's Avatar
saumya saumya is offline
Super Moderator
 
Join Date: Oct 2004
Location: India
Posts: 2,214
Rep Power: 11
saumya is on a distinguished road
hi finn_martin,
fscommand will close your flash player as expected.But you just want your loaded movie to close.So, the way you load it with loadMovie() , there is a similar way to unload it by unloadMovie.It simply unloads your loaded movie.
__________________
www.saumyaray.com
Reply With Quote
  #6  
Old 09-04-2006, 07:40 AM
finn_martin finn_martin is offline
Registered User
 
Join Date: Sep 2006
Posts: 8
Rep Power: 0
finn_martin is on a distinguished road
Hello,

thanks Scottae,
thanks Saumya,

Thank you very much for the help... EXACTLY..!!its works!! =))

..somehow, I am reading how to use windows component to achieve same result but in [PopUP Window] to play external movies, within my main application and at the same time the window can be resize, Can't configure so far..

any advice?

Thanks in advance...

finn_martin
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
after external movie finish playing jump to a frame in the main time line QBA ActionScript 3.0 0 08-08-2008 03:59 PM
playing multiple movies in a main movie assadnazar Flash MX 0 10-03-2006 10:36 AM
Linking External Movies (Daisy Chaining files within the main movie) roa123 Flash MX ActionScript 5 09-15-2004 10:58 AM
Resolved: preloading external swf's on the main timeline smelsco Flash MX 1 03-23-2004 06:25 PM
problem with _root while loading external movies drewbie Flash MX ActionScript 2 03-27-2003 07:53 PM




All times are GMT. The time now is 12:00 AM.