Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
PeterLev #1
Positioning objects(movie clips)!?
sorry for clumsy english..
This is site: [url]http://www.nevcos.ru/promo/vorsinka/[/url]. Anybody know about method
align object(bear, 1000, jacket, gloves and child)?
How i can make positions objects in flash relatively width of browser.
For instance, if we modify width, objects in flash displace relatively width.
One more site: [url]http://www.nokia.ru/lifestyle/winteraction/[/url] (elevator move with
right side of flash, on the separate layer)
anybody know?
Thanks..
PeterLev Guest
-
Movie clips
Need help with something. When using the Actions to show a movie when hitting a button I want to show a movie stopping at the end and you have... -
Movie clips loading
Hello I am having a problem with levels when loading a movie clip. Is there anyway to on clip event it cks to see if a movie is on loaded on a... -
Referencing Movie Clips / Objects
I have a form composed of Movie Clips of type Input Text which all have a unique instance name. I want to be able to call each of those input... -
Loading Movie Clips into other movie Clips
I know I have done this before (or at least something like unto it) but can't find a clear explanation of how to or if it can be done: I have an... -
Question regarding controlling and/or loading and unloading external movie clips based on objects _y position.. please HELP!
Here is the situation... Look here http://www.worthyconcepts.com/Version2/Bars1.html I am loading multiple external movies (right now only... -
kglad #2
Re: Positioning objects(movie clips)!?
your first reference just uses a restricted startDrag() funcion. for example,
attached to the objects hanging on the line:
on(press){
this.startDrag(0,0,this._y,stage.width,this._y);
}
on(release){
this.stopDrag();
}
kglad Guest
-
dpatters8 #3
Re: Positioning objects(movie clips)!?
Resizing the movies based on the browser width can be a bit tricky, but I'll
try to explain it.
First you must setup your flash movie to handle this. Then you need to set
your movie to play at 100%. You do this in the HTML that calls your movie.
// This aligns your stage to the top left
Stage.align = 'tl';
// This sets the flash movie so that it doesn't scale the contents but instead
just increases your stage size
Stage.scaleMode = 'noscale';
// Create a stage Listener Object that listens for changes in the stages size
var stageListener:Object = new Object();
stageListener.onResize = function() {
// Put you resize code here
}
// Assign the listener to the stage
Stage.addListener(stageListener);
Hopefully this helps.
Thanks,
Danny Patterson
dpatters8 Guest



Reply With Quote

