flash question! help!
- Started
- Last post
- 19 Responses
- factoryxii
hi! im new to flash! i was wondering how to make a site in flash with gradient full background and the scroll bar!!
something like this
http://www.anovadesign.com/this is the website im working on
http://www.felel.com/showcase/we…i want to make full gradient background..any suggestion?
any good book for flash?
- e-pill0
try implimenting this:
FACE
http://kurafire.net/projects/fac…A way to easily bring life and interactivity to websites without having to use Flash. Completely accessible, with easy plug-and-play implementation.
- onewhoslaps0
another.
i've seen a thread similiar to this. some searching would prob find it.
- e-pill0
joshua davis gave you this-
http://flashtothecore.praystatio…
- factoryxii0
i just want the full gradient backgound and the scroll bar..?
- UndoUndo0
check out the stage class and embedding yr movie at 100% width and height. http://www.gotoandlearn.com will have tuts to show you how to do this.
tip: make yr gradient in flash so it keeps the quality when its scaled
- nearestexit0
here's the syntax for creating a dynamic gradient fill:
path.beginGradientFill (type, colors, alphas, ratios, matrxi)
you have to first have an empty movie clip on the stage to use this...easy way to do this is by using: _root.createEmptyMovieClip("blan... 1);
make sense at all?
- caseyc0
You don't necessarily need a movieclip to fill, here is some code that will draw and maintain a gradient fill as a background...
- factoryxii0
sorry..but,where do i paste those code?
- restlessdesign0
um no offense dude, but...if you don't even know where to put the actionscript, maybe you shouldn't be doing actionscript...
- plyzo0
Paste it on the first frame using your actions panel.
Simple.
Nice Casey...
- jarredbishop0
this guy has some good scrollbar code.
http://pedromoraes.laboratorio.u…
( goto experiments & code then AS2 )
- factoryxii0
thank you so much guys!!
that gradient code..i love it..
i set my background really huge..like 1800px x 950px
- caseyc0
Glad you liked, I had a few free minutes to do the scrollbar...
Get the AS1 "class" here:
http://pastebin.coconut.se/?id=4…And here is a snippet on how to use it:
http://pastebin.coconut.se/?id=4…Just paste it all on the first frame in the actions panel and change movieclip instance names to match your setup.
Cheers,
- factoryxii0
thank you so much caseyc!!!!
its nice..im trying to figure out the scroll bar now!!thx again :)
- factoryxii0
i use
Stage.align = "LT";
Stage.scaleMode = "noScale";and set my background 1700x1100 with gradient! i type
alos set width and height 100%
.. when i view it on a pc there is scroll bar..!! there is no scroll bar on mac....
- factoryxii0
i type
< param name=scale value=noscale / >
- graviti0
You don't need to use a Flash Scrollbar if you don't want to...
- caseyc0
Yes, I would agree with using the browser scrollbar. If it we're my site I would...
And the javascript/css setting the swf height to allow scrolling has been around for years, it's funny that the "flashinsider" site is posting about it being a new thing in July...
It's as simple as:
http://pastebin.com/778050