• 0

Flex/Flasg App not initialized on some browsers?


Question

I was wondering if anyone could help me with this problem.

Not really sure what happened but I've got 2 different PC not running my flex app.

The app is the simplest one (just display Alert on initialization). Therefore on some of the browsers the flex app does not run init() function.

What is strange if I check in JavaScript for the object - it does exists (returns [object HTMLObjectElement] with the proper id). So it is there, loaded but did not run init() ... what am I missing?

1st PC: Win7 64bit

works: Opera 10.61 (flash: 10.1.82.76)

works: FF 3.6.8 (flash: 10.1.82.76)

doesn't work: IE 8 (flash: (flash: 10.1.82.76)

doesn't work: Chrome 5.0.375.127 (flash: 10.1.82.76)

2nd PC: Ubuntu 9.10 64bit

works: Chrome 6.0.472.36 beta (flash 10.0.r32)

works: Opera 10.61 (flash: 10.1.82.76)

doesn't work: FF 3.6.8 (flash: 10.0.32.18)

flex app code:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundAlpha="0" initialize="init()">
<mx:Script>
  <![CDATA[
    import mx.controls.Alert;
    public function init():void { 
      Alert.show("1");
    }
</mx:Script>
</mx:Application>

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.