it still works fine - same as always.
On May 30, 2006, at 8:58 AM, Christian wrote:
I was under the impression that getURL(javascript:) no longer
worked in Flash 8. Is this incorrect?
Geoff Stearns wrote:
are you making the js call before the page is done loading?
the browser might be treating is as an anchor click and stop
loading the remaining items on the page (this is normal browser
behavior)
since you are using Flash 8, why not use ExternalInterface to make
the call? in IE that will have the player use fscommand
(basically) and i think your images will stop dissapearing. (or
failing to load as the case may be)
On May 28, 2006, at 9:50 PM, Phil Glatz wrote:
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
_______________________________________________
[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