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:21:16 pm
Ok... apparently I'm a lot more lost in Flash than I thought. I am not classically trained and have only had the time to teach my self through templates because the small businesses I worked for promised the clients magic and I had to figure out how to do this stuff on my own.
So the template I purchased uses Action script 2 instead of AS3? I have the as3 highlighted when I look at actions.
I understand your code to load my .swf (thanks for explaining what it does) but I'm afraid I may need it broken down a tad more. I import my .swf file into the library and then place it on the stage where I want it and apply this code to..........? I guess I'm just confused about where all the code goes to make not only this loader .swf file play, but also have the other (Artist Bio) window pop up...all when the artist's name is clicked on page one. Do I put it in that button's code which right now looks 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");
}
Or do I somehow make the .swf a movie clip and attach it to that..... I'm just lost in that regard.
Thanks for helping a flash amateur by the way. I really need to finish this project to move on to less time consuming ones and this has frustrated me like mad.
As for my second question.....
I'm not sure what you mean by giving the button an instance name and placing the code in the main timeline. Where in the "main timeline" do I put it? I only know how to place an action on the button once it's created. I played around with this one a bit because it already had the roll over and release function for the other two "terms of use" and "privacy policy" buttons down there, so I figured it'd be easy to get that button to have the same functionality but direct it to an outside url. This is the other's function code:
on (release) {
_root.popup_pressed=1;
_root.scrHEIGHT=240
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "PRIVACY POLICY";
_root.READ = 19;
_root.scroller.gotoAndPlay("s1");
}
on (rollOver) {
gotoAndPlay("s1");
}
on (rollOut, releaseOutside) {
gotoAndPlay("s2");
}
So if you could break your explanation down just a bit, I'm sure I could understand what you mean. Or is there a way to easily do this from this button's action instead?
I apologize that I'm still new at this and being self taught (with little time to teach myself) is definitely working against me with understanding flash code. I am working on the .php form right now as well, as I can only get it to let me type in a few letters and not the rest for some reason. Hmmmm...... can't wait to be done with this thing to say the least! :) Thanks again, ahead of time for your response.
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
]