RE: [flexcoders] Can a variable set in one component be called in another component?

2009-09-21 Thread Tracy Spratt
You can pass references to one component into another. You can use a central model accessible by both components. You can use events. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of sp

RE: [flexcoders] trying to control space above label

2009-09-21 Thread Tracy Spratt
VBox has a verticalGap property. Set it to 0. also you can set the padding on the label to 0. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of mitchgrrt Sent: Monday, September 21, 2009

RE: [flexcoders] Re: SystemManager????

2009-09-21 Thread Alex Harui
I believe most folks use a proxy service to get their server to get the images from the foreign server. You can also place a transparent shield over the images. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogrou

Re: [flexcoders] Exposing a swc from a library swc

2009-09-21 Thread Jeffry Houser
I would expect there to be a way to say "Combine this swc and these classes into a new swc"; but I've never had to do it. Will the "include-classes" compiler argument do it? ( http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html ) When creating a Flex Library Project,

Re: [flexcoders] Exposing a swc from a library swc

2009-09-21 Thread migchulo
I am not sure if it's possible, but I was thinking that maybe there is a attribute in the manifest.xml. thanks migchulo wrote: > > I am trying to create a library swc that contains all my images, utility > and common classes which are shared across multiple projects. This works > fine, howeve

[flexcoders] Re: Extend ToggleBar to Allow For Multiple Button Labels

2009-09-21 Thread turbo_vb
Well, you are talking about a Button, so either extent Button and ToggleButtonBar, or you can do it a lot easier using a HorizontalList and itemRenderer. Just set allowMultipleSelection="false". -TH --- In flexcoders@yahoogroups.com, victoria powers wrote: > > I'm trying to create a tag list

[flexcoders] Re: Extending ToggleButtonBar to Allow for Multiple Labels on A Button

2009-09-21 Thread vic8427
I'm not sure if this went through. So apologies in advance if you have received this twice. I have already given that a shot. I calculated the appropriate number of characters needed and subtracted the number of characters in the tagname to get how many spaces to add. Due to the variances in

[flexcoders] Extend ToggleBar to Allow For Multiple Button Labels

2009-09-21 Thread victoria powers
I'm trying to create a tag list that will display the name of the tag and the number of posts associated with that tag. I want to use the ToggleButtonBar so the user can choose only one tag at a time. The problem is that it will only accept one label. I need two, name of the tag to the left and t

[flexcoders] TextInput control *inside* of a combobox's dropdown

2009-09-21 Thread ssj4_dave
Hi everyone, I was wondering if anyone could help me with a problem I have -- I need to wire up an interface which calls for a ComboBox where the first item in the dropdown is a TextInput control which remains static (ie. the TextInput is always the first item in the list, even when the list is sc

[flexcoders] Re: Extending ToggleButtonBar to Allow for Multiple Labels on A Button

2009-09-21 Thread vic8427
I tried that but it will not correctly align the tag name to the left and the number of posts to the right. (as if it were in two different text fields within an HBox) I calculated the number of characters to account for, then subtracted the number of characters the tagname contained to get th

[flexcoders] Re: Flash builder 4 Slower Compilation

2009-09-21 Thread Everson Alves
I tried putting flash builder to use 1Gb of ram, but that wasn't the cause... Anybody? On Mon, Sep 21, 2009 at 2:05 AM, Everson Alves wrote: > Hello, > > I'm trying to use FB4 as main ide. Ok, I know it's beta! But everything > that I want works. The problem is that the compilation time on the sa

[flexcoders] Re: SystemManager????

2009-09-21 Thread flexaustin
Is there a way to allow it to be in the same sandbox? I think you gave a talk on this once. Jason --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Security. The event.target would be an object in the other sandbox > > Alex Harui > Flex SDK Developer > Adobe Systems Inc. > Blog: ht

RE: [flexcoders] Re: Flickering in datagrid Header Renderer while loading data

2009-09-21 Thread Alex Harui
File a bug with a simple test case. Also make sure you're using Flex 3.4 Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of djhatrick Sent: Monday, Septembe

RE: [flexcoders] Re: Flex Module loading via AMF

2009-09-21 Thread Alex Harui
SWF, JPG, PNG, GIF are already an efficient delivery format. Often, encoding of efficient things leads to inefficiencies. AMF is for plain data. It can be more efficient than representing the object in XML. Putting optional code in Modules and only loading them when needed is your best bet.

Re: [flexcoders] Extending ToggleButtonBar to Allow for Multiple Labels on A Button

2009-09-21 Thread Fotis Chatzinikos
Why do not you simply create the needed label (tagname + possible space chars + numberOfPosts)? On Mon, Sep 21, 2009 at 6:47 PM, powers wrote: > > > > I'm trying to create a tag list that will display the name of the tag and > the > number of posts associated with that tag. I want to use the To

Re: [flexcoders] Re: Strange screen behaviour when scrolling

2009-09-21 Thread thomas parquier
I'm not sure, I think I've seen such artefacts with some 3d components (rotated around y) with "clipcontent" set to false. thomas parquier --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net téléphone portable : +33601 822 056 2009/9/21 sk

[flexcoders] Re: Flex Module loading via AMF

2009-09-21 Thread shyam_29
HI Alex, Thanks for the reply. i was under the assumption that since amf is a compact/efficient binary format, using it might give me a bit more optimized loading for my module and thus save me some app loading time. My application, as it stands now, doesnt use AMF. But me thinking of integr

[flexcoders] Re: Event.ADDED_TO_STAGE triggering twice twice inside my uiComponent

2009-09-21 Thread reflexactions
Usually caused when the parent container turns on the content pane because of scrollbars, causing everything below to get removed and added again. --- In flexcoders@yahoogroups.com, "djhatrick" wrote: > > I made a module, create a flash component added it to my uiComponent, and the > result is

[flexcoders] Re: Flickering in datagrid Header Renderer while loading data

2009-09-21 Thread djhatrick
I'm having this issue and it sucks. To work around it internally I am adding a bitmap image-copy of the datagrid inside until it renders completely, which I've figured on some arbitrary number... This really sucks for us developers, makes our projects look unstable... Is this going to be addre

[flexcoders] Event.ADDED_TO_STAGE triggering twice twice inside my uiComponent

2009-09-21 Thread djhatrick
I made a module, create a flash component added it to my uiComponent, and the result is that objects inside my flash component, movieclip and sprites get the ADDED_TO_STAGE method fired twice. Anyone else notice this? Thanks, Patrick

[flexcoders] Re: How to dynamically add series to an areaChart/cartesian chart

2009-09-21 Thread djhatrick
No, I tried that and it didn't work. Basiially, you create an array then assign the series to that array, then you have the ability to style your series through styles like... metricsChart.series =_seriesArray; metricsChart.series[i] = series; Thanks, Patrick --- In flexcod

RE: [flexcoders] Flex Module loading via AMF

2009-09-21 Thread Alex Harui
Why do you need to use AMF to load the module? Why not just load it normally? A module is a SWF though so you can bring it in as a bytearray and use the third parameter to IModuleInfo.load Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharu

[flexcoders] Extending ToggleButtonBar to Allow for Multiple Labels on A Button

2009-09-21 Thread powers
I'm trying to create a tag list that will display the name of the tag and the number of posts associated with that tag. I want to use the ToggleButtonBar so the user can choose only one tag at a time. The problem is that it will only accept one label. I need two, name of the tag to the left and

[flexcoders] Re: Strange screen behaviour when scrolling

2009-09-21 Thread skygod37
That's a pity. I would be happy to port the applicaton to an AIR application, but unfortunately our clients will not accept that. Does SDK 4 also have this behaviour? Regards, Dik

RE: [flexcoders] Re: SystemManager????

2009-09-21 Thread Alex Harui
Security. The event.target would be an object in the other sandbox Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Andrews Sent: Monday, Septem

SOLVED - [flexcoders] Re: Using Just Some Components of Flexlib

2009-09-21 Thread valdhor
I was once told: "There is only one question that is stupid - the question that is never asked". I abide by that. Everybody has to start somewhere. One day, the light bulb will go off in your head and you will think "That's so obvious. Why did I have a problem with it". Don't worry, you'll get

[flexcoders] Re: Pop a window with a hyperlink?

2009-09-21 Thread valdhor
Wally Use the HTMLText property and listen for the link event. The following example should help (Note that I am not good with Style Sheets so there is probably a better way of styling the links): http://www.adobe.com/2006/mxml"; creationComplete="onCreationComplete()">

[flexcoders] trying to control space above label

2009-09-21 Thread mitchgrrt
It seems like when I put some labels in my app, there is always 5 pixels padding above them: .systemDescriptionText { fontFamily: "Lucida Sans Unicode"; fontSize:12

Re: [flexcoders] Re: Trying to convince people to develop with Flex

2009-09-21 Thread Angelo Anolin
While I agree that building out something would be great. That's probably not possible right now. - But showing them applications which are not fit for how the organization does business may also give a wrong impression of Flex and how the development platform would enable your business bottom

[flexcoders] Re: Effects does not stop with API

2009-09-21 Thread ilikeflex
--- In flexcoders@yahoogroups.com, "ilikeflex" wrote: > > Hi > > Please see the sample code. > > In the sample, i am playing two effects. One effect start, then another > finishes and vice versa. > > When i click on stop, i am expecting that both effect should stop but it does > not work t

Re: SOLVED - [flexcoders] Re: Using Just Some Components of Flexlib

2009-09-21 Thread Angelo Anolin
Thanks Valdhor. I think my level of knowledge with regards to the power of Flex is not yet even in elementary, so pardon my lack of knowledge. On a positive note, I feel am getting there. And with a great group like this where you are able to get proper answers from the masters themselves, you

[flexcoders] .swc files / base classes and flash->flex playing nicely together

2009-09-21 Thread djhatrick
I have a complex project and I have .swc file, I've added classes in flash that have their linkage set up. I compile my .swc add it to my project, and then when I compile in flex I get ambiguous references. What's the sure-fire way to make this work correctly. This is a powerful feature, and

[flexcoders] Re: Still struggling with creation complete

2009-09-21 Thread dfalling
The problem I run into with rolling a new viewstack, is that many of the situations where I want to use this require a viewstack, so I have to extend it. --- In flexcoders@yahoogroups.com, "reflexactions" wrote: > > Out of the box when using deferred instantiation the ViewStack was designed > t

[flexcoders] Effects does not stop with API

2009-09-21 Thread ilikeflex
Hi Please see the sample code. In the sample, i am playing two effects. One effect start one other finishes and vice versa. When i click on stop, i am expecting that both effect should stop but it does not work that way. Am i missing some thing?? http://www.adobe.com/2006/mxml"; creati

[flexcoders] Can a variable set in one component be called in another component?

2009-09-21 Thread spuy...@ymail.com
Can a variable set in one component be called in another component without having to go back to the application file? I just want to set a variable in one component, and then access that variable in another component.

[flexcoders] Re: Still struggling with creation complete

2009-09-21 Thread dfalling
Here's a sample app with the sliding viewstack. The problems in this example are a) I'm failing to make the new view create itself, b) I don't know what to listen to in the event that I succeed with a). Thanks. http://flexninja.com/examples/slidingViewstack/ --- In flexcoders@yahoogroups.com,

[flexcoders] Re: x and y localToGlobal

2009-09-21 Thread flexaustin
thanks alex --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > If tool and targ have the same parent, then a simple assignment of the x,y > should be good enough, assuming that both are drawing into positive > coordinates only. If you've got something drawing into negative coordinates >

RE: [flexcoders] Strange screen behaviour when scrolling

2009-09-21 Thread Gregor Kiddie
We've seen this a lot when there are a lot of editable controls on a screen. Unfortunately, we've not been able to get a simple enough project that displays the behaviour to send to Adobe. We've re-produced it using the scroll bars as well (if you scroll up and down quickly, you can re-create it

[flexcoders] Pop a window with a hyperlink?

2009-09-21 Thread Wally Kolcz
I have text on one of my applications that has 2 hyperlinks (CODE and PARTIAL TIME) that needs to pop a window the PopUpManager. Is there any way to do that? The text: Please record your hours by typing them in the corresponding day. Also include the appropriate code behind the number of hours (f

[flexcoders] Strange screen behaviour when scrolling

2009-09-21 Thread skygod37
Hi, anyone seen this before? When users have scroll down in a panel, some display elements overlap each oher (see the two screenshots). By scrolling up and down a few times they can get their display back to normal. http://staging.studiemeter.nl/overlap.jpg http://staging.studiemeter.nl/Untitl

[flexcoders] Re: Hi All

2009-09-21 Thread valdhor
Welcome. I hope you still feel the same in a years time ;-} Have fun. Steve --- In flexcoders@yahoogroups.com, "Calbeans" wrote: > > I just joined the group today and I'm really excited to learn more about Flex > and AS3. >

[flexcoders] Re: Using Just Some Components of Flexlib

2009-09-21 Thread valdhor
"Elementary, my dear Watson". Create a directory named "flexlib" inside your src directory. Inside that directory create a new directory named "controls". Place the PromptingTextInput.as file inside this directory. To use the control, first add the namespace to the component you wish to use it wi

Re: [flexcoders] Re: Trying to convince people to develop with Flex

2009-09-21 Thread Jorge Hernández
I would show the nasdaq flex app, it is one of my favourite! 2009/9/21 valdhor > > > Perhaps you could do it in your own time? > > When I first started my job here (A large Multi-National) I was tasked with > creating a front end UI to replace an unwieldy PHP/Perl system. They wanted > it redone

[flexcoders] Re: Trying to convince people to develop with Flex

2009-09-21 Thread valdhor
Perhaps you could do it in your own time? When I first started my job here (A large Multi-National) I was tasked with creating a front end UI to replace an unwieldy PHP/Perl system. They wanted it redone with JavaScript/AJAX. I had completed the first part of this in six months but there were m

[flexcoders] overloading styleFunction for ADG..How?

2009-09-21 Thread DevSachin
Hi All I want to create a logic to overload features of stylefunction of ADG. currently stylefunction has limited set of styles to apply on a cell like color,fontweight etc. I want to create a styleFunction which can do extra features like set image in a cell,Border(frame) around the cell etc wit

[flexcoders] Flex Module loading via AMF

2009-09-21 Thread shyam_29
Fellow coders. how do i load a module, via AMF?. I'm able to load assests (images,xmls,swfs..etc) via the usage of HttpService with an amf channel, but fail to find a way to load modules. The queston of why i'm doing this: AMF is supposed to be faster when dealing with binary data and so if

Re: [flexcoders] Re: SystemManager????

2009-09-21 Thread Paul Andrews
Alex Harui wrote: > > > If you click on content loaded from another domain, you don’t get a > click event. > In terms of "clicks" why should the originating domain matter? > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc. > > Blog: http://blogs.adobe.com/aharui >