Check out FP8  Security. 

The best way is to test from server. If its Flash Security issue, while
running locally u need to trust all the files. So what I do is to always
check from server first and if issue is still there then investigate further


Hope this help

Neh


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil Glatz
Sent: Sunday, May 28, 2006 6:50 PM
To: [email protected]
Subject: [Flashcoders] geturl:javascript is causing images to not display
onIE

I've been experiencing an intermittent problem with a getURL call 
back to a javascript function on the page calling an SWF.

I'm using Flash 8, and testing on XP.  With Firefox, there is no 
issue.  With IE 6, I experience the problem about 80% of the 
time.  This issue is that I have my SWF in a div, with some divs 
below it containing some gif images.  When I flush the browser's 
cache, the images always display.  After subsequent page refreshes 
(F5), the images usually don't appear (but sometimes do).

I'm using the SWF to display some variable content, filling dynamic 
text fields from passed variables.  I can also select from a number 
of fonts via a passed var.  When the font changes, the div height 
needed to contain the stage changes.  I created an actionscript 
function that passes the new calculated height back to the page via a 
javascript call:

function resize() {
   if (allowResize == "true") {
     h = Math.ceil(pBody._y+pBody._height)+10;
     getURL("javascript:setFlashHeight('wrapper','"+h+"');");
   }
}

The HTML page has the javascript function setFlashHeight() that 
resizes the enclosing division for the SWF, via DOM.  Like I say, it 
all works fine with Firefox, and the HTML and CSS are both correct.

I first suspected a DOM issue, but I later discovered that if I added 
a return statement as the first line of the javascript function, the 
problem persisted.

If I comment out the getURL call in the actionscript, my disappearing 
image problem goes away.  So it appears to be a Flash issue of some 
sort, which I'm not understanding.

I've Googled around a bit and can't find anything remotely related to 
this problem.  I'm on a tight project deadline and am about to send 
$99 to Macromedia for a support call.  I thought I'd check with this 
wise group first to see if this rings any bells.  Is this some sort 
of known issue with Flash/IE?  Driving me nuts!

thanks, Phil

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to