Hi Harish, Is there a reason for this strange behaviour? Normally I have to add @embed explicitely... Also what is the limitation on the size of the xml embeded in the swf?
Regards, Jan L. Nauta > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Harish Sivaramakrishnan > Sent: Monday, February 27, 2006 15:05 > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] xml files embedded in swf? > > Hi > > <mx:XML> tag always embeds the xml at compile time, > hence there is also a limitation to the size of the > xml that you can load on to the swf. In order to read > an xml data at run time you could use > <mx:HTTPService id="serv" url="my_xml" > resultFormat="xml" result="foo()"/> > > You could write ur logic in function foo() and use the > loaded xml data. > > Hope this helps, > > Harish. > Flex-QA > Adobe India. > > --- "Jan L. Nauta" <[EMAIL PROTECTED]> wrote: > > > --------------------------------- > Hi, > > (Flex 2.0 Beta 1) > > I noticed that xml files are always embedded in the > generated .swf file??? > > <mx:XML id="my_xml" source="my.xml" format="e4x"/> > > I thought it would work like images, so unless you > embed it explicit it > would be an external resource. The xml file even got > copied to the bin > directory, but the swf still uses it's 'internal' > version... > > Regards, > > Jan L. Nauta > > > > -- > 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 > > > Visit your group "flexcoders" on the web. > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! > Terms of Service. > > > --------------------------------- > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > -- > 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 > > > > > > -- 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/