flash/action script
- Started
- Last post
- 8 Responses
- amullins0
it's difficult to help with coding issues on here - the above code is @ http://www.niftynewsite.com/sand…
- amullins0
something like this...
var blank_mc:MovieClip = new MovieClip();
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEven... onLoaderInit);
blank_mc.addChild( loader );
function onLoaderInit( e:Event ):void
{
var _loader:Loader = e.target.loader;
blank_mc.x = (this.stage.stageWidth-blank_mcw...
}
this.addChild(blank_mc);- loader.contentLoader... Event.INIT, onLoaderInit );
amullins
- loader.contentLoader... Event.INIT, onLoaderInit );
- tasty0
center dynamic content on a blank movie clip?
i have my images loading to an blank movie clip.
but it's loading the images to 0,0 coordinate. Not all the files are the same size is there a way to center the dynamic content?
- tasty0
thanks guys, i'm going to work on this tonight
- elee0
here's a decent tutorial for fscommand, make sure you have your embed parameters right
- maximillion_0
check out the Tween class
- i think he means calling the JS function not replicating the effect in flashgraham
- tasty
was working on my site last night and i came up with something i'd like to achieve, i'm on the right path but i'm having trouble calling the javascript to do it.
This link contains a sample of the Javascript to fade my DIV
http://www.netlobo.com/media/exa…this is the actual script
http://www.netlobo.com/media/exa…and this is the line of code to do it for a button in HTML
<a href="javascript:NLBfadeBg('div1','#FF0000','#FFFFFF','10000');">Fade DIV</a>::::SO MY QUESTION IS:::::
how can i translate that to flash to apply on release?
right now i have:
on(release) {getURL:javascript:NLBfadeBg('di...
}