
Welcome Guest
|
|
|
#1
|
|||
|
|||
|
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
}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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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");
}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 |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
|||
|
|||
|
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 |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |






