Is this going to be possible??

This is a discussion on "Is this going to be possible??" within the Flash & Multimedia Forum section. This forum, and the thread "Is this going to be possible?? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 8th, 2007, 13:15
Junior Member
Join Date: Apr 2007
Location: Market Harborough
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Is this going to be possible??

Hi

I'm using code in my first frame to position a mov containing 3 sections into the right place. Example of code;

Code:
btn2.onRelease = function() {
var club:Tween = new Tween(movs, "_x", Regular.easeOut, movs._x, -632, 1, true);
_root.movs.portfolio.gotoAndPlay("startport");
};
I then have a portfolio section which has external swfs loading into an empty container and then moving to the second frame. In the external swf I have a back button to get back to the portfolio screen with the following code;

Code:
on (release) {
import mx.transitions.Tween;
import mx.transitions.easing.*;
_root.container.unloadMovie("port-shimano-carp.swf");
_root.gotoAndStop("home");

var club:Tween = new Tween(movs, "_x", Regular.easeOut, movs._x, -632, 1, true);
_root.movs.portfolio.gotoAndPlay("startport");

}
Which unloads the movie, then goes back to frame 1. And thats it. Rather than then pushing the movie strip to the right position. Am I right in thinking that because its going to the first frame its then not reading the rest of the code?? If so, is there a way round this, and is it possible??

If it helps the files are downloadable from here;
http://www.fullfatdesigns.co.uk/files.zip

I'm still a bit new to actionscript, so any help would be greatly received.

Cheers
Wayne
Reply With Quote

  #2 (permalink)  
Old Jul 8th, 2007, 13:23
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: Is this going to be possible??

Do you have all of that action script on its own layer?


Yah, after reading this more thoroughly, yes, it's possible, I'm pretty sure, just keep all the button actions on its own layer.

Last edited by MrMadison; Jul 8th, 2007 at 13:26.
Reply With Quote
  #3 (permalink)  
Old Jul 8th, 2007, 13:27
Junior Member
Join Date: Apr 2007
Location: Market Harborough
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Is this going to be possible??

Yeah, the first bit of code is part of script on the top layer on frame 1. The second piece of code is on a button on an external swf.
Reply With Quote
  #4 (permalink)  
Old Jul 8th, 2007, 13:32
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: Is this going to be possible??

Well, I'm not the best at action script, so I can't help you there too much.
I'll try and take a look at the files a bit later on today, I'm on no sleep at the moment...
Reply With Quote
  #5 (permalink)  
Old Jul 8th, 2007, 13:38
Junior Member
Join Date: Apr 2007
Location: Market Harborough
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Is this going to be possible??

Great, thank you.
Reply With Quote
  #6 (permalink)  
Old Jul 8th, 2007, 21:14
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: Is this going to be possible??

What fonts are you using? They appeared blank when I opened the file.
Reply With Quote
  #7 (permalink)  
Old Jul 9th, 2007, 07:47
Junior Member
Join Date: Apr 2007
Location: Market Harborough
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Is this going to be possible??

Sorry for the late reply, couldn't log-in yesterday afternoon for some reason??

Eurostile is the main font. When you publish the file the first screen is blank until you press either 1, 2, 3. Is this what you meant??
Reply With Quote
  #8 (permalink)  
Old Jul 9th, 2007, 09:10
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: Is this going to be possible??

Nah, when I press 1, 2, or 3, i see no words or links at all. On one of the pages I see some images pop up but that's all. I'll look for this font...Cause I'm sure I don't have it...lol

Couldn't log in yesterday? huh...That's strange...
Reply With Quote
  #9 (permalink)  
Old Jul 9th, 2007, 17:46
Junior Member
Join Date: Apr 2007
Location: Market Harborough
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Is this going to be possible??

I've uploaded a new version,

http://www.fullfatdesigns.co.uk/files2.zip

with most of the texts broke apart, so you should be able to see the aeras needed. Hope this helps.
Reply With Quote
  #10 (permalink)  
Old Jul 9th, 2007, 18:39
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: Is this going to be possible??

Hah...ok,
Are you using CS3, cause I got the unexpected file format when I opened it in Flash 8 and I haven't quite gotten to CS3 yet...

Another thing, that is one cool effect. I really like it.


Concerning your problem, I actually only have a guess...because like I said before, I'm not exactly the best at action script...

Is your actual portfolio called or is already in the main file? If it and it calls that file with the "Back to Port..." button. The button in the external file will not affect the file thats calling it and it won't unload that movie and take you back to the first frame of the host file.
Reply With Quote
  #11 (permalink)  
Old Jul 9th, 2007, 19:18
Junior Member
Join Date: Apr 2007
Location: Market Harborough
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Is this going to be possible??

Yeah using cs3... forgot to back-save the last upload Here are flash 8 versions if you would still like to look? or anybody else?

http://www.fullfatdesigns.co.uk/files3.zip

The portfolio is loaded in externally into an empty movie clip on frame 2. The button works in that it unloads the movie, and goes back to frame 1. Its the moving the mov screen back to the portfolio section. Kinda hard to explain.

Also which effect did you like? The page flipping bit? If so, its a cheap component from http://page-flip.com

Thanks for your help
Reply With Quote
Reply

Tags
external swf, unload

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 22:36.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43