[flexcoders] Re: SWFLoader problem

2009-11-03 Thread chandruflex
Thank you, Alex. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Set visible=false until it is loaded Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread claudiu ursica
You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_bran...@yahoo.comwrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread claudiu ursica
I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
is there a way to make the make the app wait until the complete sequence is complete before I call the next function? So I call a function but when I dispatch the event, I wait to stop there until the cmd result is complete On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_bran...@yahoo.comwrote: I have no idea what your architecture is, but if you use Cairngorm which I

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread claudiu ursica
You have a model right ? you can aceess the model inside the command and also inside the view. In the view you can addEvt... on the modelInstance.propertyYouwantToListen (model class extend eventDispatcher or implements IEventDispatcher for this) update the model when in the command, view

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
so it would be like this : model.varName.addEventListner(change, function); Sorry I have not use that yet, thanks On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_bran...@yahoo.comwrote: You have a model right ? you can aceess the model inside the command and also inside the view. In

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread claudiu ursica
something like that in the view model.varName. addEventListner( change, function); , however in your model setter you do something like private var _whateverName:WhateverType; public var set varName(val:WhateverType):void { if (val != _whateverName) { _whateverName = val;

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
so wout the setter just go in the model file? if so any place under the variable definition? On Tue, Nov 3, 2009 at 9:22 AM, claudiu ursica the_bran...@yahoo.comwrote: something like that in the view model.varName. addEventListner( change, function); , however in your model setter you do

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread claudiu ursica
Either in your public class ModelName implements IModelLocator or inside some other class which is part of you model... Again I don't know your architecture... Are you developing this on your own? C From: Darrin Kay dar...@stop-ing.com To:

Re: [flexcoders] Plot Chart Vertical Axis Rendere label Rotation Problem

2009-11-03 Thread Tom Chiverton
On Thursday 29 Oct 2009, Ramkumar wrote: Hi. Where and how to log bug? http://bugs.adobe.com/jira/browse/FLEXDMV -- Helping to augmentatively target leading-edge industry-wide bleeding-edge B2B designs as part of the IT team of the year, '09 and '08

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
yes, I got it in there but now it is telling me dispatchEvent(change) can not be a string, should be type flash.event:Event I have this in the ModelLocator.as: public function set varName(val:Number):void{ if(val !=areaID){ areaID = val; dispatchEvent(change); } } on the view

[flexcoders] dispatchEvent

2009-11-03 Thread Darrin Kay
ok all i want to do is add a eventListner to a variable, so when it changes value I kick off a event... why is it so damm hard? I am using cairngorn, and the variable is in the model scope. But I can not for the life of me figure how to get the dispatch / addeventlister to work and where it

RE: [flexcoders] dispatchEvent

2009-11-03 Thread Gregor Kiddie
Use binding? Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The

Re: [flexcoders] Adobe comment on ASC-3136?

2009-11-03 Thread Tom Chiverton
On Monday 02 Nov 2009, Matt Chotin wrote: Well, it's what Closed/Deferred means but I'll see. IMVHO the status should never just be changed, the reasons should be given (however briefly). -- Helping to carefully unleash high-end infrastructures as part of the IT team of the year, '09 and '08

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread claudiu ursica
Because you need to dispatchEvent(new Event(change)); You need to do some RTFM :) before posting stuff like this... C From: Darrin Kay dar...@stop-ing.com To: flexcoders@yahoogroups.com Sent: Tue, November 3, 2009 11:49:29 AM Subject: Re: [flexcoders] can you

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
Thanks for your help, I got it, was just a few things that needed to be done. Thanks for the help On Tue, Nov 3, 2009 at 11:42 AM, claudiu ursica the_bran...@yahoo.comwrote: Because you need to dispatchEvent(new Event(change)); You need to do some RTFM :) before posting stuff like this...

Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Tom Chiverton
On Tuesday 03 Nov 2009, Darrin Kay wrote: OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Either have the page use ChangeWatcher to observe the model, or pass 'this'

RE: [flexcoders] dispatchEvent

2009-11-03 Thread Jim Hayes
is it Watcher that you're looking for? something along these lines : (warning - straight off the top of my head so could well be wrong in detail at least. best check the docs) private function addWatcher():void {

RE: [flexcoders] dispatchEvent

2009-11-03 Thread Jim Hayes
ooops, maybe that should be ChangeWatcher. Apologies, I've just got off a 14 hour overnight flight in cattle class I'm afraid! -Original Message- From: flexcoders@yahoogroups.com on behalf of Jim Hayes Sent: Tue 11/3/2009 12:29 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders]

[flexcoders] Re: SWFLoader problem

2009-11-03 Thread chandruflex
Setting the SWFLoader component's visible attribute to false, solved the problem. Is it possible to control when the loaded swf file starts to play? This is because, by the time the swf file has loaded completely, and the SWFLoader component is made visible, the loaded swf file has already

Re: [flexcoders] Tab control of repeater items

2009-11-03 Thread Dave Cates
Any one got any ideas?! From: Dave Cates d...@redemptionmedia.co.uk Reply-To: flexcoders@yahoogroups.com Date: Mon, 02 Nov 2009 23:00:03 + To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Subject: [flexcoders] Tab control of repeater items Hi all, I¹m creating an app that

[flexcoders] How can I put a PopUPMenuButton in an AdvancedDatagridColumn?

2009-11-03 Thread thomas_13s
Hi, I have an advanced data grid , with 8 columns one of the columns i want the 8 th column as a POPUPMenu Button, and when I click on the menu item it should navigate to a url value which is in the Array dArr. Array dArr has 2 values ,how can i do this I have tried many things. Array dArr

[flexcoders] Re: SSL certificate on linux machine

2009-11-03 Thread Martin Polehla
Hello all, I have a qustion abou HTTPs connections and certificate about AIR/Flex on linux. I have an appliaction built using flexbuilder which use URLloader to an HTTPs appliacion. To work correctly I need have ssl certificate installed before I use my application. On windows, I install

[flexcoders] Re: State of secure communication in Flex?

2009-11-03 Thread Rob S.
Hi Matt, More specifically and not at all apparent from my original post :) I was asking about the status of WS-* related functionality. There are a few deferred/closed defects here (assigned to MC), for example SDK-15398 http://bugs.adobe.com/jira/browse/SDK-15398?page=com.atlassian.jira.plu\

[flexcoders] Display icon and label

2009-11-03 Thread atflex9
I am trying to display icon and label vertically in MenuBar control. But they are displaying it horizontally. I also tried to override updateDisplayList() but it did not worked out. Does anyone have a code snippet about how to display an icon and label vertically?

[flexcoders] A weird performance issue about regExp!

2009-11-03 Thread ha a
The further clue about the previous topic: A weird performance issue After some investigation, maybe regExp is one of the reasons. One loop in my air program:     var beg1:Date = new Date();     regexMatched = regexpArray[index].test(line);     var end1:Date = new Date();     sum1 +=

[flexcoders] Weird performance issue

2009-11-03 Thread ahatest
An air program will process many log files, click run button to inspect these log files one by one. *Problems*: Click run button, then the air program's performance is OK. Click run button again, then the air program's performance maybe OK or may not OK.(about 60-70% is NOT OK) Click run button

[flexcoders] Have you been trying to have multi-bit streaming?

2009-11-03 Thread actionscript7
We had a number of clients that needed multi-bit streaming for a video page. This page must look like the website and not a typical video. We hunted and hunted and came up empty. To make a long story short we developed a page (full screen) that will deliver 150 kilobytes and up. Our player

[flexcoders] Weird performance issue

2009-11-03 Thread ha a
An air program will process many log files, click run button to inspect these log files one by one. *Problems*: Click run button, then the air program's performance is OK. Click run button again, then the air program's performance maybe OK or may not OK.(about 60-70% is NOT OK) Click run button

[flexcoders] Problem in deploying flex app in hardware load balanced environment

2009-11-03 Thread abhishek gupta
I have developed the dashboard in my application using flex 3.0. For this I have used JSP wrapper around the flex application. My application runs on JBoss application server. for communication between flex app and my application I am using LCDS. HTTPService component is being used to receive

Re: [flexcoders] Display icon and label

2009-11-03 Thread kanu kukreja
try this http://dougmccune.com/blog/2007/01/25/vertical-menubar-component/ On Tue, Nov 3, 2009 at 9:16 AM, atflex9 atfl...@yahoo.com wrote: I am trying to display icon and label vertically in MenuBar control. But they are displaying it horizontally. I also tried to override

[flexcoders] real time messanging... REFdn2025035484

2009-11-03 Thread dennis
Suppose a flex. like a chat application, where the messages from other clients it is required to be transferred immediately. The solution is to develop a server side app where will be the hub and the message handler of client's messages. The communication will be based on tcp ip sockets.

[flexcoders] where must be the storage place for files will be used from flex applications? REFdn6015532475

2009-11-03 Thread dennis
Suppose a flex application that shows photographs and information of some products. Where these data will be stored and how will be retrieved? A known solution is to store this kind of information to an ftp server, so the flash app will download or upload the data from an ftp server. Is

[flexcoders] Wondering about buttons..

2009-11-03 Thread tchredeemed
I have always wondered what the best way to do this was: I need to create a reusable button, but this button will sometimes have an arrow on the right side, an 'x' on the right side, or nothing on the right side. There might be the possibility to have these on the left side too. I have

[flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread Doug McCune
Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a download of the entire archive of all flexcoders messages (up through last night). The

Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread primo411
Wow ! The UI looks really nice :) 2009/11/3 Doug McCune d...@dougmccune.com Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a

Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread Doug McCune
And of course instantly my server decides to go down. I'm aware, working on it. Sorry for the check this out, oh wait, server crashed :P Doug On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.com wrote: Wow ! The UI looks really nice :) 2009/11/3 Doug McCune d...@dougmccune.com

Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread Doug McCune
Seems to be back up, god I hate servers, but I guess that's why I do front-end development. BTW, I'm going to be investigating getting a full dataset of the Adobe Flex forums too and will likely do some similar visualizations once I figure out how to get the data. Looks like the forum software

[flexcoders] Re: real time messanging... REFdn2025035484

2009-11-03 Thread Mete Atamel
You can use messaging service in BlazeDS: http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/ -Mete --- In flexcoders@yahoogroups.com, dennis den...@... wrote: Suppose a flex. like a chat application, where the messages from other clients it is required to be transferred immediately.

[flexcoders] Re: Wondering about buttons..

2009-11-03 Thread valdhor
If I were going to do this, I would create a new class that extended button with a couple of public properties - one to set the icon side and one to set the icon type. --- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote: I have always wondered what the best way to do this was:

[flexcoders] SWF frame and Flash Player Frame

2009-11-03 Thread thelordsince1984
Hi folks, Could I have the definition about these concepts? What is the relationship between them? In particular, I would know if they are paired each other or not. Thanks in advance. Cheers.

Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread John McCormack
Very interesting stats., and it's hat's off to Tom Chiverton and Tracy Spratt. Thank you to them. How about a star burst to show which topics led to the most subsequent activity? John Doug McCune wrote: Seems to be back up, god I hate servers, but I guess that's why I do front-end

Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread John McCormack
And an specially big thank you to Alex Harui and Matt Chotin from Adobe for their Herculean work rate. John Doug McCune wrote: Seems to be back up, god I hate servers, but I guess that's why I do front-end development. BTW, I'm going to be investigating getting a full dataset of the Adobe

Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread Doug McCune
I've got the numbers for longest threads too, just didn't include those stats in the post. Here are the top 5 threads for all time and for the past year. For all time: Splitting FlexCoders into smaller, focused groups - 137 messages Will Microsofts new Silverlight Player kill our beloved Flex? -

Re: [flexcoders] flexcoders stats and charts (and full data download)

2009-11-03 Thread John McCormack
Interesting. I wonder if the threads are getting shorter - a sign of the times, perhaps. I was thinking it might be useful to know about all the ones that people have appended the tag 'SOLVED'. I wonder if someone at Adobe might pick this up and create a searchable database of solutions.

[flexcoders] Line 717 of ModuleManager

2009-11-03 Thread djhatrick
Anybody have a problem with this line moduleEvent.bytesLoaded = loader.contentLoaderInfo.bytesLoaded; sometimes I get a null reference. Thanks, patrick

[flexcoders] Re: How can I put a PopUPMenuButton in an AdvancedDatagridColumn?

2009-11-03 Thread valdhor
This quick and dirty example (Based on the Adobe Documentation) should get you well on your way: ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var

RE: [flexcoders] Matrix3D error

2009-11-03 Thread Chet Haase
The old projects from FB4 imported classes from the Flex 4 sdk and your Flex 3 compiler is complaining about classes that it can't find in Flex 3. If you want to compile against Flex 4 in FB3, then set up your SDKs to add the Flex 4 SDK, and point your project(s) at that SDK instead of the

[flexcoders] What's up with Flashbuilder beta2 and the export release build

2009-11-03 Thread djhatrick
Takes a half hour, then says my project has errors and can't do it -- the compiler can't find em i guess -- what a suck-a-thon!

Re: [flexcoders] Matrix3D error

2009-11-03 Thread Agha Mehdi
sorry. forgot to mention that it is pointing to flex 4 SDK On Tue, Nov 3, 2009 at 11:21 AM, Chet Haase cha...@adobe.com wrote: The old projects from FB4 imported classes from the Flex 4 sdk and your Flex 3 compiler is complaining about classes that it can’t find in Flex 3. If you want

Re: [flexcoders] Re: Fonts re-vanishing in module

2009-11-03 Thread primo411
Try setting it in applicationComplete ? 2009/11/3 djhatrick djhatr...@yahoo.com var myLoaderContext:LoaderContext = new LoaderContext(); myLoaderContext.applicationDomain = ApplicationDomain.currentDomain; why would applicationDomain be null after setting it in a creationComplete? ---

[flexcoders] Fonts re-vanishing in module

2009-11-03 Thread djhatrick
Only one module gives me this problem, but it went away for an hour and is back. I'm :( Thanks, Patrick

[flexcoders] Matrix3D error

2009-11-03 Thread Agha Mehdi
All, I just installed FB 3 and now my imported projects done in FB 4 beta 2 give me this error Type was not found or was not a compile-time constant: Matrix3D. How do I get rid of this? Thanks

[flexcoders] Re: Fonts re-vanishing in module

2009-11-03 Thread djhatrick
var myLoaderContext:LoaderContext = new LoaderContext(); myLoaderContext.applicationDomain = ApplicationDomain.currentDomain; why would applicationDomain be null after setting it in a creationComplete? --- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote: Only one module gives me

[flexcoders] Re: Skinning a container - Canvas

2009-11-03 Thread Rob S.
Yep, it's possible. Lots of discussion here, with a link to a blog post as well: http://bugs.adobe.com/jira/browse/SDK-14806 Rob --- In flexcoders@yahoogroups.com, hworke kanps...@... wrote: Hi, I see all the tutorials about skinning different components. What about skinning a

[flexcoders] FB3 Debug: Launch Failed: Invalid argument

2009-11-03 Thread Stephen Downs
I've having an extremely agonizing time dealing with mysterious alert messages when trying to debug my Flex Builder 3 project. Debugging begins, the status bar reads Launching project: (91%), the application loads in the browser and displays, but back in Flex it hangs with an error

[flexcoders] PlotChart Multiple Values Per Point

2009-11-03 Thread pliechty
I created a PlotChart with a single plotseries. My data has multiple values for the same point. How do I select all the items? Each point contains a query. I want to display the query for each one. So I need to be able to select them all. I am capturing the PlotChart change event. It

[flexcoders] Is callLater() a hack?

2009-11-03 Thread Richard Rodseth
I'm wondering if I'm excessively purist about not wishing to use callLater(). The specific case I have now is that I wish to set focus to the first field of a re-usable form when a new item is created, and select all the text in the field. Since I am using Mate, I have an injected listener in the

Re: [flexcoders] Skinning a container - Canvas

2009-11-03 Thread Richard Rodseth
You can skin VBoxes, HBoxes, and presumably Canvases by setting the borderSkin style property to a programmatic skin, for example. You can find example programmatic skins (eg. for gradients) on the web. On Mon, Nov 2, 2009 at 3:13 PM, hworke kanps...@gmail.com wrote: Hi, I see all the

[flexcoders] How can I populate the data in PopUpMenuButton?

2009-11-03 Thread thomas_13s
Hi , I have an advanced data grid , with 8 columns one of the columns i want the 8 th column as a POPUPMenu Button, and when I click on the menu item it should navigate to a url value which is in the Array dArr. Array ddArr has 2 values ,how can i do this I have tried many things. Array ddArr

RE: [flexcoders] Re: Fonts re-vanishing in module

2009-11-03 Thread Alex Harui
How did you prove it is null? IIRC, it doesn't always trace() very well. From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of djhatrick [djhatr...@yahoo.com] Sent: Tuesday, November 03, 2009 2:19 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Line 717 of ModuleManager

2009-11-03 Thread Alex Harui
What is null, loader? or loader.contentLoaderInfo? Could you be requesting a load on the same module? We have some bugs on that. From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of djhatrick [djhatr...@yahoo.com] Sent: Tuesday, November

RE: [flexcoders] Is callLater() a hack?

2009-11-03 Thread Alex Harui
Life would be better if you didn't need callLater, but sometimes you do. I wouldn't make it a staple of my code base though. When you click on something, the FocusManager tries to give it focus so if you try to set focus somewhere else, it may be overridden by the FocusManager.

RE: [flexcoders] Tab control of repeater items

2009-11-03 Thread Alex Harui
All parents need tabChildren=true, the thing that gets focus must implement IFocusManagerComponent and have focusEnabled=true and tabEnabled=true From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of Dave Cates [d...@redemptionmedia.co.uk]

RE: [flexcoders] Re: SWFLoader problem

2009-11-03 Thread Alex Harui
Depends. If you can talk to it, you can rewind it before making it visible. From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of chandruflex [chandruf...@yahoo.com] Sent: Tuesday, November 03, 2009 5:08 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] when is concatenatedMatrix set?

2009-11-03 Thread Alex Harui
Should be valid when rendered after being added to the display list. From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of flexaustin [flexaus...@yahoo.com] Sent: Monday, November 02, 2009 2:51 PM To: flexcoders@yahoogroups.com Subject: