SIGN IN
::
SPONSORS
::
ADVERTISING
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
STOCKYARD
VIDEOS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE FLASH:
Home
Flash Forum
Flash Tutorials
Flash Video Tutorials
Web Streaming Forum
Adobe Flash
Podcast
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
COW Forums
:
Adobe Flash
FAQ
•
VIEW ALL
•
ADD A NEW POST
•
PRINT
Respond to this post
•
Return to posts index
•
Read entire thread
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
by
Laura Floersch
on Oct 20, 2011 at 7:31:40 pm
I get these compiler errors when I put the code I made from your explanation into the button action like this:
on (rollOver) {
gotoAndPlay("s1");
}
on (rollOut, releaseOutside) {
gotoAndPlay("s2");
}
on (release) {
_root.popup_pressed=1;
_root.scrHEIGHT=240
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Artist Biography";
_root.READ = 7;
_root.scroller.gotoAndPlay("s1");
}
var myLoader:Loader = new Loader();
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, showMySWF);
function showMySWF(e:Event):void {
addChild(myLoader);
myLoader.x=100;
myLoader.y=150;
myLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, showMySWF);
}
myLoader.load(new URLRequest( "Hollywood.swf" ));
These errors appear:
Symbol=p1, layer=Layer 1, frame=1, Line 18 The class or interface 'Loader' could not be loaded.
Symbol=p1, layer=Layer 1, frame=1, Line 20 Statement must appear within on/onClipEvent handler
Symbol=p1, layer=Layer 1, frame=1, Line 21 The class or interface 'Event' could not be loaded.
Symbol=p1, layer=Layer 1, frame=1, Line 28 Statement must appear within on/onClipEvent handler
So I'm guessing I'm DEFINITELY not doing this right. Wow, this code is killing me. Hahaha....I think it's time for a flipping margarita.
Posts Index
Read Thread
Reply
Like
Current Message Thread:
Importing an interactive .swf file into a full flash site
by Laura Floersch on Oct 14, 2011 at 5:45:12 pm
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
by demetri tashie on Oct 18, 2011 at 4:59:33 pm
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
by Laura Floersch on Oct 20, 2011 at 7:21:16 pm
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
by demetri tashie on Oct 20, 2011 at 8:36:01 pm
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
by Laura Floersch on Oct 21, 2011 at 4:10:18 pm
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
by Laura Floersch on Oct 20, 2011 at 7:31:40 pm
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
by demetri tashie on Oct 20, 2011 at 8:39:29 pm
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
by Laura Floersch on Oct 21, 2011 at 3:55:49 pm
Re: Importing an interactive .swf file into a full flash site ( AS3 answer)
by demetri tashie on Oct 22, 2011 at 12:45:24 am
LOGIN TO REPLY
FORUMS
•
TUTORIALS
•
MAGAZINE
•
STOCKYARD
•
VIDEOS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
© 2013
CreativeCOW.net
All rights are reserved. -
Privacy Policy
[
Top
]