Re: [flexcoders] xml files embedded in swf?

2006-03-03 Thread Abdul Qabiz



Yeah, it should not be copied when you are embedding it. But FB might be assuming things, it might be copying every linked document(structure) to bin...I think, you can file a bug, if it is not already known.
-abdulOn 2/28/06, Jan L. Nauta [EMAIL PROTECTED] wrote:
Hi Abdul,Ok, so this is intended behaviour. But then the xml file shouldn't be copiedinto the bin (output) directory, as it's already embedded in the swf file?The fact that it _was_ copied into the bin directory led me to believe that
it wasn't embeded in the first place.Regards, and thanks for the quick replies!Jan L. Nauta -Original Message- From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz Sent: Tuesday, February 28, 2006 00:20 To: 
flexcoders@yahoogroups.com Subject: Re: [flexcoders] xml files embedded in swf? Hi Jan, This is not a strange behaviour. mx:Model /, mx:XML / etc are compiler
 tags, which means content inside them (or linked) would be compiled in the SWF. It is well documented and it has been the same in Flex 1.5 as well. You use @Embed (..), mx:XML /, mx:Model / when you want to compile the
 assets with-in the final SWFs. As Harish said, if you want to load content/assets on runtime, you should consider other available APIs/tags, f.ex. mx:HTTPService /, mx:Image /
 without @Embed in source attribute, mx:Loader / etc Does that make sense? -abdul On 2/27/06, Jan L. Nauta [EMAIL PROTECTED]
 wrote: 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:flexcoders@yahoogroups.com] 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="">  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 
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 LINKSVisit 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 
http://groups.yahoo.com/group/flexcoders/ -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+si
 te+design+developmentw2=Computer+software+developmentw3=Software+design+ and+developmentw4=Macromedia+flexw5=Software+development+best+practicec =5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software
development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+desig
 n+and+developmentw4=Macromedia+flexw5=Software+development+best+practice c=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design anddevelopment 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=We b+site+design+developmentw2=Comp

RE: [flexcoders] xml files embedded in swf?

2006-02-28 Thread Jan L. Nauta
Hi Abdul,

Ok, so this is intended behaviour. But then the xml file shouldn't be copied
into the bin (output) directory, as it's already embedded in the swf file?
The fact that it _was_ copied into the bin directory led me to believe that
it wasn't embeded in the first place.

Regards, and thanks for the quick replies!

Jan L. Nauta

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Abdul Qabiz
 Sent: Tuesday, February 28, 2006 00:20
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] xml files embedded in swf?
 
 Hi Jan,
 
 This is not a strange behaviour. mx:Model /, mx:XML / etc are compiler
 tags, which means content inside them (or linked) would be compiled in the
 SWF. It is well documented and it has been the same in Flex 1.5 as well.
 
 You use @Embed (..), mx:XML /, mx:Model / when you want to compile the
 assets with-in the final SWFs.
 
 As Harish said, if you want to load content/assets on runtime, you should
 consider other available APIs/tags, f.ex. mx:HTTPService /, mx:Image /
 without @Embed in source attribute, mx:Loader / etc
 
 Does that make sense?
 
 -abdul
 
 
 On 2/27/06, Jan L. Nauta [EMAIL PROTECTED] wrote:
 
   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
 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
 
 http://groups.yahoo.com/group/flexcoders/
 
 
 
 
 
 
 
 
 
 
 
 --
 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
 http

[flexcoders] xml files embedded in swf?

2006-02-27 Thread Jan L. Nauta
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 
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/
 




Re: [flexcoders] xml files embedded in swf?

2006-02-27 Thread Harish Sivaramakrishnan
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

* 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/
 





RE: [flexcoders] xml files embedded in swf?

2006-02-27 Thread Jan L. Nauta
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/
 





Re: [flexcoders] xml files embedded in swf?

2006-02-27 Thread Abdul Qabiz



Hi Jan,This is not a strange behaviour. mx:Model /, mx:XML / etc are compiler tags, which means content inside them (or linked) would be compiled in the SWF. It is well documented and it has been the same in Flex 
1.5 as well.You use @Embed (..), mx:XML /, mx:Model / when you want to compile the assets with-in the final SWFs.As Harish said, if you want to load content/assets on runtime, you should consider other available APIs/tags, 
f.ex. mx:HTTPService /, mx:Image / without @Embed in source attribute, mx:Loader / etcDoes that make sense?-abdulOn 2/27/06, 
Jan L. Nauta [EMAIL PROTECTED] wrote:
Hi Harish,Is there a reason for this strange behaviour? Normally I have to add @embedexplicitely... Also what is the limitation on the size of the xml embeded inthe swf?Regards,Jan L. Nauta
 -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 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=""> 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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



  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.



  









Re: [flexcoders] xml files embedded in swf?

2006-02-27 Thread Abdul Qabiz



Also what is the limitation on the size of the xml embeded inthe swf?
I think, you can embed quite good amount of data in SWF in Flex 2.0. Where as Flex 1.5 had some limit. Check out the Flexcoders FAQ, link is in the footer of this email. You can also search the flexoders archive, I remember it has been discussed once.
-abdulOn 2/27/06, Jan L. Nauta [EMAIL PROTECTED] wrote:
Hi Harish,Is there a reason for this strange behaviour? Normally I have to add @embedexplicitely... Also what is the limitation on the size of the xml embeded inthe swf?Regards,Jan L. Nauta
 -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 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=""> 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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



  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.



  









RE: [flexcoders] xml files embedded in swf?

2006-02-27 Thread Matt Chotin










I believe the size limitation for strings
and XML objects has been removed.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz
Sent: Monday, February 27, 2006
3:25 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] xml
files embedded in swf?







Also what is the limitation on the size of the xml embeded in
the swf?







I think, you can embed quite good amount of data in SWF in Flex 2.0. Where as
Flex 1.5 had some limit. Check out the Flexcoders FAQ, link is in the footer of
this email. You can also search the flexoders archive, I remember it has
been discussed once. 


-abdul







On 2/27/06, Jan L.
Nauta [EMAIL PROTECTED]
wrote:

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:flexcoders@yahoogroups.com]
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="">
 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/
















--
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.