[flexcoders] document[value]

2008-08-03 Thread flexaustin
What does it mean when you see this code? document[somevalue] Is that finding some value in your mxml with the name somevalue? Does document reference the parent application file or the current file you scope is in?

[flexcoders] SWFObject URL

2008-08-05 Thread flexaustin
Is it possible to obtain the URL of the page the swf is embedded in from within the Flex object. So I have a Flex app running inside a basic html page can I call something like getExternalPage, which will allow my Flex app to find out who embedded it. Thus, baby says: who's womb am I in?

[flexcoders] theme color on combobox; is there no themeAlpha

2008-08-06 Thread flexaustin
So I have a combobox that I have styled using the flex style explorer, but something is amiss. When you mouse over the combobox the border color flickers, well I guess the theme color makes it look like it is flickering on mouseover. The border color seems to be fade from top to bottom so

[flexcoders] Data caching dto's

2008-08-06 Thread flexaustin
I was wondering if anyone has done any caching of data in Flex? And if so how did you do this? I have an application that pulls in up to 500 items and converts them to DTO's. The app then runs a routine, which generates objects based on those dto's. The generation of objects is very memory

[flexcoders] Re: Data caching dto's

2008-08-07 Thread flexaustin
mechanism. -Brian On Wed, Aug 6, 2008 at 3:17 PM, flexaustin [EMAIL PROTECTED] wrote: I was wondering if anyone has done any caching of data in Flex? And if so how did you do this? I have an application that pulls in up to 500 items and converts them to DTO's. The app then runs a routine

[flexcoders] Garbage Collection and event listeners

2008-08-07 Thread flexaustin
Is possible to remove all event listeners by doing something like the following? mc.removeEventListener(*,*,false); Though not sure how you would get the count of eventlisteners or iterate through them? And as far as deleteing any reference to an object can you override removechildren and add

[flexcoders] Re: Garbage Collection and event listeners

2008-08-07 Thread flexaustin
. a.addEventListener(foo, b.someMethod) creates a reference from a to b, not the other way around. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Thursday, August 07, 2008 10:27 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] URL deeplinking or other?

2008-08-08 Thread flexaustin
Does anyone know the best way or anyway to pass an URL into a Flex app in order move to the correct state? So if I have an app - Panel - itemrender and I want to display one of them items (which when selected grows and expands) when it receives a certain URL. Is this possible and has anyone

[flexcoders] Re: URL deeplinking or other?

2008-08-10 Thread flexaustin
, Haykel --- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote: Does anyone know the best way or anyway to pass an URL into a Flex app in order move to the correct state? So if I have an app - Panel - itemrender and I want to display one of them items (which when selected grows

[flexcoders] Re: Data caching dto's

2008-08-10 Thread flexaustin
other object, shouldn't be very intensive. -Brian On Thu, Aug 7, 2008 at 11:45 AM, flexaustin [EMAIL PROTECTED] wrote: Actually obtaining the data isn't the issue. I more interested how do I go about comparing the old data to the new data? Array, some sort of custom hash, or xml. Which

[flexcoders] bitmap bitmapdata 500+ objects

2008-08-10 Thread flexaustin
I was wondering if there is a better way to create several hundred objects with reflections using bitmaps and bitmapdata objects. I have several hundred objects that can be 1 of 50 different kinds, which all have reflections. I was wondering what the best way is to create all 500 items that won't

[flexcoders] Re: URL deeplinking or other?

2008-08-11 Thread flexaustin
Ok, so I am using BrowserManager, but I am getting null on startup? Here is my code. private var bm:IBrowserManager; private function init(e:Event):void { bm = BrowserManager.getInstance();

[flexcoders] Re: URL deeplinking or other?

2008-08-12 Thread flexaustin
Here is my html, but not sure if its the problem. When you say check the .js files for errors what .js files and how do I look for errors? And thanks again for all your help. div id=my-wrap div id=my-wrapper-3 object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 id=MyControl

[flexcoders] BrowserManager swfObject and several divs

2008-08-12 Thread flexaustin
Does the number of divs matter in trying to get BrowswerManager to see the fragments? Mine isn't working its coming up null. Here is my html: div id=content div id=my-wrap div id=my-wrap-2 div id=flashDiv a href=http://www.adobe.com/go/getflashplayer;

[flexcoders] Re: URL deeplinking or other?

2008-08-12 Thread flexaustin
Ok, figured it out. I guess if you are working with a Flex file instead of a Flash file things are different. Or maybe it was the lack of history folder. Either way it works and here are my steps. I followed this example http://www.swffix.org/swfobject/swfobject_flex3/ --SWFObject 2 dynamic

[flexcoders] Shutoff or de-init BrowserManager (IE7 issues)

2008-08-13 Thread flexaustin
Is it possible to shutoff or browserManager for certain components or for the entire application? So after you do the following: browserManager = BrowserManager.getInstance(); browserManager.init(, Welcome); // browserUrlChange

[flexcoders] Re: Shutoff or de-init BrowserManager (IE7 issues)

2008-08-13 Thread flexaustin
with the swf. If you only want to turn it off for certain navigation components, you're correct, you'll need to use: mx:ViewStack historyManagementEnabled=false/ -TH --- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote: Is it possible to shutoff or browserManager

[flexcoders] Anyway to speed up draw reflection and reduce cpu usage?

2008-08-14 Thread flexaustin
So I have this method (see below) that according to profiler is taking 400 milliseconds each round trip to finish. I was wondering if there was a way to optimize it? Maybe I am going about it the wrong way. I have to draw 100+ of the reflections and it is killing the CPU and taking forever to

[flexcoders] Re: Anyway to speed up draw reflection and reduce cpu usage?

2008-08-15 Thread flexaustin
Is there a way to get turn the bitmaps or bitmapdata into binary or something and keep it in a dictionary then convert it back to a bitmap later. That way I can cache what has been drawn by my reflection method? --- In flexcoders@yahoogroups.com, flexaustin [EMAIL PROTECTED] wrote: So I

[flexcoders] Normalize removing my data??? Is this a bug in Flex?

2008-08-20 Thread flexaustin
I have been tracing this bug for two days and finally found it. I don't see how this .normalize method is changing data in other areas of my code? So when makeData is called I pass it xml with child nodes. It is stored in _data and then I se several variables and call the the buildXMLObj method.

[flexcoders] Re: Normalize removing my data??? Is this a bug in Flex?

2008-08-21 Thread flexaustin
and not copies? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, August 19, 2008 11:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Normalize removing my data??? Is this a bug in Flex

[flexcoders] Dictionary or Array or Linked list?

2008-08-21 Thread flexaustin
I was wondering if anyone has had to do something like this before? (FYI these are AS3 objects not mxml) I have a collection of MC's (which contain a title and two images). These MC's are created dynamically depending on data brough in via httpservice (xml). I was wondering how do I keep

[flexcoders] ArrayCollection bound to an Array.

2008-08-26 Thread flexaustin
Is it possible to bind an ArrayCOllection to an array, like so public var summDataForControllers:Array = new Array; public var _summDataForContrAC:ArrayCollection = new ArrayCollection({summDataForControllers}); I have a modelLocator that contains these to items

[flexcoders] Compile to external folder or server?

2008-09-09 Thread flexaustin
Is it possible to compile your swf from your flex project to an external file system? So instead of compiling to bin-debug I want to compile in a project folder that is a sibling of my flex project folder. And I only want the swf going to this sibling folder not any of the additional

[flexcoders] Re: Compile to external folder or server?

2008-09-09 Thread flexaustin
(Direct) f: 03 9093 8697 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Wednesday, 10 September 2008 8:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Compile to external folder or server

[flexcoders] Re: Compile to external folder or server?

2008-09-09 Thread flexaustin
the history file, which just leaves the javascript file. I can live with that. thx --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Project/Properties/Flex Build Path/Output Folder? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent

[flexcoders] Combobox focus glowing

2008-09-10 Thread flexaustin
Is there a way to shut off the glowing when a combobox is selected? I cannot find which style property shuts it off. BTW, I am setting the combobox to editable=true so that may have something to do with it. When you click on the combobox to edit it the combobox or the uitextfield glows and I am

[flexcoders] Re: Combobox focus glowing

2008-09-10 Thread flexaustin
) to black as well. --- In flexcoders@yahoogroups.com, flexaustin [EMAIL PROTECTED] wrote: Is there a way to shut off the glowing when a combobox is selected? I cannot find which style property shuts it off. BTW, I am setting the combobox to editable=true so that may have something to do

[flexcoders] UITextField roundedcorners in a combobox

2008-09-11 Thread flexaustin
Does anyone know if it is possible to round the corners of the TextInput/UITextField in a combobox? I have a combobox that is set to editable (mycombo.editable=true). Butby doing so the textinput pushes up against the left side so it makes one side look square. So would it be possible to round

[flexcoders] embedded swf not playing

2008-09-15 Thread flexaustin
I have an embedded swf that is not auto playing when it is imported into Flex? Here is the code (below). When my flex swf is run the swf just sits there, but the code in my swf says onEnterFrame rotate in a circle. Any suggestions? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Has anyone ever removed the arrowButton from the combobox?

2008-09-16 Thread flexaustin
I don't believe there is a setting to remove the Arrow Button from the combobox,but I thought I would ask. I am guessing the only way to remove it is to create a new component? Probably have to create a new custom ComboBox component and a new custom ComboBase component? Thanks for the help.

[flexcoders] Re: Has anyone ever removed the arrowButton from the combobox?

2008-09-16 Thread flexaustin
--- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote: I don't believe there is a setting to remove the Arrow Button from the combobox,but I thought I would ask. I am guessing the only way to remove it is to create a new component? Probably have to create a new custom ComboBox component

[flexcoders] Flex Project Struture

2008-09-16 Thread flexaustin
Can anyone recommend a project structure? Maybe a tut or blog post on the topic? We have several components (as and mxml) that we want to use throughout several projects and by several team members, but not sure the best way to structure the files and package them up. How do we all share the

[flexcoders] Re: Has anyone ever removed the arrowButton from the combobox?

2008-09-16 Thread flexaustin
in all states. If you're using flash/illustrator, adjust the scale-9 guides as well and you'd have it! :D --- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote: So if I slap a skin on it will go away or do I need to figure out the same mistake you made

[flexcoders] Re: Has anyone ever removed the arrowButton from the combobox?

2008-09-16 Thread flexaustin
://VadexFX.com http://Sherifabdou.com - Original Message - From: flexaustin To: flexcoders@yahoogroups.com Sent: Tuesday, September 16, 2008 6:07 PM Subject: [flexcoders] Re: Has anyone ever removed the arrowButton from the combobox? So if I slap a skin on it will go

[flexcoders] Re: Flex Project Struture

2008-09-16 Thread flexaustin
. This is where existing frameworks can help take the headache out of things -- by providing a known structure up front. HTH, Ryan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, September 16, 2008 4:11

[flexcoders] External Assets Library Best Practice

2008-09-17 Thread flexaustin
I was wondering if anyone can recommend the best strategy for including external swf and png assets in multiple projects? Currently, we have an assets folder with 200 icons some swf's (created in Flash some with animations some without) and some png's that we use in our current Flex app. We

[flexcoders] Re: Flex Project Struture

2008-09-17 Thread flexaustin
] On Behalf Of flexaustin Sent: Tuesday, September 16, 2008 8:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Project Struture Thanks Ryan. You mentioned Flex Builders specific files...what would those be? --- In flexcoders@yahoogroups.com mailto:flexcoders

[flexcoders] Re: Flex Project Struture

2008-09-17 Thread flexaustin
should make them appear as real directories to the program. On Wed, Sep 17, 2008 at 3:51 PM, flexaustin [EMAIL PROTECTED] wrote: What about sharing components. For instance, we have a project just completed with several as components. We want to use some of those same AS components

[flexcoders] Flex Printing

2008-09-18 Thread flexaustin
So I was going over the printjob documentation and I see you can print whats on screen or in a certain component. You can also tell it to print outside of the containers bounds by shutting of clipping, but I was wondering if anyone knows if you can scale the printjob or its contents or print to a

[flexcoders] Printjob

2008-09-22 Thread flexaustin
I was wondering if any has had any experience with Printjob or AlivePDF? I am trying to print items items that are half on the screen and half off the screen. I was wondering if you are able to print items that are not on screen? So say someone dragged an item so only 1/4 of it showing in the

[flexcoders] flex dynamic instantiation of classes or class names

2008-09-28 Thread flexaustin
Is it possible to instantiate objects with dynamic names? So instead of:--- var n:Object = new Object; Something like:- for (var i:int=0; i array.length; i++){ var n(i):Object = new Object; } I need to create instance of certain type

[flexcoders] Re: flex dynamic instantiation of classes or class names

2008-09-29 Thread flexaustin
== 0) vgrph.currentRootVNode = i as IVisualNode; } } --- In flexcoders@yahoogroups.com, flexaustin [EMAIL PROTECTED] wrote: Is it possible to instantiate objects with dynamic

[flexcoders] Re: flex dynamic instantiation of classes or class names

2008-09-30 Thread flexaustin
... Just start with var map : Object = {} instead of var d : Dictionary = new Dictionary() -Josh On Tue, Sep 30, 2008 at 12:04 AM, flexaustin [EMAIL PROTECTED] wrote: Here is my try. private var nodeDict:Dictionary = new Dictionary(true

[flexcoders] html and swf file gone

2008-09-30 Thread flexaustin
So I was working on my project and flex builder 3 started acting funny. Hit one keystroke and it would type 10 more and I keep getting really weird errors when nothing was wrong with the file. So I did project clean. Now my .html and .swf in bin-debug is gone and I can't build another one?

[flexcoders] Re: html and swf file gone

2008-10-02 Thread flexaustin
successfully complete a build. I suspect you may have some compiler errors showing when you try to build? HTH, Ryan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, September 30, 2008 3:04 PM

[flexcoders] Re: html and swf file gone

2008-10-03 Thread flexaustin
and imported all my code from the old project. J --- In flexcoders@yahoogroups.com, j_lentzz [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote: So I was working on my project and flex builder 3 started acting funny. Hit one keystroke and it would type 10 more

[flexcoders] Base component Sprite vs. UIComponent.

2008-10-03 Thread flexaustin
Is there any benefit (memory/cpu usage) to using Sprite as your base component over UIComponent? I know if use Sprite in Flex you need to use IUIComponent then implement all the methods require, which is a huge pain. Or you can use composition and create and instance of a UIComponent and use

[flexcoders] Re: Base component Sprite vs. UIComponent.

2008-10-03 Thread flexaustin
we need to have dropshadow so can't remove it). I can't believe a UIComponent is killing your performance that bad, I would be willing to bet there is something else going on here but without code, I can only speculate. Mike On Fri, Oct 3, 2008 at 9:59 AM, flexaustin [EMAIL PROTECTED

[flexcoders] Re: html and swf file gone

2008-10-03 Thread flexaustin
project. On Fri, Oct 3, 2008 at 3:54 PM, flexaustin [EMAIL PROTECTED] wrote: Tried this but no luck...still says missing .html file. And yes the html-template file is still there. I pretty sure it has to do with SVN. I really wish Adobe would fix the issues with svn html-template

[flexcoders] localize drag

2008-10-07 Thread flexaustin
Is it possible to localize drag? I have a component a Panel that is draggable. Inside that component I have an accordian and inside the accordian I have 3 canvas's each of which has a datagrid on it. The issue is that when I move down to drag a column in one of the datagrids it drags my panel

[flexcoders] Re: localize drag

2008-10-10 Thread flexaustin
of the main component to use for dragging until I get the time to create some custom events. --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Have you tried cancelling the event from the listener for the inner component? -Josh On Wed, Oct 8, 2008 at 1:33 AM, flexaustin

[flexcoders] Interfaces WHY?

2008-10-10 Thread flexaustin
I was wondering if someone can explain why you would need an interface so short? INTERFACE: package my.package.area { /** * Interface for methods that evaluate an object and return a result. */ public interface IEval { /**

[flexcoders] Re: Interfaces WHY?

2008-10-11 Thread flexaustin
another good example of this type of interface in the flex framework is IDataRenderer, it's only declared property is 'data'. Mike On Fri, Oct 10, 2008 at 9:19 AM, flexaustin [EMAIL PROTECTED]wrote: I was wondering if someone can explain why you would need an interface so short

[flexcoders] Extending UIComponent memory issues.

2008-10-15 Thread flexaustin
So I have this base component, that when running profiler, says its eating up tons of memory. I have about 4000 of these at one time in my Flex app (see component code below). This base component is extended by two other components, which are then extended by two more components each so 3 or 4

[flexcoders] Re: Extending UIComponent memory issues.

2008-10-15 Thread flexaustin
references can make thing hang around as well. Mike On Wed, Oct 15, 2008 at 3:08 PM, flexaustin [EMAIL PROTECTED] wrote: So I have this base component, that when running profiler, says its eating up tons of memory. I have about 4000 of these at one time in my Flex app (see component

[flexcoders] Re: Extending UIComponent memory issues.

2008-10-17 Thread flexaustin
of your design I envision. You could even recycle the content renderers in your container component Lot's of things you could do ;-) Mike On Wed, Oct 15, 2008 at 10:47 PM, flexaustin [EMAIL PROTECTED] wrote: Doug, what would you go with? Sprite? I thought sprite, but you need

[flexcoders] Re: Extending UIComponent memory issues.

2008-10-17 Thread flexaustin
. How are you laying them out (with what layout algorithm) ? Mike On Fri, Oct 17, 2008 at 10:21 AM, flexaustin [EMAIL PROTECTED] wrote: Michael, I have tried using Flexsprite but throws errors about needing to implementing IUIcomponent. Did I miss something and give up to early

[flexcoders] Resizing a class file

2008-10-20 Thread flexaustin
Is it possible to resize a Class file? Say you embed a swf or png. Can you then resize it by casting is as something else? [Bindable] [Embed(source=ui/nicePngImage.png)] static public var myIcon:Class; myIcon.width = 30; // won't work TIA

[flexcoders] Re: Resizing a class file

2008-10-20 Thread flexaustin
@yahoogroups.com flexcoders%40yahoogroups.com, flexaustin flexaustin@ wrote: Is it possible to resize a Class file? Say you embed a swf or png. Can you then resize it by casting is as something else? [Bindable] [Embed(source=ui/nicePngImage.png)] static public var myIcon:Class

[flexcoders] Re: Resizing a class file

2008-10-20 Thread flexaustin
to hold the new instances that are type Image. functiontoGetImage() are you returning an instance or a Class to instantiate? Mike On Mon, Oct 20, 2008 at 2:05 PM, flexaustin [EMAIL PROTECTED] wrote: Sorry I should have been more specific. [Bindable] public var myImage:Class

[flexcoders] Keeping a UIComponent out of the UpdateDisplayList

2008-10-20 Thread flexaustin
Is it possible using MXML, not AS3 classes, to keep an item out of the updateDisplayList and/or the measure() method? I have an icon that is 30px by 30px and needs to remain centered within a component. But the catch is that if someone clicks the icon it will show another state where I add a

[flexcoders] Re: Keeping a UIComponent out of the UpdateDisplayList

2008-10-20 Thread flexaustin
%40yahoogroups.com , Ralf Bokelberg ralf.bokelberg@ wrote: includeInLayout=false maybe? On Mon, Oct 20, 2008 at 9:57 PM, flexaustin flexaustin@ wrote: Is it possible using MXML, not AS3 classes, to keep an item out of the updateDisplayList and/or the measure() method

[flexcoders] Scaling is jerky.

2008-10-22 Thread flexaustin
I was wondering if anyone had a quick answer for why a swf file is jerky when running in an application but if you go to source and put in the path directly to the swf file and run the swf everything looks perfect? Say for instance you are zooming something on stage. If you scroll while the swf

[flexcoders] hijack events

2008-11-07 Thread flexaustin
Is it possible to hijack events? I want my events to bubble up but when they get to a certain parent say two up from the object that dispatched the event I want that parent (two levels) up to stop it before it bubbles any more? TIA

[flexcoders] Getting the width of the contents bounds

2008-11-09 Thread flexaustin
Does anyone know if you can get the width of the contents of a DisplayObjects bounds even when its outside of the stages viewable bounds? So if my flash file is sized at 400 by 400 and my current display objects are scaled so large they are sticking outside of the viewable stage area how can I

[flexcoders] BitmapData getting clipped

2008-11-10 Thread flexaustin
I was wondering if anyone can tell me why my bitmapdata objects are getting clipped. I have clipContent = false in all my displayobjects parents and it doesn't seem to cut off anything that runs off screen to the right side. For some reason it is cutting everything above left of 0 or above 0 on

[flexcoders] modules or something else? + Mate

2008-11-18 Thread flexaustin
I have never used modules so I am not sure if what I am trying to do will work for them or not or maybe there is an easier way to resolve this issue. I have an app that has several documents. Each document is made of a canvas with an accordian in it. In this accordian I have two vboxes (thus to

[flexcoders] Re: modules or something else? + Mate

2008-11-18 Thread flexaustin
is and work around it. If there's 1000's of children, but you can't see all of them or don't need all of them, create some, and create others in batches via callLater. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, November 18, 2008 7:47 AM

[flexcoders] ProgressBar not updating Flash 10 and Flex 3.1

2008-11-19 Thread flexaustin
I was wondering if anyone has run into this issue before? There is a post here where someone had the same issue but doesn't seem to be resolved. http://www.actionscript.org/forums/showthread.php3?t=159436 When this function is called bytesLoaded and bytesTotal are correct. But on screen I see 0%

[flexcoders] Null object doesnt exist? What is going on?

2008-11-21 Thread flexaustin
Ok, in my custom component I have this line: // root node to start with private var strtRoot:IThingy; Later in a function call from init() I call this: strtRoot = new Thingy(somearrary[1]); I get a null object error on strtRoot. I am try to create strtRoot why am I getting this error? I use

[flexcoders] Re: Null object doesnt exist? What is going on?

2008-11-22 Thread flexaustin
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Friday, November 21, 2008 6:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Null object doesnt exist? What is going on? Ok, in my custom component I have this line: // root node to start with private var

[flexcoders] Bug? Error #1068: int and Boolean cannot be reconciled.

2008-11-26 Thread flexaustin
Does anyone see an issue with this code? I am getting Error #1068: int and Boolean cannot be reconciled at the line var val:String = speedtype(amount); My SpeedType is actually in a utility function but after getting this error I placed the SpeedType function definition in the same file as the

[flexcoders] Re: Bug? Error #1068: int and Boolean cannot be reconciled.

2008-11-26 Thread flexaustin
Ignore! Found the problem...guess I should remeber to remove my , --- In flexcoders@yahoogroups.com, flexaustin [EMAIL PROTECTED] wrote: Does anyone see an issue with this code? I am getting Error #1068: int and Boolean cannot be reconciled at the line var val:String = speedtype(amount

[flexcoders] CPU Usage: to create or not to create and render?

2008-11-26 Thread flexaustin
I was wondering if anyone knew of a good article or book that explains how flash player uses CPU? With Flex, once items are rendered is better to leave them or delete them and recreate them if/when needed. So for instance, if I need to have 5,000 items, say columncharts, on screen but in order

[flexcoders] Re: CPU Usage: to create or not to create and render?

2008-11-27 Thread flexaustin
Thanks, Alex and Gabriel! --- In flexcoders@yahoogroups.com, gabriel [EMAIL PROTECTED] wrote: Behalf Of flexaustin [...] is it better to delete all references to them and completely remove them or leave them and just set enabled=false and visible=false and/or any other settings? Check

[flexcoders] Mouse off stage and ajax bridge

2008-12-02 Thread flexaustin
Is there a way to stop all mouse event listeners from the stage? Or will I need to do it the hard way and track down all mouse event listeners. My issue is that I have a Hslider that controls a component. When a user stops scrolling for a certain amount of time, pausing, I update the component.

[flexcoders] Flash being cached

2008-12-02 Thread flexaustin
Is there a way to prevent your swf file from being cached? I would like to prevent this in production and when using the template files (in bin-debug and bin-release). When using these two html files my browser seems to cache the swf requiring me to do a couple of cntrl-r's and sometimes a clear

[flexcoders] Re: Mouse off stage and ajax bridge

2008-12-02 Thread flexaustin
Thanks Alex! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Fake a MOUSE_UP event From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, December 02, 2008 7:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Mouse

[flexcoders] Easy question... i think.

2008-12-03 Thread flexaustin
I was wondering if I use import statements like import allofsomething.* vs. import allofsomething.lessofall.evenlessofall.onlyONEofall; ** in this example I would only be using onlyOneofall in my code. Does the more specific import reduce my .swf file size? Or does the compiler only import

[flexcoders] ping from flash

2008-12-05 Thread flexaustin
Is it possible to do a ping or rdp from Flash?

[flexcoders] Bug: flash.display.Graphics being removed.

2008-12-05 Thread flexaustin
Has anyone had this issue? I do the following (using Flex Builder 3 w/ sdk 3.1 and Flash Player 10). // BEGIN CODE -- import flash.display.Graphics; public function get drawGraphics():Graphics { if(_drawing) {

[flexcoders] Re: Bug: flash.display.Graphics being removed.

2008-12-09 Thread flexaustin
Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.rimeeting.cn From: flexaustin flexaustin@ To: flexcoders@yahoogroups.com Sent: Saturday, December 6, 2008 5:56:11 AM Subject: [flexcoders] Bug

[flexcoders] Listening for both Mouse Down and Double Click events.

2008-12-09 Thread flexaustin
Is it possible to listen for both a mouse down and doubleclick events without using some sort of timer? On mouse down start timer to listen for a another mouse down? If you listen for a mouse down and in the mouse down handler add another listener to listen for some other action is a possibility

[flexcoders] Re: Listening for both Mouse Down and Double Click events.

2008-12-10 Thread flexaustin
the listener on. Brendan On Tue, Dec 9, 2008 at 11:04 AM, flexaustin [EMAIL PROTECTED] wrote: Is it possible to listen for both a mouse down and doubleclick events without using some sort of timer? On mouse down start timer to listen for a another mouse down? If you listen

[flexcoders] Slider predetermined values

2008-12-10 Thread flexaustin
Is it possible to set predefined values for the slider? Say based on the contents of an array or something else Example:? slidersPossiblValues:Array = [2, 3.5, 7, 10, 24]; snapInterval={slidersPossiblValues}

[flexcoders] Adobe air group?

2008-12-14 Thread flexaustin
Does anyone know of there is an Adobe Air group on yahoo groups? I can't find one but then Yahoo search sucks.

[flexcoders] Command Proxy

2008-12-15 Thread flexaustin
I asked this in an earlier post, but hoping Alex can ask Mike Chambers about the status of the Apollo + Command Proxy project he started. Does anyone know if Command Proxy access is available in Adobe AIR? When Mike created his project he said that he had hopes for command proxy access, when

[flexcoders] Re: Command Proxy

2008-12-16 Thread flexaustin
/commandproxy-net-air-integration-proof-of-concept/ Does that answer your question? mike chambers m...@... On Dec 15, 2008, at 7:38 AM, flexaustin wrote: I asked this in an earlier post, but hoping Alex can ask Mike Chambers about the status of the Apollo + Command Proxy project he

[flexcoders] BitmapData unscaled bounds?

2008-12-16 Thread flexaustin
Is it possible to take a screen shot of a flex app if the apps components are extended off the stage, say the app is a screen and a half wide? When I try to grab a bitmap of Application.application or Application.application.stage or my main Canvas that holds my app it all comes back the size of

[flexcoders] Re: BitmapData unscaled bounds?

2008-12-16 Thread flexaustin
Getbounds and matrix.translate does the trick. -- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: Is it possible to take a screen shot of a flex app if the apps components are extended off the stage, say the app is a screen and a half wide? When I try to grab a bitmap

[flexcoders] Bug: history.js issues in IE7

2008-12-17 Thread flexaustin
Wondering if anyone else has seen this issue. In IE7 our application, which has a swf file (via Flex) in it is showing an extra white box or div at the botoom of the page, which is roughly 200 pixels wide and 15 pixels tall, that has the name IFRAME id=ie_historyFrame. Also on this same page,

[flexcoders] Re: Bug: history.js issues in IE7

2008-12-18 Thread flexaustin
Chiverton tom.chiver...@... wrote: On Wednesday 17 Dec 2008, flexaustin wrote: roughly 200 pixels wide and 15 pixels tall, that has the name IFRAME id=ie_historyFrame. Is the page throwing a JavaScript or 404 error for some code from the embed template ? Is it safe to remove the history.js

[flexcoders] combobox arrow size and vertical line

2008-12-30 Thread flexaustin
Is it possible to skin or change the size or shape of the arrow on the combobox control? Also can you remove or change the vertical line that separates the arrow button from selected item/label?

[flexcoders] Re: combobox arrow size and vertical line

2008-12-31 Thread flexaustin
arrow-button-width or arrowButtonWidth doesn't work. It only changes the width of button the arrow icon, thus the button gets wider but icon stays the same size. TIA --- In flexcoders@yahoogroups.com, roopal_oswal roopal_os...@... wrote: --- In flexcoders@yahoogroups.com, flexaustin

[flexcoders] Bug? history.js / historyFrame.html in IE7

2009-01-07 Thread flexaustin
I was wondering if anyone else has seen or heard of this issue? Our app is ROR and Flex. Using Flex 3.2.0, FP 10.0.12.36, and compiling for Flash 10. When on an html page that has a Flex component when I click on the Flex component to give it focus the IE7 tab title (aka page title) changes to

[flexcoders] Dumb question; $inherited variables

2009-01-08 Thread flexaustin
When running in debug mode. I have a component and when I look at the variables or properties in the variables panel I see a [inherited] set of variables and in there $width = 800; and $height= 1200; but if I look at the variables without the $ so width height I see width=694 and height=694.

[flexcoders] ExternalInterface erros

2009-01-12 Thread flexaustin
Anyone know why I am getting this error when making an externalinterface call? missing ) after argument list [Break on this error] try { __flash__toXML(Glide.onSelect(43,4... bYOU/b $ 'FBar'\,\connection\:0

[flexcoders] Re: ExternalInterface erros

2009-01-12 Thread flexaustin
I can't really post the code. The issue is either I think is either one of two things, but I can't seem to resolve either of them. #1. I am passing data to a javascript function in json format, which contains escaped \. #2. This is the issue.

[flexcoders] Re: ExternalInterface erros

2009-01-12 Thread flexaustin
. On Mon, Jan 12, 2009 at 7:55 PM, flexaustin flexaus...@... wrote: I can't really post the code. The issue is either I think is either one of two things, but I can't seem to resolve either of them. #1. I am passing data to a javascript function in json format, which contains escaped

  1   2   3   >