Re: [Flashcoders] XML optimization

2008-11-03 Thread Charles Parcell
I would log some of your PHP then. I would fully expect parsing to take way
more time than loading. But given your latest bit of info I would lay my
money on the dynamic generation of the XML.

Charles P.


On Thu, Oct 30, 2008 at 10:42 AM, Matt S. [EMAIL PROTECTED] wrote:

 No, its definitely in the loading, i've got it tracing out in the
 flash and all the delay is happening during the initial load of the
 XML, not during the parsing. But the actual live load is from php, eg
 ../tommunro_v2_xml.php so it may be when the php is parsing the XML
 and generating it.

 .m

 On Thu, Oct 30, 2008 at 11:28 AM, Hans Wichman
 [EMAIL PROTECTED] wrote:
  Hi,
 
  its only 60kb?
  That shouldn't take too long.
 
  Can you see what is taking up the time? Might be parsing instead of
 loading.
 
  regards,
  JC
 
  On Thu, Oct 30, 2008 at 4:00 PM, Matt S. [EMAIL PROTECTED] wrote:
  So I know this is kind of a mammoth XML file to load all at once, but
  it doesnt seem THAT big, but its taking longer than expected. Can
  anyone look at this XML and suggest any ways to optimize it, that dont
  involve breaking it up into multiple files?
 
  http://knowawall.com/dev/tommunro/tommunro_xml2.xml
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] ComboBox not dropping down in browser?

2008-11-03 Thread Mendelsohn, Michael
Hi Cor...

I was looking for an example but I don't have one at the moment.  All
you need to do is add an onEnterFrame function somewhere, then within
that function, set the params of the ComboBox instance. The last line of
the onEnterFrame function is to delete onEnterFrame.  The issue is that
V2 components need one frame to initialize themselves, so when you set
your custom params (data, etc.) you are doing it after the ComboBox has
been drawn to the stage.  You could also look into doing it onInit.  I
believe that's an event for the ComboBox but I am not 100% certain at
the moment.  The onEnterFrame function probably shouldn't be on the
ComboBox itself, but maybe in the MovieClip containing the ComboBox
instance.

Hope that helps, let me know if you've got it working.
- MM


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Open PPT/WMV files from SWF?

2008-11-03 Thread John R. Sweeney Jr
Use Director as a wrapper and then use either Buddy API Xtra or MasterAPP.


on 11/3/08 9:45 AM, Ali Drongo at [EMAIL PROTECTED] wrote:

 How can I trigger the actions to launch these files?
 
 Thanks in advance for any help,
 Ali


===
John R. Sweeney Jr.([EMAIL PROTECTED])
Interactive Multimedia Developer/
Digital Media Specialist

OnDemand - Interactive, Inc.
847.651.4469 (cell)  847.310.5959 (office/fax)
=== 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Open PPT/WMV files from SWF?

2008-11-03 Thread Kevin Newman
If you are using a Projector, you could look into fscommand - that has 
the ability to execute applications:


http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html

Kevin N.


Ali Drongo wrote:
Hiya, I'm building a DVD that will allow the user to open powerpoint 
and wmv files on their computer by clicking on buttons.
The user will already have Windows Media Player and Powerpoint 
installed and the files will exist on the DVD.


How can I trigger the actions to launch these files?

Thanks in advance for any help,
Ali


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] The current state of RPC

2008-11-03 Thread Joel Stransky
Hello devs,
I'm brand new to the list but have read plenty of entries over the years.

I've been reading up on various solutions to RPC namely dealing with AMF and
I'm kinda lost on what the current standard solutions might be.
There's quite a bit of history between amfphp and swx, both of which have
there importance blurred by adobe's release of blazeds.

So my question is, what is the current preferred solution?
I'd be interested to hear from seasoned devs as far as what you're using,
your reasons (security, ease of use, supported platforms etc) for using it
and basic descriptions of your implamentations ie JSON, XML what have you.

Thanks for your time,
--Joel
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] What REALLY causes an IOError?

2008-11-03 Thread Robert Leisle
Hi all,

I am trying to drill deeper into Flash player IOError handling in AS3, in
order to distinguish different types of load failures when loading child
swfs and data into a parent swf. For instance, I need to know, and react
differently to, loads errors where the file is missing altogether vs. loads
where severe network congestion mid-load interrupts a load after a part of
the file has been received.

Can anyone offer some deeper information on exactly what initial
condition(s) triggers an IOError event? Is it time-based (no bytes loaded in
N ms), a reaction to a server response, something else? I've been googling
and reading through Adobe docs all morning and haven't seen anything deeper
than the often repeated, but largely unhelpful Adobe line: FlashR Player
dispatches an IOErrorEvent object when an error causes a send or load
operation to fail. I'm looking for more depth than that. A definition of
error and the criteria used to decide the load was a failure, for
instance, would be a good start.

Any info. or  directions to look would be greatly appreciated.

Thanks,
Bob


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The current state of RPC

2008-11-03 Thread Fabrício Seger Kolling - Dulldusk

Hi Joel

XML is too much overhead.

BlaseDS is java only.
http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/

For the shared server, the best solutions are AMF and SWX.

AMF has PHP, ASP .NET and JAVA implementations, and maybe others.
I take it for the current opensource standart, but i use SWX because i 
like it better.

AMFPHP currently offers both AS2 and AS3 api.
It uses AMF for client-server and server-client comunication .
http://www.amfphp.org/
http://www.fluorinefx.com/
http://www.openamf.com/

SWX has PHP, ASP .NET and RUBY implementations.
I don't know about the current ASP and RUBY versions.
SWXPHP currently offers AS2 api only, but this is going to change soon.
It uses JSON for client-server and generates SWFs for server-client 
comunication.

SWX primes for simplicity.
It's main difference when compared to AMF, is that there is no 
deserialization of the response.
No matter how much data you send, when the client loads the file, the 
data is ready for use.
Example, my CMS creates a single file with all dynamic text content on 
the website, small and compressed.
This file is loaded only once when you enter the website and that makes 
everything simpler for coding, because all data is already there.
Of course, someone could cache an AMF response at server side to attain 
the same result without overloading the server.
But as soon as the response reached the client, it probably whould 
freeze for a moment just to deserialize all that data.
We are working on a new release that will include an AS3 api, and a AVM2 
PHP Assembler written from scratch.
Right now the only opensource project i know that is able to create AVM2 
SWFs is HAXE.

http://code.google.com/p/swx-format/
http://swxruby.org/
http://swxnet.tumblr.com/
http://haxe.org/doc/flash/0_start

--
Fabrício Seger Kolling - Dulldusk

Joel Stransky wrote:

Hello devs,
I'm brand new to the list but have read plenty of entries over the years.

I've been reading up on various solutions to RPC namely dealing with AMF and
I'm kinda lost on what the current standard solutions might be.
There's quite a bit of history between amfphp and swx, both of which have
there importance blurred by adobe's release of blazeds.

So my question is, what is the current preferred solution?
I'd be interested to hear from seasoned devs as far as what you're using,
your reasons (security, ease of use, supported platforms etc) for using it
and basic descriptions of your implamentations ie JSON, XML what have you.

Thanks for your time,
--Joel
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The current state of RPC

2008-11-03 Thread Joel Stransky
Thanks for the input. It sounds like for as3, amfphp is the supported
solution although an as3 compatible version of swx will probably be very
appealing.

I've messed with HaXe but not enough to make it part of my routine. I need
to finish mastering as3 and OOD before I confuse it with another language.

On Mon, Nov 3, 2008 at 6:36 PM, Fabrício Seger Kolling - Dulldusk 
[EMAIL PROTECTED] wrote:

 Hi Joel

 XML is too much overhead.

 BlaseDS is java only.
 http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/

 For the shared server, the best solutions are AMF and SWX.

 AMF has PHP, ASP .NET and JAVA implementations, and maybe others.
 I take it for the current opensource standart, but i use SWX because i
 like it better.
 AMFPHP currently offers both AS2 and AS3 api.
 It uses AMF for client-server and server-client comunication .
 http://www.amfphp.org/
 http://www.fluorinefx.com/
 http://www.openamf.com/

 SWX has PHP, ASP .NET and RUBY implementations.
 I don't know about the current ASP and RUBY versions.
 SWXPHP currently offers AS2 api only, but this is going to change soon.
 It uses JSON for client-server and generates SWFs for server-client
 comunication.
 SWX primes for simplicity.
 It's main difference when compared to AMF, is that there is no
 deserialization of the response.
 No matter how much data you send, when the client loads the file, the data
 is ready for use.
 Example, my CMS creates a single file with all dynamic text content on the
 website, small and compressed.
 This file is loaded only once when you enter the website and that makes
 everything simpler for coding, because all data is already there.
 Of course, someone could cache an AMF response at server side to attain the
 same result without overloading the server.
 But as soon as the response reached the client, it probably whould freeze
 for a moment just to deserialize all that data.
 We are working on a new release that will include an AS3 api, and a AVM2
 PHP Assembler written from scratch.
 Right now the only opensource project i know that is able to create AVM2
 SWFs is HAXE.
 http://code.google.com/p/swx-format/
 http://swxruby.org/
 http://swxnet.tumblr.com/
 http://haxe.org/doc/flash/0_start

 --
 Fabrício Seger Kolling - Dulldusk

 Joel Stransky wrote:

 Hello devs,
 I'm brand new to the list but have read plenty of entries over the years.

 I've been reading up on various solutions to RPC namely dealing with AMF
 and
 I'm kinda lost on what the current standard solutions might be.
 There's quite a bit of history between amfphp and swx, both of which have
 there importance blurred by adobe's release of blazeds.

 So my question is, what is the current preferred solution?
 I'd be interested to hear from seasoned devs as far as what you're using,
 your reasons (security, ease of use, supported platforms etc) for using it
 and basic descriptions of your implamentations ie JSON, XML what have you.

 Thanks for your time,
 --Joel
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
--Joel
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Authortime vs Runtime children

2008-11-03 Thread sebastian

forget to addChild()?

   The problem I have run into is that when I instanciate an AppScreen 
symbol from my library - it's not on stage - and add it to the stage I 
handle the ADDED_TO_STAGE event for wiring the components up.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders