Re: [flexcoders] mobile pushView Transition

2012-09-04 Thread dorkie dork from dorktown
Hi Mark, Check if there is an option to playTransition. If so you can set this to false. navigator.pushView(nextScreen, false); http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/ViewNavigator.html#pushView() On Wed, Aug 29, 2012 at 9:12 AM, markflex2007

Re: [flexcoders] Re: Adding stroke to text or bitmap at runtime

2012-08-03 Thread dorkie dork from dorktown
, but I don't think it is available. --- In flexcoders@yahoogroups.com, dorkie dork from dorktown dorkiedorkfromdorktown@... wrote: The picture I linked is not that clear. Here is a clearer picture and the article, http://www.blog.spoongraphics.co.uk/wp-content/uploads/2011/cafe-racer/13

Re: [flexcoders] check if the user has block all sites from using the camera and microphone

2012-08-02 Thread dorkie dork from dorktown
I don't know of a property that tells you this. But there may be a way to find out with the users help. If the mic is muted I open an alert window and tell the user that they'll need to enable it in the settings dialog. If they click OK to the alert window then I open the Flash microphone

[flexcoders] Tweens animated on a pixel or subpixel level

2012-05-30 Thread dorkie dork from dorktown
Are tweens animated to pixel or the subpixel value? For instance, if you were to animate a Spark Button x value from 0 to 100 would the button snap to whole pixel values?

[flexcoders] Memory Leak but why?

2012-05-15 Thread dorkie dork from dorktown
I've created a custom Effect called EndEffect that when played will call the end() method on the target effect sequence. I've tested this code in both the Effect.initInstance() call of the Effect and the EffectInstance.play() method: /** * @private */ override

[flexcoders] Dynamic Composite Effects

2012-05-15 Thread dorkie dork from dorktown
I need to be able to switch between two different child effects based on a condition at runtime such as this: DynamicSequenceEffect conditionOneEffectsArray Fade / /conditionOneEffectsArray conditionTwoEffectsArray Fade / /conditionTwoEffectsArray

Re: [flexcoders] Adding stroke to text or bitmap at runtime

2012-04-26 Thread dorkie dork from dorktown
I want to add a stroke (a border or outline) to the *edge* of the text or image itself. For example, the text and the image in this screenshot show what I'd like to do, http://blog.spoongraphics.co.uk/wp-content/uploads/2011/cafe-racer/retro-cafe-racer-ad.jpg. There are filters that add drop

Re: [flexcoders] Adding stroke to text or bitmap at runtime

2012-04-26 Thread dorkie dork from dorktown
to do at runtime. On Thu, Apr 26, 2012 at 8:41 PM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: I want to add a stroke (a border or outline) to the *edge* of the text or image itself. For example, the text and the image in this screenshot show what I'd like to do, http

Re: [flexcoders] Adding stroke to text or bitmap at runtime

2012-04-25 Thread dorkie dork from dorktown
I'm looking for more of something like this: s:Label text=Hello Filters! s:stroke s:SolidColorStroke weight=4 color=#ABCDEF/ /s:stroke /s:Label or this: s:Label text=Hello Filters! s:filters s:SolidColorStrokeFilter weight=4 color=#ABCDEF/ /s:filters /s:Label On Fri, Apr 13, 2012 at 12:15 AM,

[flexcoders] Adding stroke to text or bitmap at runtime

2012-04-12 Thread dorkie dork from dorktown
How would you add a stroke to dynamic text at runtime? If that's not possible how would you add a stroke to a bitmap (snapshot of text)?

Re: [flexcoders] external debugger

2012-03-29 Thread dorkie dork from dorktown
Schreuders wschreud...@gmail.comwrote: ** Is there any way to exlude this code being compiled into the release version? On 26 March 2012 11:20, Wouter Schreuders wschreud...@gmail.com wrote: great! thanks this is a super handy class On 23 March 2012 16:50, dorkie dork from dorktown

Re: [flexcoders] Debug Woes - Redux

2012-03-29 Thread dorkie dork from dorktown
It sounds like the SWF is cached. You'll need to find out if it is. I suggest you add a build number to your project that you can check if the swf is cached. There are ANT scripts online that increment a build number automatically before each build. If you can't find it online I can post an

Re: [flexcoders] external debugger

2012-03-23 Thread dorkie dork from dorktown
You can use MiniInspector to get that type of information. http://code.google.com/p/flexcapacitor/source/browse/trunk/library/src/com/flexcapacitor/utils/MiniInspector.as On Thu, Feb 9, 2012 at 5:22 AM, Wouter Schreuders wschreud...@gmail.comwrote: ** well the kind of functionality I'm

[flexcoders] How to create a line after each line in a TextArea

2012-01-30 Thread dorkie dork from dorktown
I'm trying to show a horizontal line under each row of text sort of like legal paper. I'm not sure what to do to accomplish this.

Re: [flexcoders] blackberry playbook cameraUI, cameraRoll problems

2012-01-11 Thread dorkie dork from dorktown
BTW If you are getting errors loading in media from Blackberry Playbook make sure to enable the permission access_shared. Otherwise you will get a Error 3003. 2011/7/23 Csomák Gábor csom...@gmail.com ** i use panels instead of titlewindows. it works for popups (check desktop version at

Re: [flexcoders] Re: HTML component with PDF disappears on rotate/scale

2012-01-05 Thread dorkie dork from dorktown
I think the PDF is being displayed in the Adobe Reader plugin and layered on top of your SWF. It doesn't support rotation at least not via component rotation property. You may be able to talk to the Reader plugin and specify a way to rotate it. On Thu, Jan 5, 2012 at 10:37 AM, markflex2007

Re: [flexcoders] You are the product

2011-12-22 Thread dorkie dork from dorktown
There is no flash application on the web that was designed with mobile devices in mind. There are people working on just those things. I'm one of them and I'll tell you why. I've created mobile apps for the Android market and there are advantages to that. But there are also advantages to

[flexcoders] Re: Check if a Security Domain is accepted or not (IE for bitmap smoothing)

2011-12-02 Thread dorkie dork from dorktown
To sort of answer my own question I've read that you can check parentAllowsChild and childAllowsParent on the loader of the Image. On Tue, Nov 29, 2011 at 11:33 AM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: I have an image I am pulling in from Facebook. It is running ok

Re: [flexcoders] Re: Red error borders on form items before form is validated

2011-11-29 Thread dorkie dork from dorktown
/2008/04/12/changing-the-focus-rectangle-color-on-a-textinput-control-in-flex/ OR you can hide this by using the property: focusAlpha mx:TextInput id=txtInput focusAlpha=0/ Good luck. --- In flexcoders@yahoogroups.com, dorkie dork from dorktown dorkiedorkfromdorktown@... wrote: When I

[flexcoders] Check if a Security Domain is accepted or not (IE for bitmap smoothing)

2011-11-29 Thread dorkie dork from dorktown
I have an image I am pulling in from Facebook. It is running ok but now that we rotated the image it looks horribly pixelated with a lot of aliasing. I tried to set bitmap smoothing to true and it resulted in the famous error: SecurityError: Error #2122: Security sandbox violation:

Re: [flexcoders] Re: Red error borders on form items before form is validated

2011-11-28 Thread dorkie dork from dorktown
. http://blog.flexexamples.com/2008/04/12/changing-the-focus-rectangle-color-on-a-textinput-control-in-flex/ OR you can hide this by using the property: focusAlpha mx:TextInput id=txtInput focusAlpha=0/ Good luck. --- In flexcoders@yahoogroups.com, dorkie dork from dorktown

[flexcoders] Red error borders on form items before form is validated

2011-11-17 Thread dorkie dork from dorktown
When I display my Form elements (TextInput, Combox, etc) the red error border is shown right away before the user even types into it. Why is this happening? How can I prevent it from showing a red error border when it's first displayed?

[flexcoders] Way to determine if an active debugging session is in progress

2011-11-08 Thread dorkie dork from dorktown
I need to find out if there is an active debugging session going on. Is it possible? I would like to have it setup to throw an error for the developer who is actively debugging but if it is at runtime I want to show a pop up message. I'm guessing there is possible since debugging goes through a

Re: [flexcoders] Re: Hit test fails when over Group

2011-10-27 Thread dorkie dork from dorktown
It works :) ...sortof. I have to set the property to true and also add an event listener to each group. From the mouseEndabledWhereTransparent docs: *This property only goes in to effect if mouse, touch, or flash player gesture events are added to this instance. In addition, it assumes that the

[flexcoders] Hit test fails when over Group

2011-10-26 Thread dorkie dork from dorktown
Hi, I'm trying to use drag and drop into a hgroup, vgroup and group but the getObjectsUnderPoint is not detecting it! This is an example, group width=200 height=50 button width=100 /group If you move the mouse over the button you will get the button and the group in the objects under point

[flexcoders] Re: Hit test fails when over Group

2011-10-26 Thread dorkie dork from dorktown
at 12:01 AM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: Hi, I'm trying to use drag and drop into a hgroup, vgroup and group but the getObjectsUnderPoint is not detecting it! This is an example, group width=200 height=50 button width=100 /group If you move

[flexcoders] Re: HELP Embedded font looks bold in Flash but crisp in Photoshop [1 Attachment]

2011-09-30 Thread dorkie dork from dorktown
When I said I set it to bold in Photoshop I meant strong. The font weight is normal in both Flash and Photoshop. I've attached an image to show you the settings in Photoshop, the settings in Flash and the visual results. On Thu, Sep 29, 2011 at 2:30 PM, dorkie dork from dorktown

Re: [flexcoders] Re: HELP Embedded font looks bold in Flash but crisp in Photoshop

2011-09-30 Thread dorkie dork from dorktown
-sharpness-thickness-and-grid-fit-type-in-flex/ On Fri, Sep 30, 2011 at 10:18 AM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: ** [Attachment(s) #132baea1f9a8a2f5_TopText from dorkie dork from dorktown included below]

[flexcoders] HELP Embedded font looks bold in Flash but crisp in Photoshop

2011-09-29 Thread dorkie dork from dorktown
I have embedded a font in my application and it looks bold when at runtime in Flash but in Photoshop it looks normal. I tried changing every setting in the world and what I found was that when I set the anti aliasing in Photoshop to bold it looks exactly like it does in Flash. So that tells me

Re: [flexcoders] Re: Flash Builder, The user operation is waiting for background work to complete

2011-08-31 Thread dorkie dork from dorktown
it compiles after each change. Sometimes that takes a bit longer than normal and I get that message. Waiting for a little while usually clears it up. --- In flexcoders@yahoogroups.com, dorkie dork from dorktown dorkiedorkfromdorktown@... wrote: Occasionally something happens to Flash Builder

Re: [flexcoders] Preventing Spark List from scrolling to top when adding / removing items.

2011-08-07 Thread dorkie dork from dorktown
See if this will work, // your code var index:int = list.selectedIndex; list.dataProvider.addItem(item); list.validateNow(); moveToIndex(index); protected function moveToIndex(index:int):void { var point:Point = list.layout.getScrollPositionDeltaToElement(index);

Re: [flexcoders] Error TooTips in Spark Forms

2011-08-07 Thread dorkie dork from dorktown
Hi Jeff, Since I've been working on mobile I don't have much room either. I use a label for error messages with includeInLayout and visible set to false and place it inside the FormItem container. If it's a vertical form item then the error label shows up beneath the form item. If it's horizontal

Re: [flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread dorkie dork from dorktown
Hi Tac, First setup your library project. Then go back to your original project and go into Properties Flex Build Path and click Add Project. A dialog will display available library projects for you to choose. Select your new library and click OK. The workspace will rebuild if it doesn't click

Re: [flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread dorkie dork from dorktown
BTW Welcome to Flex! :) On Sun, Aug 7, 2011 at 6:59 AM, tacman1123 tac...@gmail.com wrote: ** I'm new to Flex, I've been reading the Adobe Training from the Source book, but am stuck on a simple setup question. I want to integrate SQLite, and figured I'd use probinson's sqlite utilities

[flexcoders] Determine the framerate of a display object, Alex

2011-08-04 Thread dorkie dork from dorktown
Is there way to determine the frame rate of a specific Flex component or display object? For example, if I have a display object that is using a heavy amount of graphics drawing commands and another visual element next to it that is not would adding listeners on each for the render event produce

[flexcoders] Flash Builder, The user operation is waiting for background work to complete

2011-08-02 Thread dorkie dork from dorktown
Occasionally something happens to Flash Builder where everytime I save I get the dialog, The user operation is waiting for background work to complete. I've tried restarting and it doesn't seem to make a difference. Usually I end up closing all the editors and all the projects, cleaning them and

[flexcoders] Proper way to ensure components in a different state are created

2010-09-01 Thread dorkie dork from dorktown
When I try to access components that are in a different state on the line after I set the current state I get this error, TypeError: Error #1009: Cannot access a property or method of a null object reference. // code currentState = NOTES; noteComponent.text = value; // noteComponent exists in

Re: [flexcoders] Proper way to ensure components in a different state are created

2010-09-01 Thread dorkie dork from dorktown
this helps, Derek *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *dorkie dork from dorktown *Sent:* Wednesday, September 01, 2010 5:15 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Proper way to ensure components in a different state

Re: [flexcoders] Proper way to ensure components in a different state are created

2010-09-01 Thread dorkie dork from dorktown
, and set the text property in the mxml tag to {noteText}. Then you only have to assign the value to the noteText variable. Le 2010 9 1 10:48, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com a écrit : When I try to access components that are in a different state on the line after I

Re: [flexcoders] Proper way to ensure components in a different state are created

2010-09-01 Thread dorkie dork from dorktown
creation policy to immediate. On Wed, Sep 1, 2010 at 10:44 PM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: Thanks, I'll do that. My main quest was trying to find the equivalent of createComponentFromDescriptors in Flex 4 spark components. If I find anything I'll post back

Re: [flexcoders] Calculating width of a child BEFORE it's added...

2010-08-30 Thread dorkie dork from dorktown
Example code, mx:VBox width=100% mx:Text width=100% / /mx:VBox If you need to truncateToFit the text you can use the truncateToFit property, more info... http://blog.flexexamples.com/2008/01/26/truncating-text-in-the-flex-label-control-using-the-truncatetofit-property/ On Mon, Aug 30, 2010 at

[flexcoders] Preventing selected item in List from auto scrolling into view

2010-08-28 Thread dorkie dork from dorktown
When I select an partially visible item/row in a vertical Spark List the item will scroll into view but only the bare minimum. So if there are 5 rows on the screen and I click row 3, 4 or 5 then that row will expand but it will usually stay at the Y position it is at leaving rows 1 and 2 visible

[flexcoders] Constraining one components location to another component

2010-08-26 Thread dorkie dork from dorktown
Is there a way to constrain one component to another component? I've looked at constraint rows and constrain columns in the past but I haven't got it to work myself. IE, Group id=imageContainer width=500 height=500 Image id=mainImage width=100 height=100 verticalCenter=0 horizontalCenter=0/

Re: [flexcoders] Re: Speeding project compilation

2010-08-24 Thread dorkie dork from dorktown
project compilation --- In flexcoders@yahoogroups.com, dorkie dork from dorktown dorkiedorkfromdorkt...@... wrote: There's an option in Project Properties Flex Compiler called Copy non-embedded files to the output folder. Unfortunately, we can't uncheck this, or our XML files don't get

Re: [flexcoders] Speeding project compilation

2010-08-23 Thread dorkie dork from dorktown
There's an option in Project Properties Flex Compiler called Copy non-embedded files to the output folder. Also, you can embed your assets via your stylesheet by selecting your css file in package explorer and selecting, Compile CSS to SWF from the context menu. This will wrap up all your

Re: [flexcoders] Re: Encoding XML Character Entity References *properly*

2010-08-22 Thread dorkie dork from dorktown
var x:XML = new XML(root/root); var b:String = a foostring/foo/ ie lkj l; x.appendChild(b); textarea.text = x.toXMLString(); does this work for you? it is for me. also what SDK FP version are you using? are you using as3corelib? there is an xmlutil.isvalid method that you can use On Thu, Aug

[flexcoders] Key listener doesn't work in pop up

2010-08-19 Thread dorkie dork from dorktown
I have a Spark List where the key listener works fine in a Group component on the Application. But when I put it in a pop up no key events are firing. JP

[flexcoders] Re: Key listener doesn't work in pop up

2010-08-19 Thread dorkie dork from dorktown
I got it fixed. I had to set focus to the List. On Thu, Aug 19, 2010 at 6:20 PM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: I have a Spark List where the key listener works fine in a Group component on the Application. But when I put it in a pop up no key events

[flexcoders] Why can't I change the highlight color of Spark text?

2010-08-17 Thread dorkie dork from dorktown
I've spent soo much time trying to find how to do this. I'm using, sparkTextArea.selectAll() to select text but I've found no way to change the highlight color. JP

Re: [flexcoders] Why can't I change the highlight color of Spark text?

2010-08-17 Thread dorkie dork from dorktown
Thanks. It was working all along. I was using textarea.selectRange(). Since I was pressing a button to select the text the textarea was always unfocused so I wasn't seeing the effect of that style. I added unfocusedTextSelectionColor as well. On Tue, Aug 17, 2010 at 12:07 PM, Alex Harui

[flexcoders] How to get the width of the Itemrenderer in a List

2010-08-17 Thread dorkie dork from dorktown
How would I get the width of an item renderer in a list? I'm trying to fit the width of a list so that it doesn't clip an item renderer half way thru if there's not enough space. So if the List is 105 px wide and an single itemrenderer is 10 pixels wide then I want to resize the list to 100

Re: [flexcoders] HTTPService not updating...

2010-08-17 Thread dorkie dork from dorktown
it's prob accessing it from the cache. instead of this, url=reports/xml/{_reportInfo.fileName}.xml use this: url=reports/xml/{_reportInfo.fileName}.xml?time={getTimer()} that snippet might not be bindable so add the time in code whenever you access that file On Tue, Aug 17, 2010 at 6:17 PM,

Re: [flexcoders] How to get the width of the Itemrenderer in a List

2010-08-17 Thread dorkie dork from dorktown
Spark. If the item renderer item is outside of the Lists visible area then it returns width or height 0 or sometimes index out of bounds errors. It seems items aren't created if they haven't been scrolled into view yet and if they have but they aren't in view currently then I think it's returning

Re: [flexcoders] Push verse Poll in Flash Player

2010-08-16 Thread dorkie dork from dorktown
good idea :) that'll work On Mon, Aug 16, 2010 at 2:42 AM, Alexander Farber alexander.far...@gmail.com wrote: An idea: you could open a socket connection (because of corporate proxies best would be the port 80) and try to read an integer: private function handleTcpData(event:Event):void

Re: [flexcoders] Ahhh, Problems with Modules and Skins...

2010-08-16 Thread dorkie dork from dorktown
Can you use an ID reference? s|Group #groupID_in_Module { skin:ClassReference(something); } Also can you paste the code you're using and a example module? This will help future readers ;) JP On Mon, Aug 16, 2010 at 8:20 PM, Wally Kolcz wko...@isavepets.com wrote: So, what works is CSS

Re: [flexcoders] Re: Push verse Poll in Flash Player

2010-08-13 Thread dorkie dork from dorktown
i will! thanks what about creating a php socket server? is that practical? On Wed, Aug 11, 2010 at 7:34 PM, flexcodemonkey michael_reg...@dell.comwrote: Have you looked into BlazeDS or LCDS? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, dorkie dork from dorktown

Re: [flexcoders] Copy/Clone UIComponent

2010-08-13 Thread dorkie dork from dorktown
i don't know of any method to copy a component. is the pop up modal? what i would do is create a bitmap copy of the accordion while the pop up is visible and then add it back to it's original location when the pop up is closed. or create the original accordion to use a dataProvider. then in the

Re: [flexcoders] Push verse Poll in Flash Player

2010-08-12 Thread dorkie dork from dorktown
correct On Wed, Aug 11, 2010 at 11:40 PM, Akshar Kaul akshar.k...@gmail.com wrote: what kind of notifictions do you want. i guess you want to query your backend every 30 or 60 seconds.. Akshar Kaul On Thu, Aug 12, 2010 at 05:46, dorkie dork from dorktown dorkiedorkfromdorkt

[flexcoders] Push verse Poll in Flash Player

2010-08-11 Thread dorkie dork from dorktown
Is there a way to get notifications on a regular interval for Flash applications? Any and all suggestions about push vs pull vs poll vs etc. We would be checking every 30 seconds to 60 seconds. JP

[flexcoders] Rectangle border is not drawn in Item Renderer in List when moving to next page of items

2010-08-10 Thread dorkie dork from dorktown
I have a Spark List with an Item Renderer that contains a Rectangle with a solid color stroke. When the list first appears it works fine. I use the keyboard to go to the next item until I get to the last visible item. When I go to the next item, its in a horizontal list, all the borders disappear

[flexcoders] Re: Rectangle border is not drawn in Item Renderer in List when moving to next page of items

2010-08-10 Thread dorkie dork from dorktown
It's fixed. It was my error. I was setting the color in another place. On Tue, Aug 10, 2010 at 3:25 AM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: I have a Spark List with an Item Renderer that contains a Rectangle with a solid color stroke. When the list first appears

Re: [flexcoders] Re: ItemRenderer gets invalidated when List is scrolled

2010-08-09 Thread dorkie dork from dorktown
With useVirtualLayout set to true the list will create a set number of renderers. As you scroll the list will recycle these item renderers. In this scenario you are never guaranteed that the renderer associated with your data will remain with that data. If you want to guarantee that the renderer

[flexcoders] Making the background of a spark list transparent

2010-08-06 Thread dorkie dork from dorktown
I can't seem to find it anywhere. Is there a property that I can set to set the white background of the transparent? JP

Re: [flexcoders] Why does Flex 4 hate modules?

2010-08-05 Thread dorkie dork from dorktown
Is it possibly some of your components are still using references to StyleManager (mx) and have not been updated to styleManager (spark). http://www.jonathanrowny.com/journal/migrating-flex-4-stylemanager 2010/8/5 Alex Harui aha...@adobe.com Because I see _AdminPortal_FlexInit and

Re: [flexcoders] How to compile single project as both Desktop and WEB

2010-08-04 Thread dorkie dork from dorktown
I think you can set a property that will allow it to incremental build. Also, how are you deploying the same project to desktop and web? Desktop requires WindowApplication and web Application. On Wed, Aug 4, 2010 at 5:00 PM, Oleg Sivokon olegsivo...@gmail.com wrote: Maybe someone will

Re: [flexcoders] Whats Next in Flex ?

2010-08-02 Thread dorkie dork from dorktown
i've read 4.5 is planned to be released second half of this year. Sat, Jul 31, 2010 at 6:45 PM, Wally Kolcz wko...@isavepets.com wrote: Ok, I've read all about Hero, when is it going to be available for development? On 7/31/2010 12:25 PM, dorkie dork from dorktown wrote: http

Re: [flexcoders] Whats Next in Flex ?

2010-08-01 Thread dorkie dork from dorktown
. Sat, Jul 31, 2010 at 6:45 PM, Wally Kolcz wko...@isavepets.com wrote: Ok, I've read all about Hero, when is it going to be available for development? On 7/31/2010 12:25 PM, dorkie dork from dorktown wrote: http://iamdeepa.com/blog/?p=62 On Sat, Jul 31, 2010 at 10:57 AM, Sajid Hussain

Re: [flexcoders] Whats Next in Flex ?

2010-07-31 Thread dorkie dork from dorktown
http://iamdeepa.com/blog/?p=62 On Sat, Jul 31, 2010 at 10:57 AM, Sajid Hussain enchanter_...@yahoo.comwrote: Whats more exciting in Flex ? for future

Re: [flexcoders] Argghhh!

2010-07-21 Thread dorkie dork from dorktown
What are you talking about? I like the behavior if you copy a folder in Finder and then paste that into a project it pastes the folder and the folders contents go with it. Why would you only want 1 file to be copied with it? If you want that just copy the one file. On Wed, Jul 21, 2010 at 11:16

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
right. its for lazy loading. when the scroll thumb goes into the hot area then it sends requests to the server for new content. when new content is received i create a new container and add it to the accordion with addChildAt(newContainer, 0); to make sure it is before existing content. to keep a

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
i tried both adding it before and after data is available. the data isn't necessary. its as soon as i add a new container to the beginning of the accordion 2010/7/13 Tom Chiverton tom.chiver...@halliwells.com On Tuesday 13 Jul 2010 08:48:43 you wrote: right. its for lazy loading. when the

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
I think what I'm looking for is a way to have it not apply any updates for a few frames. In the same way includeInLayout set to false causes it to be skipped in the layout, something similar to prevent any updates to scroll position. On Tue, Jul 13, 2010 at 3:54 AM, dorkie dork from dorktown

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
: I think what I'm looking for is a way to have it not apply any updates for a few frames. In the same way includeInLayout set to false causes it to be skipped in the layout, something similar to prevent any updates to scroll position. On Tue, Jul 13, 2010 at 3:54 AM, dorkie dork from

Re: [flexcoders] Re: stopping accodion animation

2010-07-12 Thread dorkie dork from dorktown
i *haven't* been able to get this to work but you may, accordion.endEffectsStarted(); you can also set the openDuration to 0 when you remove the children. then set it back after. its a style so use: accordion.setStyle(openDuration, 0); On Mon, Jul 12, 2010 at

[flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-12 Thread dorkie dork from dorktown
There's a component that I'm adding child components too it. When I do this there's a flash as the component is added and resized and then put into the right position. Is there a way to prevent a square area from being rendered for a second or two? I can fix the issue but I'd have to go into

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-12 Thread dorkie dork from dorktown
In that case, I'll elaborate on the situation... I am using a horizontal Accordion component with newest items to the right. When you scroll left you get to a location where more items are added. As you add each item the scrollbar thumb track jumps to the right and then jumps back to where the

Re: [flexcoders] Dispatch an event from a non visual non IEventDispatcher class

2010-07-11 Thread dorkie dork from dorktown
/archives/2007/07/building_a_stat_1.html http://www.gskinner.com/blog/archives/2007/07/building_a_stat_1.html -- Best regards, JabbyPanda On 11 July 2010 08:13, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: Is there a way to dispatch an event from a class that doesn't

[flexcoders] Re: Adding an new child to an accordion changes selected panes

2010-07-10 Thread dorkie dork from dorktown
Actually I'm using addChildAt(0, new Canvas()). It may only be an issue with the HAccordion but still I need a way to stop it animating to the next pane. On Sat, Jul 10, 2010 at 2:32 PM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: When I add a new child to an accordion

Re: [flexcoders] Capturing ENTER key in a Numeric Stepper

2010-07-10 Thread dorkie dork from dorktown
the canvas tag has a defaultButton property that will dispatch a click event on your submitSearch button. i'm not sure what the eq would be in flex 4. On Sat, Jul 10, 2010 at 7:08 PM, Nick Middleweek n...@middleweek.co.ukwrote: Hello, I've got a form with a few fields on, one being a

[flexcoders] Dispatch an event from a non visual non IEventDispatcher class

2010-07-10 Thread dorkie dork from dorktown
Is there a way to dispatch an event from a class that doesn't extend EventDispatcher? For example, lets say you have 30 different value object classes. You want to have one method called invalidateData() that dispatches an event to get the latest content from the server. Since I want to keep the

Re: [flexcoders] Re: reuse paths shapes in skins

2010-07-09 Thread dorkie dork from dorktown
hi, wanted to get to this but was busy, that's exactly what you want to use. do u have flash catalyst? get the trial. then add some path or rectangle content to the stage and select all of them. right click and choose group. look at code. then right click again and select optimize graphics. then

[flexcoders] any word on smooth mouse wheel scrolling?

2010-07-09 Thread dorkie dork from dorktown
does anyone have a fix for a smooth mouse wheel scroll in datagroups or lists? right now it's jumping by 40px per scroll. it looks awful.

Re: [flexcoders] User Interface Design Groups

2010-07-07 Thread dorkie dork from dorktown
nick, i know the perfect group, its called flexcoders. ...or flashcoders. most flash platform developers come from a design background and have a passion for the best UI experience. so post it here!! :) design and UI xp IS part of the flash platform... On Wed, Jul 7, 2010 at 1:27 PM, Nick

Re: [flexcoders] line break?

2010-07-06 Thread dorkie dork from dorktown
// it used to be an issue which line break you used \n vs \r or the famous \n\r // each would work or not work depending on operating system // or \n or \n\r or br/ if html email var lineBreak:String = \r; private var emailString:String = emailMsg1 + lineBreak + emailMsg1 + lineBreak +

[flexcoders] how do u know if a component has a scroller attached?

2010-07-05 Thread dorkie dork from dorktown
how do u know if a component has a scroller attached? will it alwats be a direct parent of the component? also how can you check or add a scroller to the application?

[flexcoders] Is there a way to get the memory footprint of the display list

2010-07-03 Thread dorkie dork from dorktown
I know getSize() will return the size of the object you pass into it. jp

Re: [flexcoders] Is there a way to get the memory footprint of the display list

2010-07-03 Thread dorkie dork from dorktown
thx On Sun, Jul 4, 2010 at 12:08 AM, Alex Harui aha...@adobe.com wrote: You might be able to compute that from profiler output, but it won’t really tell you about backing Flash Player objects and OS graphics overhead. On 7/3/10 7:00 PM, dorkiedorkfromdorkt...@gmail.com

[flexcoders] Is there a way to reach into a skinClass of a component and update a property?

2010-07-01 Thread dorkie dork from dorktown
I have a RadioButton component that uses a custom skin. This skin has a text field on it that contains the number of items that can change over time. Is there a way to access this property and update the value? JP

[flexcoders] Re: Is there a way to reach into a skinClass of a component and update a property?

2010-07-01 Thread dorkie dork from dorktown
probably having to add custom properties. On Thu, Jul 1, 2010 at 7:34 PM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: I have a RadioButton component that uses a custom skin. This skin has a text field on it that contains the number of items that can change over time

Re: [flexcoders] Flex version of excel spreadsheet?

2010-06-29 Thread dorkie dork from dorktown
all your questions will be answered with google spreadsheets and google domain key... On Mon, Jun 28, 2010 at 8:51 AM, Paul Andrews p...@ipauland.com wrote: I have a potential client who has an excel spreadsheet they'd like to make into a proper application, delivered via a web page. Problem

[flexcoders] How to check if display object is visible to the user?

2010-06-29 Thread dorkie dork from dorktown
Let's say I have 10 images in a list. Only one is visible to the user. If I have a fade in effect I want to add to that image on load complete is there a way to see if the component is visible to the user so then on those instances i'm not running the fade in effect? JP

Re: [flexcoders] How much does FXG affect performance?

2010-06-28 Thread dorkie dork from dorktown
i had seen this before but in the context of this thread it makes much more sense this time around: http://help.adobe.com/en_US/as3/mobile/index.html http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c36c11f3d612431904db9-7ffc.html On Wed, Jun 23, 2010 at 4:29 PM, dorkie dork from dorktown

Re: [flexcoders] Get all styles at runtime of specific component [2 Attachments]

2010-06-26 Thread dorkie dork from dorktown
So there are two parts to this. I'm reiterating your replies: 1. Get a reference to a component at runtime via code and providing a list of all applicable styles just like design time displays in the property inspector. A: this is not possible to get all the styles of a component unless the

Re: [flexcoders] Debug button launching wrong file.

2010-06-25 Thread dorkie dork from dorktown
You can go into your project properties and remove all the applications except the main one. You can add them back later. Also go into the menu Run Debug Other. Remove or modify those as well. You may want to restart and clean as well. If it still persists post back. If you do post back I'd say

Re: [flexcoders] Wheel Scroll on Mac Buggy

2010-06-25 Thread dorkie dork from dorktown
I've seen it as well. Are you manually adding mouse wheel support through one of the numerous javascript patches? Try disabling it and see if it works. Note: There is no support for mouse wheel natively in Firefox browsers on Mac. On Fri, Jun 25, 2010 at 11:15 AM, Brendan Meutzner

[flexcoders] Get all styles at runtime of specific component

2010-06-25 Thread dorkie dork from dorktown
How do you get a list of all styles that a component supports? var buttonStyles:Array = getStyles(buttonComponent); var containerStyles:Array = getStyles(borderContainer); The follow up question to this is there a recommended api to get the computed style for that component instance? JP

Re: [flexcoders] How much does FXG affect performance?

2010-06-23 Thread dorkie dork from dorktown
so if i had an fxg file with 1 paths but those paths didn't change they wouldn't be redrawn every frame correct? how should i determine when to rasterize vector FXG art vs leaving it as is? On Fri, Jun 18, 2010 at 1:49 AM, Alex Harui aha...@adobe.com wrote: Maybe, yes, none, n/a, no, yes

Re: [flexcoders] Re: Time for a facelift - Flex 2 to Flash 4....:)

2010-06-23 Thread dorkie dork from dorktown
Though the changes seem small, alpha, asthetics, etc they can amass to something huge. Our project has experienced many upgrade pains and took much longer than anticipated. There are benefits of course but you shouldn't underestimate the time to upgrade. Hmm one point. You can build your project

Re: [flexcoders] How much does FXG affect performance?

2010-06-23 Thread dorkie dork from dorktown
so if you were in my position working on a large project how would you determine when to use FXG vector art and when to use a bitmap of that art? On Wed, Jun 23, 2010 at 11:06 AM, Alex Harui aha...@adobe.com wrote: Many FXG files are compiled down to Flash symbols (unless there is text

[flexcoders] How to check if a control is positioned by styles like Top and Left vs X and Y

2010-06-20 Thread dorkie dork from dorktown
How do you check at runtime if a control is positioned by styles like Top and Left vs X and Y? these always return 0 targetTop = target.getStyle(top); targetBottom = target.getStyle(bottom);

  1   2   3   4   5   >