This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > April 2006 > How is this done ? flash site question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How is this done ? flash site question
|
|
| simey70 2006-04-25, 6:37 am |
| Hello, im designing a site with flash, and i want text to be on the edges of
the page,to act as a fancy border, similar to the site here (click on the
link). http://www.lebook.com/connections/flash.htm
I want to kno whow this was done , not the actual tweens etc, i can do that,
but th setup of the page so that no matter what resolution or size of screen,
the border text is still on the edge of the screen so you only see half of it.
I was thinking this is a stage size issue? mine was set to 800x600, but when i
tested my movie, it did not have same effect as the site above. Maybe its
publish settings for html ? ? ?
| |
| Stelios Jijikakis 2006-04-25, 6:42 pm |
| Hi,
have a look at the Stage class in the flash help
Stage.onResize
Stage.width
Stage.height
let me know for me details or example
thanks
Stelios
"simey70" <webforumsuser@macromedia.com> wrote in message
news:e2kmlm$539$1@forums.macromedia.com...
> Hello, im designing a site with flash, and i want text to be on the edges
of
> the page,to act as a fancy border, similar to the site here (click on the
> link). http://www.lebook.com/connections/flash.htm
>
> I want to kno whow this was done , not the actual tweens etc, i can do
that,
> but th setup of the page so that no matter what resolution or size of
screen,
> the border text is still on the edge of the screen so you only see half of
it.
>
> I was thinking this is a stage size issue? mine was set to 800x600, but
when i
> tested my movie, it did not have same effect as the site above. Maybe its
> publish settings for html ? ? ?
>
>
>
>
| |
| simey70 2006-04-25, 6:42 pm |
| Hi Stelios,
any chance i could get details of this, or an example? ive not yet looked at the help file (at work just now), but acion script is very new to me.
hope you can help,
thanks
| |
| Stelios Jijikakis 2006-04-25, 6:42 pm |
| I created an example for you
download it from :
http://www.initcode.com/StageClass.zip
and feel free to email me if you need more details
(my email is in the .fla)
thanks
stelios
"simey70" <webforumsuser@macromedia.com> wrote in message
news:e2lbiv$28r$1@forums.macromedia.com...
> Hi Stelios,
>
> any chance i could get details of this, or an example? ive not yet looked
at the help file (at work just now), but acion script is very new to me.
>
> hope you can help,
>
> thanks
| |
|
| This is a question for simey70....or anyone else that can help me.
You said that you know how to create the effects on
http://www.lebook.com/connections/flsh.htm . I was wanting to create the
background effect used at http://www.dispatchmusic.com/ , which is very close
to what is on the webpage that you linked to. I know how to make things slide
up and down, but i have no idea how to make them rotate. How do you do this.
Thanks in advance.
| |
| simey70 2006-04-26, 3:35 am |
| mgum, Yo dude,
To make things rotate is easy as pie.
All you have to do, is first create you motion tween, remember to adjust the
pivot point (maybe called registration point) - the pivot point is wher your
tween rotates round, the defauls the centre of your movie, marked by a small
circle.
Then click on the first frame of your tween, and under properties, you will
find and option called "roate" , where you have 2 options i think in the drop
down list - CW, clock wise, CCW - counter clock wise, ther emaybe one more but
cant remember. You can adjust the starting and ending speed of the rotaion with
the "Ease" option, play about with till you get the desired effect.
hope that helps !!
Simey. :cool;
| |
|
| I feel very stupid for not realizing that is all you do. I guess that i should
have been more speceific in my request. Now that i realize how easy it is to
rotate it. What i dont know how to do is makeing it so that when you click on
the links it rotates straight to a speceific point, without running through
every other position. Let me know if you need more info.
Thanks for the very fast response!!!
| |
| simey70 2006-04-26, 6:43 pm |
| Yo Yo Yo !!!
When you click on a link (or button), it should point to a marker in the time
line. What you need to do is create a new layer in the timeline, and call it
lables, or something like that. At the start of each rotation, presuming you
have more than 1, on the lables layer, create a key free on the same frame as
the start of your rotaion, then with that keyframe highlighted, in properties,
name that keyframe, eg rotate_1 - it will be marked with a flag, and the
keyframe name. Now once you have done that, you can add actiosn to the button,
by click on the button, and opening up the actions box.
i cant remember the action script fromt he top of my head (i aint a good
coder!!) but its something like:
goToAndPlay("rotate_1);
you should be abke to find the action script in here somwhere, unless you know
it already??
Im at work now, but il post the proper code when i get home, in about 1 1/2
hours
peace out.
| |
|
| Thanks for the response. I tried what you said to do. It works, but there is
the one problem that i do not know how to fix. It works great if you click the
buttons in order, but when you skip one it jumps and it is not a smooth
transiton. Here is the file that i tried to do it with:
http://www.box.net/public/crccmbf92p . You should be able to download it from
there (for some reason it tries to open it in word so you may have to tell it
to open in flash.) Thanks for all of the help.
| |
| simey70 2006-04-26, 6:43 pm |
| Im afraid i cant d,load that, as i need to sign up for it.
I understand your problem though.
In order to make smooth transitions, you are going to have to create a tween,
or rotaion for each possible scenario that the user may encounter. So, here is
an exemple, say your flash movie has 4 differant pages:
home page
about page
services page
contact page
You have to accomodate for the user wanbting to go, for example, from the
home page to the contact page, from the home page top the about page, etc etc
etc so, in total , there would be 3 differant transitions for each button, 12
tweens in total.
I takes a bit of work to do, but you have already done the first part, you
just need to repeat that times the amount of pages you have.
hope that is clear for you ? ?? ?
| |
|
| Sorry about that...i did not realize that you had to login to view the file.
I understand how to do it now. Than you very much for your help. I thought
about that before but wondered if there was an easier way to do it.
This is another idea that i had. I know how to make a flash movie play in
reverse and forward. Is there a way to tell it to play in reverse till the
current frame = a speceific frame? Do you understand what im asking?
Thanks.
| |
|
| mgum skrev:
> I feel very stupid for not realizing that is all you do. I guess that i should
> have been more speceific in my request. Now that i realize how easy it is to
> rotate it. What i dont know how to do is makeing it so that when you click on
> the links it rotates straight to a speceific point, without running through
> every other position. Let me know if you need more info.
> Thanks for the very fast response!!!
>
I suggest you rotate with a simple actionscript instead:
onClipEvent (enterFrame) {
i = getProperty(this,_rotation);
setProperty(this,_rotation,i + 1);
}
paste this into the movie clip action instead of making a
tween. The rotation goes much smoother.
The "+ 1" is the speed to rotate, -1 rotates ccw.
Ralph
| |
| simey70 2006-04-26, 6:43 pm |
| yes, im sure there is, i know you can control time the ime line, and tell flash
to go to specific frames on the time line, but im not sur eho to do that,
beyond my capabilities ! try the action scrpit forum
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|