Skip navigation
Sign in
0
Search forums only
Search forums only
Cancel
Adobe
Support Home
Forums Home
News
People
Product
Menu begins
Adobe Creative Cloud
Downloading, Installing, Setting Up
Adobe Experience Cloud
Adobe Flash Player
Acrobat Reader
Adobe Acrobat
Adobe Photoshop
Adobe Photoshop Lightroom
Adobe Photoshop Elements
Adobe Dreamweaver
Adobe Muse
Adobe Animate CC
Adobe Premiere Pro
Adobe After Effects
Adobe Illustrator
Adobe InDesign
View all communities
Explore
Menu begins
Meet the experts
Learn our products
Get inspired in the lounge
Read the blog
Error: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page.
Please enter a title.
You can not post a blank message. Please type your message and try again.
More discussions
in
ActionScript 1 and 2
All Communities
Adobe Animate CC - Home
ActionScript 1 and 2
3 Replies
Latest reply
on Jun 5, 2006 12:50 PM by Newsgroup_User
manipulating loaded movies
Newsgroup_User
Jun 5, 2006 11:09 AM
I have the following to load a movie into my root movie. There is more
to it, but for reasons of clarity, I left not relating parts out.
var mainC = this.createEmptyMovieClip("mainContent",
this.getNextHighestDepth());
//here I create the movieclip loader object which works fine.
movieloader_mclListener.onLoadInit = function(target:MovieClip):Void{
mainC.gotoAndPlay("open_home");
}
movieloader_mcl.loadClip("../flash/bazzani_02.swf",mainC);
What does not work is the mainC.gotoAndPlay("open_home"); part. In the
testing environment it works good, but as soon as the flash file is
embedded in the html file it no longer works.
Any ideas why this would be?
Thank you for any help!
Brian
This content has been marked as final.
Show 3 replies
1.
Re: manipulating loaded movies
2m
Jun 5, 2006 11:51 AM
(
in response to Newsgroup_User
)
onLoadIntit executes when the first frame of a clip is loaded, so it might just be to early to execute a goto action
2.
Re: manipulating loaded movies
albee
Jun 5, 2006 12:06 PM
(
in response to Newsgroup_User
)
2m makes an excellent point. Try:
movieloader_mclListener.onLoadComplete = function(target:MovieClip) {
mainC.gotoAndPlay("open_home");
};
3.
Re: manipulating loaded movies
Newsgroup_User
Jun 5, 2006 12:50 PM
(
in response to Newsgroup_User
)
Pretty weird, I changed it to the onLoadComplete and it still was not
working in DW. Then I uploaded all the files and now it works... I am
confused.
Any idea why that could be?
Actions
More Like This
Retrieving data ...