Thread View: pl.comp.lang.javascript
1 messages
1 total messages
Started by Dr. Koop
Wed, 25 Jan 2012 14:01
IE9 ExternalInterface Flash
Author: Dr. Koop
Date: Wed, 25 Jan 2012 14:01
Date: Wed, 25 Jan 2012 14:01
20 lines
1541 bytes
1541 bytes
Witam
Co może być powodem, że javascript pod IE9 nie widzi funkcji z flasha
ExternalInterface.addCallback("changeTextColor", changeTheTextColor);
ExternalInterface.addCallback("changeTextFont", changeTheTextFont);
mam takie 2 linijki we flashu i pod ff wszystko jest ok ale pod IE9 już
nie. IE9 wyświetla w alercie, że obiekt jest widziany
<script>
var flashObj = document.getElementById('flashObject');
if(typeof flashObj.changeTextColor== 'undefined')
flashObj = document.getElementById('flashObject2');
alert(flashObj); //widzi objekt
alert(flashObj.changeTextColor); //undefined
<script>
Pozdrawiam.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads