Got this to work for me on Beta3

here's the url...
http://esria.com/tests/urlLoader/loaderTest.html

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="go()">
<mx:Script>
<![CDATA[
[Bindable]
public var myXML:XML;
public var XML_URL:String;
public var myXMLURL:URLRequest;
public var myLoader:URLLoader;

private function go():void {
myXML = new XML();
XML_URL = " trainingWorldwide.xml";
myXMLURL = new URLRequest(XML_URL);
myLoader = new URLLoader();
myLoader.load(myXMLURL);
myLoader.addEventListener(Event.COMPLETE, xmlLoaded);
}

private function xmlLoaded(evtObj:Event):void {
myXML = XML(myLoader.data);
trace("Data loaded.");
}

]]>
</mx:Script>

<!--<mx:XML id="myXml" format="e4x" source="trainingWorldwide.xml "/>-->
<mx:TitleWindow x="115" y="101" width="758" height="338" layout="absolute" id="testwindow" title="testwindow">
<mx:TextArea text="{myXML}" x="43" y="43" width="663" height="212"/>
</mx:TitleWindow>

</mx:Application>


On 6/2/06, josulliv101 <[EMAIL PROTECTED] > wrote:
Hi everyone,

I just got my feet wet with flex 2 beta 3 (really enjoying it by the
way). I cannot figure out why I can only view my flex apps on IE - on
firefox/any mozilla based browser, I just see a blank green screen.

Here's a test I did with a very simple example that just loads some
xml into a textarea:
http://www.myjavaserver.com/~josulliv101/testing/testing.html

You can see that all the supporting files are present at:
http://www.myjavaserver.com/~josulliv101/testing/

The weird thing is that when I am viewing the app locally with
firefox, it's fine. When I upload it with the supporting files to the
server, no luck. I have no problem viewing other people's flex2 apps
on firefox.

Any help is appreciated.
Joe







------------------------ Yahoo! Groups Sponsor --------------------~-->
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to