| Author |
Flash background - see example here...
|
|
| adogis 2005-03-28, 6:37 pm |
| :confused;
http://www.bbs-net.com/index_e.html
Help would be appreciated, maybe i'm thick but how see the example above.
How have they managed to get a flash move ia s background. When you scale the
browser window down in size the top left navigation and bottom right content
areas overlap, bonkers!!!!...
Is it DIVS or CSS or neither?
Please help, cheers!
A
| |
| jhildo 2005-04-22, 7:39 pm |
| i've been trying to figure out how to do this as well. Any chance you can give a step by step tutorial on how to accomplish this design effect?
thx
| |
| tralfaz 2005-04-23, 4:26 am |
| "jhildo" <webforumsuser@macromedia.com> wrote in message
news:d4bcv3$4oj$1@forums.macromedia.com...
> i've been trying to figure out how to do this as well. Any chance
> you can give a step by step tutorial on how to accomplish this
> design effect?
>
> thx
I have made an example here for you to look at.
http://members.cox.net/4my5cats/noS...ageResize2.html
Flash MX sourcecode is there (not MX2004)
Briefly, there are two scaling options.. Stage.scaleMode = "noScale"
and Stage.scaleMode = "Scale"
When it is set to noScale, all the Flash pieces stay the same size
when you resize the browser window. In the example that was posted,
the menus stay the same size but the background image resizes to fit
the window. To do that, we use noScale mode and then resize the
background image with code. Every time the browser window is re-sized
we have to re-scale the background image to fit the new size and then
reposition the menus to fit the changed page size.
I used a lot of comments in the ActionScript.
NOTES:
1) To read the values for Stage.width and height, you must use a
preloader to wait for the completion of loading before reading those
values.
2) You have to have scaleMode turned off to get the browser window
size. If you have it on, the size reported is just the Flash stage
size as set in the properties menu.
good luck,
tralfaz
| |
| Flash_Dummy 2005-04-24, 3:47 pm |
| hmm..
adogis.. do i understand this right: you are trying to make those navigation and content NOT to overlap each other when resizing the browser window? if so then tralfaz has written some totally UNuseful stuff!
send an answer on this.. i've never done something like this.. BUT! there is something similar i've made for a couple of months ago.. in easy words i had two draggable rectangles in the movie and when you dragged on of them you couldn't overlap the other.. if this is what you want (or something like that) then we could figure this out..
cheers | |
| jhildo 2005-04-24, 11:58 pm |
| i've been trying to figure out how to do this as well. Any chance you can give a step by step tutorial on how to accomplish this design effect?
thx
| |
| adogis 2005-04-29, 7:24 am |
| Hi many thanks again for the flash example and code, your help is greatly appreciated!!
....sorry about the late reply...
Amo
:D
| |
| jhildo 2005-04-29, 11:15 pm |
| Wow. Thanks a million.
| |
| jhildo 2005-05-02, 4:22 am |
| Wow. Thanks a million.
| |
| P.Nadhani 2005-05-20, 4:18 am |
| 1) To read the values for Stage.width and height, you must use a preloader to
wait for the completion of loading before reading those values.
Is it true - Isn't there any way to read them before? As I need to set the
preloader in the center of the screen.
Pallav
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |