RE: [flexcoders] Re: Load swc instead of swf

2006-12-28 Thread Tracy Spratt
Also, when you use the work standalone, what do you mean?  Unless you
are using Zinc, or apollo, or some other non-browser host, your swf will
not be able to access any file on the client.  

 

However, I seem to recall reading that you can access a local file via
its url if you know the fully qualified file url.  I haven't tested this
though, and it may be some Flexbuilder magic that permits it.

 

Tracy



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: Wednesday, December 27, 2006 7:31 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Load swc instead of swf

 

Your original post said you were happy to load an external file, why
couldn't it be an xml or html file?

Paul

- Original Message - 
From: ssundke [EMAIL PROTECTED] mailto:ssundke%40yahoo.com 
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Sent: Wednesday, December 27, 2006 11:08 AM
Subject: [flexcoders] Re: Load swc instead of swf

 Hey Lach,
 Loading XML files from where? I need to write an help html and im
 looking at the best way to write it without creating external
 dependancies.

 - Saba

 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Lachlan Cotter [EMAIL PROTECTED] 
wrote:
 
  Hi Saba,
 
  What's wrong with just loading ordinary XML files?
 
  Cheers,
  Lach
 
 
  On 20/12/2006, at 10:12 PM, ssundke wrote:
 
   Ok.. so what do I do for this problem.
  
   I need to write some help files for my project and I need my swf
 to be
   standalone since it can be used. I didnt want to hardcode the
 html in
   one as file or mxml file, so I thought I would make a separate
 file
   for
   it and let it be loaded when it was needed. Since I need my swf
 to be
   standalone, I didnt want any dependancy on some other web
 resource.
   What
   are my alternatives?
  
   - Saba
 




 --
 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
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links





 



[flexcoders] Re: Load swc instead of swf

2006-12-27 Thread ssundke
Hey Lach,
Loading XML files from where? I need to write an help html and im 
looking at the best way to write it without creating external 
dependancies. 

- Saba

--- In flexcoders@yahoogroups.com, Lachlan Cotter [EMAIL PROTECTED] wrote:

 Hi Saba,
 
 What's wrong with just loading ordinary XML files?
 
 Cheers,
 Lach
 
 
 On 20/12/2006, at 10:12 PM, ssundke wrote:
 
  Ok.. so what do I do for this problem.
 
  I need to write some help files for my project and I need my swf 
to be
  standalone since it can be used. I didnt want to hardcode the 
html in
  one as file or mxml file, so I thought I would make a separate 
file  
  for
  it and let it be loaded when it was needed. Since I need my swf 
to be
  standalone, I didnt want any dependancy on some other web 
resource.  
  What
  are my alternatives?
 
  - Saba





Re: [flexcoders] Re: Load swc instead of swf

2006-12-27 Thread Paul Andrews
Your original post said you were happy to load an external file, why
couldn't it be an xml or html file?

Paul

- Original Message - 
From: ssundke [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, December 27, 2006 11:08 AM
Subject: [flexcoders] Re: Load swc instead of swf


 Hey Lach,
 Loading XML files from where? I need to write an help html and im
 looking at the best way to write it without creating external
 dependancies.

 - Saba

 --- In flexcoders@yahoogroups.com, Lachlan Cotter [EMAIL PROTECTED] wrote:
 
  Hi Saba,
 
  What's wrong with just loading ordinary XML files?
 
  Cheers,
  Lach
 
 
  On 20/12/2006, at 10:12 PM, ssundke wrote:
 
   Ok.. so what do I do for this problem.
  
   I need to write some help files for my project and I need my swf
 to be
   standalone since it can be used. I didnt want to hardcode the
 html in
   one as file or mxml file, so I thought I would make a separate
 file
   for
   it and let it be loaded when it was needed. Since I need my swf
 to be
   standalone, I didnt want any dependancy on some other web
 resource.
   What
   are my alternatives?
  
   - Saba
 




 --
 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] Re: Load swc instead of swf

2006-12-20 Thread ssundke

Ok.. so what do I do for this problem.

I need to write some help files for my project and I need my swf to be
standalone since it can be used. I didnt want to hardcode the html in
one as file or mxml file, so I thought I would make a separate file for
it and let it be loaded when it was needed. Since I need my swf to be
standalone, I didnt want any dependancy on some other web resource. What
are my alternatives?

- Saba


--- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED]
wrote:

 SWC files are compile-time only. A HTML wrapper wouldn't know what to
 do with it.

 In theory, you could write an unzip implementation in Actionscript,
load
 a SWC as raw data, decompress it, extract its bits, and then send
those
 bits around to AS or JS or whatever, but realistically, you're not
going
 to do that. :-)

 -rg


 

 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of ssundke
 Sent: Tuesday, December 19, 2006 1:47 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Load swc instead of swf



 Hi

 I was using a .swf file generated wrappers to show a flash file
 on the
 web. Due to some recent changes, I wanted to explore changing
 this to
 a .swc file since I need some resources (help files, etc) and
 they are
 better bundled in the swc file. Do html wrappers work with swc?
 I was
 able to generate the swc file (with a library.swf and
 catalog.xml) but
 done know how to use it with the wrapper (the .js files seem to
 use
 the .swf files)

 What am i missing?

 - Saba






Re: [flexcoders] Re: Load swc instead of swf

2006-12-20 Thread Lachlan Cotter

Hi Saba,

What's wrong with just loading ordinary XML files?

Cheers,
Lach


On 20/12/2006, at 10:12 PM, ssundke wrote:


Ok.. so what do I do for this problem.

I need to write some help files for my project and I need my swf to be
standalone since it can be used. I didnt want to hardcode the html in
one as file or mxml file, so I thought I would make a separate file  
for

it and let it be loaded when it was needed. Since I need my swf to be
standalone, I didnt want any dependancy on some other web resource.  
What

are my alternatives?

- Saba