Re: [flexcoders] setStyle not valid

2009-07-09 Thread niamath basha
small mistake use fontSize styleLabel.setStyle("fontSize", 72); With Regards, Niamath Basha www.niamathbasha.wordpress.com 2009/7/8 j2me_soul > > > I try to change the style at runtime > > > >private function butClickHandler(event:MouseEvent):void >{ > /* it doesn't work

Re:Re: [flexcoders] setStyle not valid

2009-07-09 Thread j2me_soul
I try to change the backgroundImage of a canvas ?private function butClickHandler(event:MouseEvent):void ?{ ??? /* invalidly */ ??styleCanvas.setStyl e(backgroundImage, @Embed('bird.png')); ? //? styleCanvas.setStyle(backgroundImage, Embed('bird.pn

[flexcoders] Streaming in LCDS

2009-07-09 Thread niamath basha
Hi all, I have a problem with streaming in LCDS. while running the sample using streaming channel it works fine when run it as 'localhost'. but when I tried to run it through IP address its not working. I tried to change the endpoint url by giveing ip address. but its not working. plese help me ou

Re: [flexcoders] "undefined" in stack trace (Console), stack overflow

2009-07-09 Thread thomas parquier
I would say the "undefined" trace matches a simple "trace(one_var);" in a file which is particular to your offline project (not in shared libs). To talk again about events based stack overflow, I would put two surrounding "trace" in event handlers to see stacked functions : > function handlerFunc

Re: [flexcoders] Re: dynamic image gallery

2009-07-09 Thread thomas parquier
Hi, I think "addImg()" in "imageListHandler" should be in "concernOriginalReceived". And I'm not sure source strings in "addImg()" are expanded ("such as assets/homeprofile_pics/extra_pics/{homeImages.img1}"), I think expansion of vars in {} only occurs in tags not in as. But your code is much co

[flexcoders] Make label of LegendItem selectable

2009-07-09 Thread Rico Leuthold
Hi, I try to make the text of the LegendItem label selectable, unfortunately with no luck. I thought this approach woud do the trick: 1.) Extend LegendItem 2.) override the set label and get label methods 3.) override the createChildren method In the createChildren() method I try to add a Lab

Re: [flexcoders] Actionscript on JSR223

2009-07-09 Thread Tom Chiverton
On Wednesday 08 Jul 2009, Tim Rowe wrote: > Does anyone happen to know of any JSR223 (Java platform scripting) > implementation(s) of ActionScript for dynamic use? I'm currently looking > through a lot of our business data validation logic which is implemented in > two places arguably unnecessaril

Re: [flexcoders] Re: why does my MXML act differently than my AS?

2009-07-09 Thread Tom Chiverton
On Wednesday 08 Jul 2009, Pan Troglodytes wrote: > For those interested: > https://bugs.adobe.com/jira/browse/FB-21363 Have you used '--keep-source' from the MXML version and compared to your AS class ? -- Helping to widespreadedly market supply-chains as part of the IT team of the year, '09 a

Re: [flexcoders] Performing a Trace with SDK Compiler Only

2009-07-09 Thread Tom Chiverton
On Tuesday 07 Jul 2009, Angelo Anolin wrote: > Care to show some examples of performing a trace using the SDK compiler > only? Put calls to 'trace(stringhere)' in your code. Build your code, making sure it's debug enabled. Start fdb Type 'run' Load your .swf file -- Helping to centrally adminis

[flexcoders] 3 questions

2009-07-09 Thread christophe_jacquelin
Hello, I have 3 questions - How to initialize a DateField with the date of the day ? - How to add a skin for the buttons of a buttonbar ? - How to display in red a given row of a DataGrid ? Thank you, Christophe

[flexcoders] Re: dynamic image gallery

2009-07-09 Thread stinasius
hi, care to show how to do that, kinda confused

Re: [flexcoders] Flex 4 System Manager idle threshold

2009-07-09 Thread superabe superabe
Ok. Anyway this can be made an enhancement for the Flex 4 SDK? It should be relatively easy to modify the System Manager to accept the threshold as a user epecified value, no? ( I believe NativeApplication in AIR allows for this) - superabe On Thu, Jul 9, 2009 at 1:13 AM, Alex Harui wrote: > >

[flexcoders] Re: "undefined" in stack trace (Console), stack overflow

2009-07-09 Thread Amy
--- In flexcoders@yahoogroups.com, Erik de Bruin wrote: > > Hi, > > Thanks for your swift reply. > > I did a check to see if what you suggest might be the case, by > inserting a trace() in all the event dispatch and handler functions, > but nowhere in the chain does this type of recursion occur.

[flexcoders] Re: Nested Objects with webORB PHP

2009-07-09 Thread valdhor
"channel disconnect" error generally means there is something wrong with your PHP code. Charles is a commercial product. It does have a time limited demo (ie. it will work for some small period of time and then quit). I still recommend Charles. If you are doing any serious work with AMF then it

Re: [flexcoders] Re: dynamic image gallery

2009-07-09 Thread thomas parquier
Sorry didnt mean to be offensive, but the difficulty to read the code is probably also the problem : the array of paths to images is build three times item by item and may not dispatch event on item update. In dataAr1, homeImages and home_img. dataAr1 is bindable so you could build the dataprovide

RE: [flexcoders] 3.3 API confusion

2009-07-09 Thread Stephen Gilson
Hi, That was a mistake in the doc. The addAll() method should not have been documented, and the same is true for the addAllAt() method. They will be available in a future release. Stephen From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Brian Sterling Sent: We

Re: [flexcoders] Re: why does my MXML act differently than my AS?

2009-07-09 Thread Pan Troglodytes
Yes, that's what I was referring to in the first post about digging through the generated source. On Thu, Jul 9, 2009 at 5:42 AM, Tom Chiverton wrote: > > > On Wednesday 08 Jul 2009, Pan Troglodytes wrote: > > For those interested: > > https://bugs.adobe.com/jira/browse/FB-21363 > > Have you use

RE: [flexcoders] How to link effects so that one starts after one finishes?

2009-07-09 Thread Chet Haase
There are a couple of ways you could make this work: 1) Simplest: make your triggered effects do the right thing (the appearing one waits for the disappearing one to finish, via a startDelay): This would ensure that the wipeUp effect (which always runs on the component coming into vie

Re: [flexcoders] How to link effects so that one starts after one finishes?

2009-07-09 Thread claudiu ursica
You can play the first effect and listen to the effectEnd event ant in the handler start the second effect or you can go with putting the effects inside a Sequence. C From: Chet Haase To: "flexcoders@yahoogroups.com" Sent: Thursday, July 9, 2009 5:50:27 PM

[flexcoders] Custom DataGrid with Form for itemeditor (any examples)???

2009-07-09 Thread flexaustin
Wondering if anyone has ever seen and example of a custom DataGrid component where you click a row in the DataGrid to edit it and instead of showing a combobox or textfield as an itemeditor you replace the entire row with a form. So any row or columns lines would be removed or the form would be

[flexcoders] Listen for event of unknown type?

2009-07-09 Thread luvfotography
Hi, I'm using swfloader to load a swf and want to listen for all events, but I don't know the event types or names, Is this possible?? thanks,

RE: [flexcoders] Listen for event of unknown type?

2009-07-09 Thread Jake Churchill
Yes, listed for Event (all events extend this class) Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography Sent: Thursday, July 09

[flexcoders] Re: Streaming in LCDS

2009-07-09 Thread Shailesh Mangal
--- In flexcoders@yahoogroups.com, niamath basha wrote: > > Hi all, > > I have a problem with streaming in LCDS. while running the sample using > streaming channel it works fine when run it as 'localhost'. but when I tried > to run it through IP address its not working. I tried to change the endp

[flexcoders] Re: Possible to change the Fill Color for ColumnSeries on itemRollOver?

2009-07-09 Thread Tim Hoff
Here's a slightly different approach: Chart Labeled Renderer Roll-Over Sample -TH --- In flexcoders@yahoogroups.com, "gmoniey22" wrote: > > Is it possible to change the fill color of 1 column whe

Re: [flexcoders] Listen for event of unknown type?

2009-07-09 Thread Richard Rodseth
Yes, but addEventListener takes a "type" parameter (not a class), so I don't think this will help the poster. On Thu, Jul 9, 2009 at 11:54 AM, Jake Churchill wrote: > > > Yes, listed for Event (all events extend this class) > > > > Jake Churchill > > CF Webtools > > 11204 Davenport, Ste. 100 >

[flexcoders] Next Question: digital pen & ink?

2009-07-09 Thread Adrian Resa Jones
This is something that I would expect Adobe to do, but can't find any clues. I may be looking for the wrong thing. Has anyone worked with digital scribblings using Flex? A. Resa Jones

[flexcoders] Re: Flex Browse File & Video

2009-07-09 Thread Adrian Resa Jones
Thanks Jeff & Gilbert. I think that my only solution is to upload the video in order to preview it if I can't access the path. This is not an ideal solution! A. Resa Jones --- In flexcoders@yahoogroups.com, "gilbert_mizrahi" wrote: > > In AIR loading a video works fine. > In Flex (FP10) I was

[flexcoders] Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread toofah_gm
I am seeing cases when the image loader COMPLETE event will not fire. Does anyone know why this is the case? I wonder if there is something wrong with some of my images that causes a bug in FLEX. Here is an example: http://www.adobe.com/2006/mxml"; layout="absolute" applicationComplete="ini

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread Tim Hoff
Hi Gary, There is a 2880 pixel limit for images. Your image is too wide. -TH --- In flexcoders@yahoogroups.com, "toofah_gm" wrote: > > I am seeing cases when the image loader COMPLETE event will not fire. Does anyone know why this is the case? I wonder if there is something wrong with some of

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread toofah_gm
TH, Thanks for the quick response. If the image is too wide, why does "http://www.mangumfamily.org/bar3.jpg"; work? It has the same dimensions, just no transparency. Gary --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > Hi Gary, > > There is a 2880 pixel limit for images. Your

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread Tim Hoff
What happens if you convert the jpg to a png with transparency? I seem to remember a problem with the alphas for a jpg. -TH --- In flexcoders@yahoogroups.com, "toofah_gm" wrote: > > TH, > > Thanks for the quick response. If the image is too wide, why does "http://www.mangumfamily.org/bar3.jpg"

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread toofah_gm
I tried this as well...I think that the original file is actually a PNG and not a JPG...unfortunately, this does not make a difference either. Gary --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > What happens if you convert the jpg to a png with transparency? I seem > to remember

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread Tim Hoff
Well, probably a question better answered by Alex. I suspect that the transparency is adding to the file size and hitting the size limit. But, at this point, it's just a guess. Try cropping the image down to see if you get to a point that it works. -TH --- In flexcoders@yahoogroups.com, "toof

[flexcoders] Re: How to link effects so that one starts after one finishes?

2009-07-09 Thread gmoniey22
Thanks...I went with states & transitions. Seemed a bit cleaner. --- In flexcoders@yahoogroups.com, Chet Haase wrote: > > > There are a couple of ways you could make this work: > > > 1) Simplest: make your triggered effects do the right thing (the > appearing one waits for the disappeari

[flexcoders] Re: Possible to change the Fill Color for ColumnSeries on itemRollOver?

2009-07-09 Thread gmoniey22
I wasn't aware that you could do it through css. I like that solution better than mine (particularly because it works). --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > Here's a slightly different approach: > > Chart Labeled Renderer Roll-Over Sample >

[flexcoders] Re: Possible to change the Fill Color for ColumnSeries on itemRollOver?

2009-07-09 Thread Tim Hoff
Ha, yeah if it works you get extra points. :) I tried using the chart's itemRollOver event, but ran into a snafu trying to drill down and change the fill of the BoxItemRenderer. It seems to have a getStyle method, but no setStyle(). Got past that, but the stroke style got me. Would probably be

[flexcoders] Trying to make SoundManager class using getDefinitionByName

2009-07-09 Thread Tracy Spratt
I am trying to make a sound manager class that will simplify playing a sound by using an id string. I have embedded the sound files, but am havign trouble getting the Sound object initialized. I get an error, "Variable beep1 is not defined" though cllearly it is. I suspect I am misusing getDef

[flexcoders] How to make a project to a .swc file

2009-07-09 Thread j2me_soul
I want to add a instance of a class or a component which is an old project to my new project. Is there any way to make this simply ?

[flexcoders] java data send to flex issue

2009-07-09 Thread j2me_soul
This is my data structure at back-end using java, ArrayList HashTable(keys, values); HashTable(keys, values); ... ... but the problem is when push the data to flex this data structure will be coverd to a instance of ArrayCollection and the HashTa

Re: [flexcoders] Actionscript on JSR223

2009-07-09 Thread Sam Lai
Doesn't GWT do something similar, converting the necessary Java code to Javascript? Maybe that part can be reused as AS code. Granted, you will lose the typing in the validation code, but I would presume that GWT would've thought about that and mitigated the security issues there? P.S. Silverlight

Re: [flexcoders] Actionscript on JSR223

2009-07-09 Thread Sam Lai
A hack would be to use the GWT code and Flash's ExternalInterface to validate via the Javascript produced by GWT and loaded in the browser. I don't know how much you have to commit to GWT before you can use it though; haven't used it before. 2009/7/10 Sam Lai : > Doesn't GWT do something similar,

RE: [flexcoders] tree not expanding with expandItem()

2009-07-09 Thread Tracy Spratt
When you assign a dataProvider programmatically, you need to wait for the control to update before attempting to interact with the visual elements, like node expanding. Use callLater to delay the expand code. I have an example on www.cflex.net if you need it. Tr

RE: [flexcoders] Problem with calling customcomponent second time.

2009-07-09 Thread Tracy Spratt
Also, when upi update the ComboBox's dataProvider, you should use the collection API to ensure that the necessary events are dispatched to ensure the visual component is updated. Don't use Array or XMLList as a dataProvider. Tracy Spratt, Lariat Services, development services available

[flexcoders] Re: dynamic image gallery

2009-07-09 Thread stinasius
Hi you were not being offensive, sorry if i gave you the idea you were, as a matter of fact you are trying to help and i am grateful for it. now i cant use lastResult because i am using a remote object and there is no resultFormat property on RemoteObject methods. so am still stuck, plus where y