RE: [flexcoders] LangRef == FAIL

2009-05-19 Thread Jonathon Stierman
This is why you download it and view locally. ;) Saves everyone bandwidth too. Jonathon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of djhatrick Sent: Tuesday, May 19, 2009 10:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] LangRef == FAIL

RE: [flexcoders] Query String Parameters in Flex Builder

2009-05-19 Thread Jonathon Stierman
There sure is. Open up your project properties, and go to the Run/Debug Settings menu. Select your driver application, and click the edit button. Uncheck the Use defaults under URL or path to launch, and set it to whatever you want it to be. Jonathon From: flexcoders@yahoogroups.com

[flexcoders] Loader coming back with incorrect dimensions

2009-05-11 Thread Jonathon Stierman
Has anyone run across a Loader instance incorrectly reporting the width/height of the SWF file it is loading? Information about the application: 1. The SWF files I am loading are generated via a FileExport command out of Adobe Illustrator. This causes it to come out as an AVM1Movie. 2. I am

RE: [flexcoders] Loader coming back with incorrect dimensions

2009-05-11 Thread Jonathon Stierman
is not ready on the loader.complete event, you must wait for the applicationComplete event. Tracy Spratt, Lariat Services, development services available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jonathon Stierman Sent: Monday, May

RE: [flexcoders] Re: Help with error

2009-05-08 Thread Jonathon Stierman
I used to run into strange issues like this all the time - after I started using the Disable Cache feature Web Developer add-on to Firefox, I've never run into it again. Errors don't just go away - something has to change to fix them. ;) Preventing caching at least ensures that you're getting

RE: [flexcoders] What are the chances Flex could be causing this?

2009-03-18 Thread Jonathon Stierman
You could be hitting your servers' (IIS, Apache) maximum number of connections - which means your application (and thus your custom logs) wouldn't even be run. The server would just eat the requests and send back a 500 level HTTP response. Check your servers' error logs, and see if anything

[flexcoders] RE: Breaking up large array processing

2009-02-27 Thread Jonathon Stierman
Only process a certain number of indexes per ENTER_FRAME event. I usually set a getTimer() at the start of my processing function, and loop until the difference is greater than my threshold: Function onEnterFrame(event:Event):void { var startTime:int = getTimer(); while( getTimer() -

RE: [flexcoders] Netstream: please explain?

2008-10-03 Thread Jonathon Stierman
You can for sure use a NetStream object on a progressive download. The VideoDisplay component does indeed use a NetStream object (more specifically, it uses a custom VideoPlayerNetStream object that extends NetStream). It sounds like your transition is attempting to play with bytes that the

RE: [flexcoders] Re: passing complex objects through LocalConnection

2008-09-30 Thread Jonathon Stierman
the sender and receiving swf. Jonathon From: Jonathon Stierman Sent: Monday, September 29, 2008 11:40 AM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Re: passing complex objects through LocalConnection I've finally figured out what was going on with my null issues

RE: [flexcoders] Re: passing complex objects through LocalConnection

2008-09-29 Thread Jonathon Stierman
I've finally figured out what was going on with my null issues - hopefully this will help someone else out down the road. All of the complex objects' properties must be made *public* for de-serialization to work. Private and protected properties are *not* re-inserted into the transferred

RE: [flexcoders] Re: passing complex objects through LocalConnection

2008-09-27 Thread Jonathon Stierman
, Jonathon Stierman [EMAIL PROTECTED] wrote: Ahh, thank you! That does retain the class definition. But it doesn't seem to have included all the nested complex objects - I have a three layer deep model (Library Bookshelf Book, for example), and while all the classes are being recognized, none

[flexcoders] passing complex objects through LocalConnection

2008-09-26 Thread Jonathon Stierman
Has anyone been able to make this work? I have a sample up and running (and receiving the callbacks), but my arguments come back only as Object class instances. Using an args[0] is MyComplexObject returns false always, and attempting to convert them to their proper type also fails. I can

RE: [flexcoders] Re: passing complex objects through LocalConnection

2008-09-26 Thread Jonathon Stierman
Ahh, thank you! That does retain the class definition. But it doesn't seem to have included all the nested complex objects - I have a three layer deep model (Library Bookshelf Book, for example), and while all the classes are being recognized, none of the data for Bookshelf is coming

[flexcoders] detect video end with Video, NetStream or NetConnection

2008-09-23 Thread Jonathon Stierman
Anyone know how to detect when the end of a streaming video has been reached using the three basic classes: Video, NetStream or NetConnection? Here are the approaches I'm aware of: 1. Listen on the NetStream for the NetStream.Play.Stop status event. Problem here is that this doesn't

RE: [flexcoders] detect video end with Video, NetStream or NetConnection

2008-09-23 Thread Jonathon Stierman
6. Further digging found the NetStream time property. Which I could use to compare with the metadata's duration property. My tests show that this is fairly accurate - but it still relies on the metadata being set correctly on the video. Not optimal - but as far as I know, all of the videos I

RE: [flexcoders] detect video end with Video, NetStream or NetConnection

2008-09-23 Thread Jonathon Stierman
I hadn't considered that option! We are indeed streaming from FMS. I'll google some tutorials on this one. Thanks! Jonathon

RE: [flexcoders] Install Professional over Standard

2008-09-19 Thread Jonathon Stierman
The solution is to update/delete your license.properties file: C:\Documents and Settings\All Users\Application Data\Adobe\Flex\license.properties Either delete the file (and you'll be prompted to enter a new one when you open Flex Builder), or just enter your new license key (takes effect

[flexcoders] embedding multiple locales

2008-06-25 Thread Jonathon Stierman
Has anyone tried compiling using multiple locales? According to the docs (http://livedocs.adobe.com/flex/3/html/help.html?content=l10n_3.html#160 654) , you're supposed to be able to update the -locale compiler option to look like this: -locale= en_US,en_GB,es_ES However, when I do this,

RE: [flexcoders] embedding multiple locales

2008-06-25 Thread Jonathon Stierman
If I'm understanding what you are asking, yes. I do have the following folders created and populated with .swc files: [Flex Builder 3 root]\sdks\3.0.0\frameworks\locale\en_US\ Flex Builder 3 root]\sdks\3.0.0\frameworks\locale\en_GB\ Flex Builder 3

RE: [flexcoders] embedding multiple locales

2008-06-25 Thread Jonathon Stierman
Doh! Yes, that is the issue. Much thanks for pointing that out, I would have spent many more hours staring at this without noticing that! Jonathon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Vollmar Sent: Wednesday, June 25, 2008 2:18 PM To:

RE: [flexcoders] flash9f.ocx crashes

2008-06-19 Thread Jonathon Stierman
and saves them once, and checks for existing references before going out to download again. Results in a slightly higher overall memory consumption, but hopefully more stable. Jonathon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathon Stierman Sent: Wednesday

RE: [flexcoders] flash9f.ocx crashes

2008-06-18 Thread Jonathon Stierman
I did run a profile last night. As far as I can tell, everything is normal... Peak Memory: 3486 k Current Memory: 1482 k 3486k isn't anything that should be causing the system to run out of memory and crash. There aren't any class instances hanging around that shouldn't be there.

[flexcoders] flash9f.ocx crashes

2008-06-17 Thread Jonathon Stierman
Has anyone experienced random crashing on their Flex apps after long usages? One of my apps is causing IE to shut down after running for a few days -- it's a kiosk-esque app, so it does commonly run for an extended period of time. The error from the Application event log: Faulting application:

RE: [flexcoders] What is a classfactory and why would I use one?

2008-05-30 Thread Jonathon Stierman
From the Livedocs: http://livedocs.adobe.com/flex/2/langref/mx/core/ClassFactory.html It lets your application automatically create instances (with properties configured too!) without much input needed from you. Essentially, you configure the factory with your class, and then set up some

RE: [flexcoders] Re: What is a classfactory and why would I use one?

2008-05-30 Thread Jonathon Stierman
I would say it's more flexible to use the ClassFactory because you can dynamically set the properties in the ClassFactory. Simple example: Say you had an application that creates Squares - just simple rectangles on the screen. When the user presses a button, a new square pops up in a random