ThomasJSmart
Programmer
- Sep 16, 2002
- 634
I thought flash was browser independent.. apparantly not.
i have a flash movie that works fine in ie 6, ie7, ff apple but not in ff windows.
all browsers have flash player v9. movie is made in v8.
its placed like this (i made the style inline instead of css for easy viewing):
The flash code (shortend somewhat):
the problem in windows firefox is that the alignment is wrong with the buttons and textfields inside the MC thats loaded from the library.
graphically/visually they are all in the right location, but my mouse says that they are 50 pixels or so lower... i.e. if i move the mouse onto where i visually see the button nothing happens, if i move the mouse down the cursor changes to the hand indicating i can activate the button.
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
i have a flash movie that works fine in ie 6, ie7, ff apple but not in ff windows.
all browsers have flash player v9. movie is made in v8.
its placed like this (i made the style inline instead of css for easy viewing):
Code:
<div style="position:absolute;width:100%; height:100%;overflow:hidden;left:-8px; top:-8px;z-index:100;">
<div style="position:relative">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"[/URL] width="1280" height="1000">
<param name="movie" value="sticky.swf?admin_id=3" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="sticky.swf?admin_id=3" quality="high" wmode="transparent" pluginspage="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL] type="application/x-shockwave-flash" width="1280" height="1000"></embed>
</object>
</div>
</div>
The flash code (shortend somewhat):
Code:
var DBinteract:LoadVars = new LoadVars();
DBinteract.sendAndLoad("sticky.php", DBinteract, "POST");
DBinteract.onLoad = function(){
for(n=0;n<DBinteract.total;n++){
thisId = eval("DBinteract.id"+n);
thisX = eval("DBinteract.x"+n);
thisY = eval("DBinteract.y"+n);
thisInfo = eval("DBinteract.info"+n);
mcObj = attachMovie("stickyMC","stickyMC"+thisId,thisId);
mcObj._x = thisX;
mcObj._y = thisY;
mcObj.sticky_info = thisInfo;
}
}
the problem in windows firefox is that the alignment is wrong with the buttons and textfields inside the MC thats loaded from the library.
graphically/visually they are all in the right location, but my mouse says that they are 50 pixels or so lower... i.e. if i move the mouse onto where i visually see the button nothing happens, if i move the mouse down the cursor changes to the hand indicating i can activate the button.
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!