Flash Question?
- Started
- Last post
- 27 Responses
- setsolid0
fate: if you are using 2004mx try:
this.createEmptyMovieClip("image... this.getNextHighestDepth());
var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip) {
target_mc._x = Stage.width/2-target_mc._width/2...
target_mc._y = Stage.height/2-target_mc._width...
var w:Number = target_mc._width;
var h:Number = target_mc._height;
target_mc.lineStyle(4, 0x000000);
target_mc.moveTo(0, 0);
target_mc.lineTo(w, 0);
target_mc.lineTo(w, h);
target_mc.lineTo(0, h);
target_mc.lineTo(0, 0);
target_mc._rotation = 3;
};
var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclListene...
image_mcl.loadClip("teragee.jpg... image_mc);
- setsolid0
Mr cucumbrrr answer that in the first post :) he also gave you a link :)
- version30
its impossible, seriously...
http://pixeltwins.com/loadview/
http://pixeltwins.com/content/ve…and isn't this thread a repeat of one from 4 days ago?
- fate_redux0
its possible, seriously...
http://www.fatedesigns.com/prelo…
The problem was that in Safari/Firefox, getBytesTotal and getBytesLoaded both equal zero before any chance to move the bar forward, meaning the loop terminates before it gets going. The new FLA should work for all.
- unfittoprint0
use a boolean equation to alow the bar to move only if getBytesLoaded > 10.
u can make an easing equation for the slide bar to move more "graciously".
a trigger function can be added to the loadcheck function as a parameter. It can fade the image's _alpha to 100 for example when loaded is completed.
- fate_redux0
unfit, that's what I did, except getBytesLoaded >3.