Re: [flexcoders] WSDL objects -> Flex value objects

2010-02-03 Thread Nick Middleweek
This is super, I'll try this out today and seems it could save me some
leg-work...

Claudiu, I'll check out the translator class as well.


Cheers,
Nick



On 3 February 2010 15:40, Peeyush Tuli  wrote:

>
>
> Why dont you use this?
>
>
> http://shardulbartwal.wordpress.com/2008/03/20/import-web-servicewsdl-wizard-in-flex-30/
>
> its the easiest way to convert a wsdl to AS3 client stubs.
>
>
>


Re: [flexcoders] Preloader

2010-02-03 Thread Alex Harui
Modules are not loaded on the display list so they won’t show a preloader.  
Better option is to hook up mx.controls.ProgressBar to the IModuleInfo events.  
 You can skin it to look like the other progress bar.


On 2/3/10 11:56 AM, "criptopus"  wrote:






I would like to use the Application default preloader (gray box with rounded 
corners with a loading bar) for my modules, does anybody know how to refrence 
it?

- Stephen






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Will Flex 4 work in Flash Player 9? @playerversion Flash 9 seems to say yes

2010-02-03 Thread Alex Harui
When the API was first introduced.  FP9 is not supported in Flex 4.


On 2/3/10 9:14 PM, "tntomek"  wrote:






I'm specifically referring to MX controls. What else would be the point of all 
the documented @playerversion Flash 9 annotations?






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Re: Override FileReference Class [1 Attachment]

2010-02-03 Thread Peeyush Tuli
I think I get what you mean. Mr. Flex, there are two ways to enable
filedownload from a server script in flex -
- Using a script which contains an html content in itself and thus the need
to do a navigatetourl so that it should be opened in different browser
window. In dotnet terminology an .aspx page or a php or jsp .This html page
will then open the file dialog asking the user to download the file.
- Using a script which returns a purely binary data or file content. In
dotnet terminology a .ashx page and in java a pure servlet. These scripts
dont need a navigatetourl call, since in this way we can directly open the
file browser dialog in flex. This appears to be more user friendly.

We have used the second approach quite frequently in our project and were
also stuck at how to restrict the user from  changing the file extension
since the file filter only says All files. Check attached snapshot. We could
not find one solution but those were flex 2 days. Is it still an issue in
Flex 3 /flash player 10?

You might as well go ahead and try override the class. I have some time on
had so we can collaborate. Send me a mail if interested.

Thanks,
Peeyush
peeyus...@gmail.com

On Tue, Feb 2, 2010 at 10:40 PM, Prabh  wrote:

>
>
> Hey thanks for the reply.
>
> The way I am doing it is a little different. Since we get the SAVE AS
> dialog box, the user can change the extension on the file and thats where we
> want to restrict it. In the FILE TYPE option. It should not say ALL FILES
> (*.*)
>
>
> --- In flexcoders@yahoogroups.com , "Flex"
>  wrote:
> >
> >
> >
> > It can be done, but it does not have much to do with flex. The server
> side that sends the file can decide what name to give the file. So in php it
> would be something like
> >
> > header('Content-Disposition: attachment; filename="export.csv"')
> >
> > When you do a navigateToUrl from Flex to the url for file download
> brokered by the type of code above, you will be prompted to download a file
> with name with export.csv...with your xml content. Very similar syntax in
> java and cold fusion.
> >
> > Web Manager
> > FlexDownloads.com
> >
> > --- In flexcoders@yahoogroups.com ,
> "Prabh"  wrote:
> > >
> > > I have XML data that I wish to store on the clients machine as a CSV.
> > >
> > >
> > > So,
> > >
> > > 1. Is it possible to restrict the file extension to be only CSV when
> the client gets the Save As dialog box ?
> > >
> > > you can do it on file.browse(), but I am not uploading a file. I am
> downloading the data to the client machine.
> > >
> > >
> > >
> > > 2. If 1 cannot be done, is it possible to override the class to achieve
> the same ?
> > >
> > >
> > >
> > > Any help would be greatly appreciated. Thanks in advance
> > >
> > >
> > >
> > > Prabh
> > >
> >
>
>  
>


[flexcoders] Will Flex 4 work in Flash Player 9? @playerversion Flash 9 seems to say yes

2010-02-03 Thread tntomek
I'm specifically referring to MX controls. What else would be the point of all 
the documented @playerversion Flash 9 annotations?



[flexcoders] Flex 3 can not load Flex 2 swc library

2010-02-03 Thread markflex2007
Hi,

I have a swc library file created with Flex 2.

Flex 3 application can not load the library when I copy the swc in lib folder.

I check catalog.xml in the swc.I found it has different format with Flex 3 
catalog.xml.

Do you know how to convert Flex 2 swc to Flex 3 swc?

Thanks

Mark



[flexcoders] Air supporting other language

2010-02-03 Thread hworke

  Hello how do I display other languages like Chinese,
  Thai, Hindi etc in a AIR app? Is there any example
  out there? If so - please forward me the link.

  Regards,



Re: [flexcoders] Localization problems mainly on Macs - Cannot switch to second input Language

2010-02-03 Thread Peeyush Tuli
"No work around, but i think that the problem is that flash player in
combination with some browsers (mentioned above) 'eats' the ALT-SHIFT /
change language event - i might be wrong..."

you might be absolutely correct.The browser stealing keyboard shortcut
problem has been there for at least a couple of years now on both windows
and mac

Here is my post on that -

http://tech.groups.yahoo.com/group/flexcoders/message/90567


looks like adobe cant fix it -

http://bugs.adobe.com/jira/browse/FP-815
http://bugs.adobe.com/jira/browse/FP-477

we fought this issue for some time ourselves but then I saw buzzword, an
adobe product had a workaround. Check out this link -

http://www.colettas.org/?p=294

it says -

"Prototyping additional browser support: Buzzword relies on some small but
critical bits of JavaScript to support keyboard control and system clipboard
access, so we are currently limited to IE, Firefox, and Safari. You would
prototype versions of this code for other browsers."

 I tried to contact the author via email, but got no response. Ultimately
had to do a lot of Javascript reverse engineering to solve this
problem.Maybe it was something they did not want to share at that time.

 I would prefer Adobe to come out with a solution for this since there are a
lot of data entry apps where users would prefer the use of keyboard
shortcuts rather than letting the developers fight with it. In fact I can
contribute to a solution if required.

There was a similar issue of focus handling in firefox/flash which was fixed
in firefox 3.x .
http://wwwx.cs.unc.edu/~gb/wp/blog/2007/06/08/fixing-firefox-flash-foolishness/
http://groups.google.com/group/mozilla.dev.accessibility/browse_thread/thread/360ba2fcb48de633/ec87ab6b4e30d822?pli=1

Thanks,
Peeyush

On Wed, Feb 3, 2010 at 7:27 PM, Fotis Chatzinikos <
fotis.chatzini...@gmail.com> wrote:

>
>
> Hello all i added the following in jira as a bug (#FP-3824).
>
> If any of you have some time, can you test/reproduce and reply here? Or
> even vote for the bug?
>
>
>   Steps to reproduce:
>
> 1.
>
> Compile and run the following (flex code 3.2)
>
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute">
> 
> 
>
>
> 2.
>
> View the application in Chrome (in windows), or any browser on a Mac
>
> 3.
>
> type something in the input box in your pre-selected language and then try
> switching to a second language,
> continue typing...
>
>  Actual Results:
>
> Text remains in the main language, or is broken (usually the first)
>
>  Expected Results:
>
> Users should be able to switch to their second language and type as normal
>
>  Workaround (if any):
>
>
> No work around, but i think that the problem is that flash player in
> combination with some browsers (mentioned above) 'eats' the ALT-SHIFT /
> change language event - i might be wrong...
>
>
> Thanks,
> Fotis
>
>
>
> On Tue, Feb 2, 2010 at 11:55 AM, Fotis Chatzinikos <
> fotis.chatzini...@gmail.com> wrote:
>
>> Thanks Gordon,
>>
>> I will do as you suggest - I just confirmed that it happens in windows
>> Chrome as well as Mac browsers.
>>
>> I just realized something else which might help you catch it ...
>>
>> In windows chrome, if i go to the windows start bar and change language
>> it.. works.
>>
>> So, iti seems that some browser / flash combinations 'eat' the alt-shift
>> event, so the operating system never gets the event to switch language...
>>
>> I will fill a bug report and let you know, but i am not sure if it is
>> player, browser, or combination issue.
>>
>>
>> On Mon, Feb 1, 2010 at 10:44 PM, Gordon Smith  wrote:
>>
>>>
>>>
>>>  Fotis, I contacted the relevant Player engineer and he replied "First
>>> I’ve heard of it.  Can we get a bug filed with repro steps fit for people
>>> who don’t know how to do Greek input?" So could you please file an SDK bug
>>> in Jira and then I'll get a Player bug filed?
>>>
>>>
>>>
>>> - Gordon
>>>
>>>
>>>
>>> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
>>> Behalf Of *fotis.chatzinikos
>>> *Sent:* Friday, January 29, 2010 5:13 AM
>>> *To:* flexcoders@yahoogroups.com
>>> *Subject:* [flexcoders] Localization problems mainly on Macs - Cannot
>>> switch to second input Language
>>>
>>>
>>>
>>>
>>>
>>> Any ideas why on mac browsers we can not control-shift (or whatever is
>>> the appropriate keys combo to switch to another language) to Greek for
>>> example (some minor windows browsers as well)? The language indicator some
>>> times switches to Greek but still all text inputs are broken. Either empty
>>> spaces or broken characters instead of Greek.
>>>
>>> PS: Follows history from previously (slightly hijacked thread)
>>>
>>> Thanks Gordon, I will open a new Thread
>>>
>>> On Fri, Jan 29, 2010 at 2:09 AM, Gordon Smith 
>>> >
>>> wrote:
>>>
>>> I'm not aware of this particular problem, but I'll ask a Player engineer
>>> who might know what's going on.
>>>
>>> Gordon Smith
>>>
>>> Adobe Flex SDK Team
>>>
>>> Sorry for being slightly off topic, but 

Re: [SPAM] Re: [flexcoders] Loading XML

2010-02-03 Thread Peeyush Tuli
All requests to load resources are HTTP requests  in Flex.flex is not the
best at returning you the exact HTTP status codes in these situations(which
will tell you the true reason for the error). Try using an HTTP traffic
monitor like

http://www.charlesproxy.com/

It will tell you exactly what causes the error. you can post the HTTP
traffic dump which we could analyze.

I believe flex 4 also has a network monitor which can be used during
development time.

On Wed, Feb 3, 2010 at 11:27 AM, Tracy Spratt  wrote:

>
>
>  Yes, the physical location is not what matters, it is the domains.  Post
> the error message, it will tell us a lot.
>
>
>
> Often times people will launch their app using a file url, an then try to
> access a resource via a net url, this will produce a security error.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>   --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *cholid cholid
> *Sent:* Tuesday, February 02, 2010 10:49 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [SPAM] Re: [flexcoders] Loading XML
>
>
>
>
>
> can you tell how you call the xml is?
>
>
>  --
>
> *From:* ztpi1 
> *To:* flexcoders@yahoogroups.com
> *Sent:* Wed, February 3, 2010 8:53:59 AM
> *Subject:* [flexcoders] Loading XML
>
>
>
> I am getting a security error when trying to load an xml file into my swf.
> The xml and swf are right next to each other in the same directory. What
> gives? From what I understand, the swf should have access to the xml file. I
> have no problem loading jpg, or png.
>
>
>   
>


[flexcoders] Error in logout from channel in Flex 4

2010-02-03 Thread prad_ch
Hi,

We are building our application on Flex 4 and LCDs 3.  The application uses 
RTMP protocol to communicate to the server. Request for application server is 
routed through Edge server sitting in DMZ. For implementing the logout 
functionality, I am invoking logout on the RTMP channel.


The problem occurs when I try to login and logout more than 2 times. For first 
two attempts of login-logout, it works as expected. But on third attempt an 
error related to invalid FlexSession is displayed on Edge Server console. No 
request is forwarded to appln. server


Following is the logout logic

public function logout() : void{

asyncConsumer.unsubscribe();

var token:AsyncToken = asyncConsumer.channelSet.logout();

asyncConsumer.disconnect();

token.addResponder(new AsyncResponder(logoutSuccessCallback, 
logoutErrorCallback));
}

 

private function logoutErrorCallback(event : FaultEvent, token : 
AsyncToken = null) : void {
mx.controls.Alert.show("Unexpected error during log out.", "Error");
}
   
private function logoutSuccessCallback(event : ResultEvent, token : 
AsyncToken = null):void {
mainTabNavigator.removeAll();
callLater(showLoginPrompt, [null]);
}

 
I have not been able to figure out why do I get Invalid FlexSession error third 
time ? What extra statements need to be added to clear the Flex Session 
infomation from the client.

 
Following is the error log on edge server for 3rd attempt to login after logout:

[LCDS]02/02/2010 20:22:41.395 Thread[my-rtmp-SocketServer-Reactor2,5,main] 
Connection '1627493955' starting a write.
[LCDS]02/02/2010 20:22:41.396 Thread[my-rtmp-SocketServer-Reactor2,5,main] 
Connection '1627493955' finished a write. 416 bytes were written.
[LCDS]02/02/2010 20:22:48.304 Thread[my-rtmp-SocketServer-Reactor2,5,main] 
unregistering read interest for Connection '1627493955'.
[LCDS]02/02/2010 20:22:48.304 
Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] Connection '1627493955' 
starting a read.
[LCDS]02/02/2010 20:22:48.304 
Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] received message TCMessage 
[ Type: MsgCmdEx, Stream ID: 0]
[LCDS]02/02/2010 20:22:48.305 Deserializing AMF/RTMP request
Version: 3  null
  13.0

 

  (Command method=null (0) trxId=13.0)
null
(Typed Object #0 'flex.messaging.messages.CommandMessage')
  operation = 8
  correlationId = ""
  messageId = "CC4CC8F4-9CF2-7601-5501-8F2690891BFF"
  body = "dGVzdHVzZXIxNTpQVVRfSEFTSEVEX1BBU1NXT1JEX0hFUkU="
  timestamp = 0
  timeToLive = 0
  destination = ""
  clientId = null
  headers = (Object #1)
DSId = "238713B7-0429-8BFE-5857-BE24EDBB9865"

 

[LCDS]02/02/2010 20:22:48.305 Received command: TCCommand [ Cmd: 0, MethodName: 
null, TrxID: 13.0]
[LCDS]02/02/2010 20:22:48.307 
Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] failed to read Connection 
'1627493955' or process the data; Connection is in the 'Open' state and will be 
forced closed.
flex.messaging.LocalizedException: The FlexSession is invalid.
at flex.messaging.FlexSession.checkValid(FlexSession.java:946)
at 
flex.messaging.FlexSession.addSessionDestroyedListener(FlexSession.java:410)
at 
flex.messaging.client.FlexClient.registerFlexSession(FlexClient.java:1126)
at 
flex.messaging.endpoints.AbstractEndpoint.setupFlexClient(AbstractEndpoint.java 
:1065)
at 
flex.messaging.endpoints.AbstractEndpoint.setupFlexClient(AbstractEndpoint.java 
:1036)
at 
flex.messaging.endpoints.RTMPConnection.handleTCCommandIn(RTMPConnection.java:7 
72)
at flex.messaging.endpoints.RTMPConnection.in(RTMPConnection.java:933)
at 
flex.messaging.endpoints.RTMPConnection.serviceTCMessage(RTMPConnection.java:10 
20)
at 
flex.messaging.endpoints.RTMPConnection.doRead(RTMPConnection.java:561)
at 
flex.messaging.endpoints.RTMPProtocolHandler.doRead(RTMPProtocolHandler.java:12 
5)
at 
flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:848 
)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 
885)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

 

[LCDS]02/02/2010 20:22:48.309 
Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] Connection '1627493955' has 
changed state to: Closing
[LCDS]02/02/2010 20:22:48.309 
Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] closing Connection 
'1627493955'.
[LCDS]02/02/2010 20:22:48.309 
Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] Connection '1627493955' has 
changed state to: Closed
[LCDS]02/02/2010 20:22:48.309 
Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] closed Connection 
'1627493955'.
[LCDS]02/02/2010 20:22:48.309 
Thread[my-rtmp-SocketServer-WorkerThread-34,5,main] Connection '1627493955'

[flexcoders] Flash and Flex Programming Tips..

2010-02-03 Thread faizranas
Dear Friends,
A lot of colleagues have approached me to write a blog and share knowledge but 
couldn't happen earlier due to own hectic schedule.
Finally I have decided to take out some time whenever possible from my busy 
schedule and write a blog which may be fruitful and learning to all of us. I 
hope you will support and encourage me to do more and more. I request all of 
you to post a topic which you genuinely think should be covered in details and 
debates on it.

http://faizrana.blogspot.com/

Regards,
Faiz



[flexcoders] Bitmap with Scale9 in custom border

2010-02-03 Thread Steffen Beyer
Hi,

I'm trying to implement a custom border (based on Border) with a bitmap at 
its bottom. Only the middle part of the bitmap must be stretched (kinda 
Scale3).

As Border is based on a FlexShape, I can't add an Image as child -- and I 
can't get the solution in RectangularBorder.initBackgroundImage to work, 
either (i.e. add the child to the parent).

The current state is as follows:

protected function drawBorder(w:Number, h:Number):void
{
var g:Graphics = graphics;

var border:Bitmap = new borderImage();
// setup scale9 here
border.width = w;

g.beginBitmapFill(border.bitmapData);
g.drawRect(0, h - 19, w, 19);
g.endFill();
}

...but doesn't work, as the bitmapData is not affected by setting a 
scaling value for the Bitmap, I assume.

What would be a neat solution here?

Kind regards,
-- 
Steffen Beyer 

GnuPG key fingerprint: CA00 1611 242B 89D4 E643  E235 05F3 7689 DD3E EB26
Public key available upon request or at http://wwwkeys.de.pgp.net


Re: [flexcoders] WSDL objects -> Flex value objects

2010-02-03 Thread Peeyush Tuli
Why dont you use this?

http://shardulbartwal.wordpress.com/2008/03/20/import-web-servicewsdl-wizard-in-flex-30/

its the easiest way to convert a wsdl to AS3 client stubs.


On Tue, Feb 2, 2010 at 8:57 PM, Nick Middleweek wrote:

>
>
> Hello,
>
> Does anyone know of a way to convert a WSDL document into a bunch of Flex
> Classes?
>
> I'm working on a project where the WDSL data structures are changing and
> it's a real pain to have to re-check what has changed and then re-code the
> classes and Interfaces...
>
>
> Thanks,
> Nick
>
>  
>


Re: [flexcoders] Google combo like Flex interface

2010-02-03 Thread Peeyush Tuli
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1047291



On Wed, Feb 3, 2010 at 8:27 PM, Christophe wrote:

>
>
> Hello,
>
> I have a client table in a mySql database, and I want to propose in a Flex
> RIA a search interface for the client list name.
>
> How to make a search interface like in the Google Combo.
>
> When you type the word 'a', it propose all the words beginning by 'a' ?
>
> Thank you,
> Christophe,
>
>  
>


[flexcoders] Animating line series chart in actionscript

2010-02-03 Thread jonbehr
I'm creating chart series in AS, which is working fine - the chart and all 
series are rendered perfectly. However, the animation doesnt seem to work at 
all.

private function createChart():void {

  var mySeries:Array = new Array();
  var myInterpolate:SeriesInterpolate = new SeriesInterpolate();
  myInterpolate.duration = 1000;

  for(var item:String in model.bank_summary_chart[0]) {
if (item != 'date_trans') { 
  var myLineSeries:LineSeries = new LineSeries();
  myLineSeries.yField = item;
  myLineSeries.xField = 'date_trans';
  myLineSeries.displayName = item;
  myLineSeries.setStyle('form','curve');
  myLineSeries.setStyle('showDataEffect', myInterpolate); //This line 
doesnt work at all
  mySeries.push(myLineSeries);
  }
}
myChart.invalidateSeriesStyles();
myChart.series = mySeries;
callLater(setDataProvider);
}   

private function setDataProvider():void {
myChart.dataProvider = model.bank_summary_chart;
}

Am I missing something really obvious here? Thanks for any help that you can 
provide.



[flexcoders] Encoding XML Character Entity References *properly*

2010-02-03 Thread pmorch
Hi,

I have a string given to me by a user. I want to create XML so I can send the 
string to the server as the value of an XML node. E.g. like this:
string.

However, if I do it like this:

new XML("" + string + "");

that works great until somebody gives me a string e.g.:

var string:String = "a string/&";

Given string above, how do I construct an XML node with string representation 
of 
a string/&
?

I'm missing an xmlEscape() function so that I can do:
new XML("" + xmlEscape(string) + "");

Or how else do I create an XML object where the special chars are encoded as 
XML character entity references?

I can pretty easily construct it myself from either regular expressions or 
split/join, but I just find it very hard to believe there isn't a pre-existing 
function for this. Whenever I find myself escaping or encoding by hand, I 
pretty much know I'm going the wrong direction, and here-be-dragons. 

E.g. http://tech.groups.yahoo.com/group/flexcoders/message/84143
Has an incomplete (== buggy) code snippet. In that thread, htmlDecode() doesn't 
decode £ which is a valid HTML character reference (but not a valid XML 
character reference). My point is that if we all start writing home-grown 
encoding/decoding, bugs will happen.

Is it really true that Flex doesn't provide this out of the box? Am I 
misunderstanding something? 

Thank you for reading this far!

Peter

P.S.: Please don't tell me about escape() because it URL-encodes, which is not 
the same thing. (For "a&b" I want "a&b", not "a%26b).



[flexcoders] Re: Google combo like Flex interface

2010-02-03 Thread Jeff
Gregor,

 Don't think I don't appreciate it. ;)  Want some stickers?  E-mail me off 
list.  

 Although not based on the ComboBox Hillel Coren's is the one I most commonly 
hear good things about ( 
http://hillelcoren.com/2009/05/11/flex-autocomplete-version-0-98-2/ )

Christophe,  if you want a supported component that works on both Flex 3 and 
Flex 4; definitely check ours out.  Free developer editions are available and 
if you have questions; just ask! 

--- In flexcoders@yahoogroups.com, "Gregor Kiddie"  wrote:
>
> Search for autocomplete comboboxes. There are several solutions, open
> source and paid for.
> 
>  
> 
> Best of the paid for appears to be Flextras one (
> http://www.flextras.com/?event=ProductHome&productID=10 ) (Jeff Houser,
> you owe me commission for pushing your wares like a filthy pimp)
> 
> Best of the open source ones is probably the adobe one
> (http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&e
> xtid=1047291 )
> 
>  
> 
> Gk.
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of Christophe
> Sent: 03 February 2010 14:57
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Google combo like Flex interface
> 
>  
> 
>   
> 
> Hello, 
> 
> I have a client table in a mySql database, and I want to propose in a
> Flex RIA a search interface for the client list name. 
> 
> How to make a search interface like in the Google Combo. 
> 
> When you type the word 'a', it propose all the words beginning by 'a' ? 
> 
> Thank you,
> Christophe,
>




Re: [flexcoders] Re: What's up Adobe?

2010-02-03 Thread Paul Andrews
Mike wrote:
> It's too late, the damage is done, but I agree also FWIW.
> An Adobe VP told me about "Flex" being the open source branding, and "Flash" 
> being the commercial product branding.  There is no way that customers will 
> figure that out.  They have enough trouble understanding that developers are 
> left-brained and designers are right-brained.
>
> One should not target a single brand at two classes of individuals who have 
> different educations, different values, different world views, drive 
> different cars and listen to different music.  If you believe you know of a 
> top-notch designer who is also a top-notch developer, your standards are too 
> low.  One cannot excel at both career paths - humans are too finite.
>   
Yes, Macromedia were smart. They established Flex as a high-end serious 
development system that could compete with other "serious" development 
systems and distanced it from flash eye-candy. Adobe have now managed to 
shift the perception of Flex from top-end to something that's used for 
eye-candy frivolity with the association with flash. We all know that's 
not true, but the larger companies looking at serious development wont 
make the distinction between Flex for serious work and flash for 
animation. I suspect it'll end up as a case study of" not what to do" in 
branding lectures.

Paul
> Mike
> ... who tries to excel as a developer and has great respect for excellent 
> designers
>
>
>   
>>>  “Yes, I can see your point. I think the two of us are the only people who
>>>
>>> think that the Flex brand is weakened by the Flash moniker.�
>>>
>>> No, there are more of us... We just aren’t as vocal!
>>>   
>
>
>
>
> 
>   





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
flexcoders-dig...@yahoogroups.com 
flexcoders-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[flexcoders] Look for "Windows xp skin for Flex 3"?

2010-02-03 Thread markflex2007
Hi,

I am looking for "Windows xp skin for Flex 3",

Adobe have one but the download URL doesn't work.

Do you have a copy or you know the download link.

I remember a file like windowsXP.swc need.

Thanks

Mark



[flexcoders] Re: What's up Adobe?

2010-02-03 Thread Mike
It's too late, the damage is done, but I agree also FWIW.
An Adobe VP told me about "Flex" being the open source branding, and "Flash" 
being the commercial product branding.  There is no way that customers will 
figure that out.  They have enough trouble understanding that developers are 
left-brained and designers are right-brained.

One should not target a single brand at two classes of individuals who have 
different educations, different values, different world views, drive different 
cars and listen to different music.  If you believe you know of a top-notch 
designer who is also a top-notch developer, your standards are too low.  One 
cannot excel at both career paths - humans are too finite.

Mike
... who tries to excel as a developer and has great respect for excellent 
designers


> >  “Yes, I can see your point. I think the two of us are the only people who
> >
> > think that the Flex brand is weakened by the Flash moniker.”
> >
> > No, there are more of us... We just aren’t as vocal!




[flexcoders] Re: PopUpManager & Module Components

2010-02-03 Thread criptopus
Could possibly be, but any evidence to the fact has been swept under the carpet 
as I change it to  for a while and it worked. I have set it back to 
 again and all is okay. *whistles gently*.

However ModuleTitleWindow is currently  and desn't want to 
be called  or anything else for that matter. Not up on 
namespaces so I have left it as is for now. may want to name it something in 
the future though, looks better.

- Stephen



[flexcoders] Preloader

2010-02-03 Thread criptopus
I would like to use the Application default preloader (gray box with rounded 
corners with a loading bar) for my modules, does anybody know how to refrence 
it?

- Stephen



Re: [flexcoders] What's up Adobe?

2010-02-03 Thread Jochem van Dieten
On Tue, Feb 2, 2010 at 10:42 AM, GeorgeB wrote:
> I am a fully occupied Flex v3 developer, and don't have spare time to switch 
> to Flex v4 before the projects I work on are over and done.

It might be a good idea to take on less projects, but for a higher
margin. Not having time to study is not a good place to be long-term.


> 1. What was the meaning of Adobe changing the name from Flex Builder (v3) to 
> Flash Builder, while keeping the upgrade path from v3 to v4?

A better distinction between the free and commercial offerings. All
commercial IDE offerings are branded Flash something, all the free
open source stuff is branded Flex something.


> 2. I used to call myself a Flex developer, i.e MXML plus AS3 programmer. 
> Should I have to call myself a Flash developer from now on?

Why would you? You wrote in another message you work with Hibernate
and BlazeDS. In those cases you identify yourself with the application
/ framework you work with. Why would you in the case of Flash/Flex
identify yourself with the IDE? You are not calling yourself Eclipse
or JBuilder developer just because that is the IDE you use for your
Java development either.


> 6. Also what's the future of BlazeDS after recent marketing developments on 
> LCESDS (or is it LCDSES?)?

BlazeDS is the free, unsupported, open-source offering for fast
communication with Java backends. It will continue to be so for the
foreseeable future. Adobe will continue to develop it. Adobe will not
support it nor market it because it is not a source of revenue. LCDS
will be supported and marketed because it is a source of revenue.

Jochem


-- 
Jochem van Dieten
http://jochem.vandieten.net/


Re: [flexcoders] Flex Builder 3 - A little to be desired

2010-02-03 Thread Jochem van Dieten
On Tue, Feb 2, 2010 at 9:01 AM, Clark Stevenson wrote:
> I was particulaly depressed the other day when i tried FB4 under an I5 64bit 
> system and ran into the whole "forced clean after each build", its not filled 
> me with alot of confidence.

I have not experienced that with FB4. Which bug number did you file?

Jochem


--
Jochem van Dieten
http://jochem.vandieten.net/


Re: [flexcoders] How to update styles after a registerColorNames ?

2010-02-03 Thread Alex Harui
Try:  IStyleManager(
Singleton.getInstance("mx.styles::IStyleManager2")


On 2/3/10 5:50 AM, "cyril ronseaux"  wrote:






Hi,

Thanks for the answer. I'm working on Flex3 for the moment.
I searched quickly how to get the IStyleManager for flex3, and,... well, ... 
I'll have to wait for your help :)
I tried the most naive way, StyleManager.styleDeclarationsChanged() and since 
its mx_internal it won't let me.

Cyril

On Wed, Feb 3, 2010 at 7:42 AM, Alex Harui  wrote:





Use loadStyleDeclarations(url, false);
Call registerColorName
Get the IStyleManager (how to do it depends on your version of Flex)
Call IStyleManager.styleDeclarationsChanged()



On 2/2/10 9:34 AM, "cyril ronseaux" http://cyril.ronse...@gmail.com> > wrote:






Hi,

background : we are trying to simplify maintenance of CSS stylesheets by 
declaring "theme colors" once, and using them everywhere else. We intend to 
read a specific style declaration (e.g. getStyleDeclaration("global", 
"maincolor") ), to then register color names for that color : 
StyleManager.registerColorName("maincolor", 
theColorWeJustReadFromGlobalDeclaration), and use that just-registered 
colorname everywhere we need that color in our CSS.

For now, i'm stuck with an issue : components that use styles that reference my 
custom color, do not pick the color until I RE-load the CSS.

I'm loading style dynamically :
StyleManager.loadStyleDeclarations(url, true); // a swf containing the CSS

On style complete :
StyleManager.registerColorName("mycolor", 0x00FF00);

In the CSS :
. test {
color: prout;
}

Component :


To make it works I had to add : StyleManager.loadStyleDeclarations(url, true);
a second tome after the registerColorName :

On style complete :
StyleManager.registerColorName("mycolor", 0x00FF00);
StyleManager.loadStyleDeclarations(url, true);


But I wish I could do it without having to reload the stylesheet.
I tried : this.styleChanged(null); // this is application
and
this.styleInitialized();


Any idea ?

Thanks in advance.
Cyril





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Re: PopUpManager & Module Components

2010-02-03 Thread Alex Harui
Did you really type ?


On 2/3/10 5:04 AM, "criptopus"  wrote:






One of my modules that I converted to ModuleTitleWindow is complaining about 
 it says it could not resolve  to a component 
implementation. It was working before so what happened and how do I put it 
right?

- Stephen Brown






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Re: What's up Adobe?

2010-02-03 Thread Gautam P
I support you guys!

On Wed, Feb 3, 2010 at 9:32 PM, Gregor Kiddie <
gregor.kid...@channeladvisor.com> wrote:

>
>
>  “Yes, I can see your point. I think the two of us are the only people who
>
> think that the Flex brand is weakened by the Flash moniker.”
>
>
>
> No, there are more of us... We just aren’t as vocal!
>
>
>
> Gk.
>  
>


[flexcoders] Re: Identifying module loaded

2010-02-03 Thread Craig


In your event handler (dispModule in your example code), event.target will 
reference the IModuleInfo returned from your getModule(...) call. Use that to 
identify the module loaded.

One additional caveat though: I'd highly recommend keeping a reference to the 
IModuleInfo returned from getModule until at least the module has loaded or 
failed to load. I've had numerous occasions where I didn't keep hold of the 
reference, called load() and then got nothing ... no READY or ERROR events 
getting fired. Presumably because it got GC'd.

--- In flexcoders@yahoogroups.com, "criptopus"  wrote:
>
> When I load a module...
> 
> private function loadModule(modName:String):void
> {
> module=ModuleManager.getModule("comps/InstCntr/" + modName + ".swf");
> module.addEventListener(ModuleEvent.READY, dispModule);
> module.load();
> }
> 
> How does my listener (dispModule) decide what has been loaded
> Is their an AysyncToken or somthing?
> 
> - Stephen
>




RE: [flexcoders] Adobe AIR and a Java bat file

2010-02-03 Thread Gregor Kiddie
Take a look at Merapi which is a java bridge for AIR, or at the AIR 2.0
beta which includes native process APIs.

 

Gk.



[flexcoders] Adobe AIR and a Java bat file

2010-02-03 Thread Wally Kolcz
I have been Googling all morning to see if it is possible for an 
installed AIR application can execute a simple bat file and it seems 
that the 'no-no' of running other apps on a user's machines is the 
overwhelming answer. I thought I would throw the idea past you experts 
and see if there is any solutions to my issue.

We have a mass uploading process that we need to do daily to upload data 
from a local system database (Oracle) to a remote CMS database though a 
java based batch uploader. I have the bat file sitting on my desktop. I 
thought a cool little project would be to have my AIR app query the 
oracle database, generate XML files on the desktop, then run the batch 
file that uploads them..putting all the steps in the process in one 
place and automate it by running it at a specific time each day.

Getting the information, generating XML documents doesn't seem to be a 
real problem. Simple web service and conversion manager class will get 
that done, its the bat file that seems to be the kink in the process.

Can an AIR app run a local bat file OR can the actual JAVA in the bat 
file be executed by the AIR app?



RE: [flexcoders] Re: What's up Adobe?

2010-02-03 Thread Gregor Kiddie
"Yes, I can see your point. I think the two of us are the only people
who 
think that the Flex brand is weakened by the Flash moniker."

 

No, there are more of us... We just aren't as vocal!

 

Gk.



[flexcoders] Identifying module loaded

2010-02-03 Thread criptopus
When I load a module...

private function loadModule(modName:String):void
{
module=ModuleManager.getModule("comps/InstCntr/" + modName + ".swf");
module.addEventListener(ModuleEvent.READY, dispModule);
module.load();
}

How does my listener (dispModule) decide what has been loaded
Is their an AysyncToken or somthing?

- Stephen



Re: [flexcoders] Re: What's up Adobe?

2010-02-03 Thread Paul Andrews
GeorgeB wrote:
> Hi Paul,
>
> Thanks for replying. I almost agree with your saying. Only let me clear 
> one-two details:
>
> To my comment : 
> What's bugging me is that all my current work done for the last 2 years, has 
> to be referencing as been done in a non-existing (now obsolete?) framework, 
> that as time goes will have its trade name placed next to T-Rex. As I 
> understand it, this marketing decision is devaluating my investment in a 
> development platform. (Not my first time unfortunatelly)
>
> You reply:
>   
>> Nobody has said the Flex framework is going anywhere.
>> 
>
> This is true. The framework stays (for the time..) but the brand name has 
> gone! Flex is no longer.
>
> Then what I 've been developing for 2 years is Flex3 RIA with Tomcat plus 
> BlazeDS, plus Hibernate persistance backend. The heavy business logic has no 
> stunning images or any animations, depending on the end target group of 
> users. 
> Overviewing the end result, I am only considering scale up options, like 
> LCDS, different database etc. On the other hand Flex was the choice, as the 
> other way (building with AJAX or similar approaches) were out-ruled from the 
> beggining. Flex was the strong point and only real option. (If swf is being 
> "played" by Flash Player, this was not the reason I 've chosen Flex, believe 
> me)
>
> Now Flex is gone and though I still have a complete application on Flex3 by 
> the end of 2009 (I was already not thinking about transcripting to Flex4 - 
> excuse me to Flash4) I certainly don't know what to state as key advantages 
> of the application. Like, it is based on an extinct brand name product? You 
> can't advertise such a advantage, can you?
>   
Yes, I can see your point. I think the two of us are the only people who 
think that the Flex brand is weakened by the Flash moniker.
> Thanks 
> George
>
> --- In flexcoders@yahoogroups.com, Paul Andrews  wrote:
>   
>> GeorgeB wrote:
>> 
>>> Hi all. hi Tom, hi Nick, hi Wally
>>>
>>> I have to thank you for your understanding! The common denominator of all 
>>> answers on why the new version of Flex Builder 3 should be renamed to Flash 
>>> Builder 4 is "WTF No big deal". Or better, as Tom put it: "Just marketing 
>>> bollocks!!" LOL
>>>   
>>>   
>> It may just be a name, but as your post shows people are confused by 
>> these changes and it is worse for people who don't understand what Flex 
>> is. A ton of people still associate flash with childish eye candy.
>> 
>>> Then I can call myself anything I like, as long as I keep exercising 
>>> succesfully my discipline writting code in a framework used to be called 
>>> Flex Builder (plug-in IDE to Eclipse) and now called Flash Builder IDE. 
>>> What's bugging me is that all my current work done for the last 2 years, 
>>> has to be referencing as been done in a non-existing (now obsolete?) 
>>> framework, that as time goes will have its trade name placed next to T-Rex. 
>>> As I understand it, this marketing decision is devaluating my investment in 
>>> a development platform. (Not my first time unfortunatelly)
>>>   
>>>   
>> Nobody has said the Flex framework is going anywhere.
>> 
>>> Although not a stickler, I believe marketeers shouldn't be creating a mess 
>>> out of logic. Like presenting us a product named Flash Builder4 with no 
>>> previous Flash Builder3. If they think Flash Builder IS the name, why don't 
>>> they call this "new" product just "Flash Builder v1"? Or, are they afraid 
>>> this would confuse the market?
>>>   
>>>   
>> Adobe is getting into a mess with product names.
>> 
>>> BTW should this "Flexcoders" group be renamed to "Flashcoders"?  Or keep it 
>>> going as is? (Resembling groups of practicioners in now extinct obscure 
>>> arts, black magic etc? if you excuse me the pun..)
>>>   
>>>   
>> It's still coding using MXML and the Flex class framework, so I don't 
>> see that the name should change. I didn't see that the tool name should 
>> have changed either - for the same reason.
>>
>> Paul
>> 
>>> Thanks all for the very thoughtful replies
>>> George
>>>
>>> --- In flexcoders@yahoogroups.com, Wally Kolcz  wrote:
>>>   
>>>   
 1.) Keeping all their items more focused on the 'Flash Platform'.
 2.) Call yourself a 'Flash Developer specializing in the Flex 
 Framework'. Flex is not a language, its a Framework. It runs your 
 application on a 2 frame time line. Frame 1 is the application loader, 
 Frame 2 is your application. MXML gets compiled into ActionScript. All 
 tags are easy representations of true AS classes. It is created for 
 speed. Kinda like how ColdFusion is compiled into Java. You can create 
 full working Flex apps without any MXML. I guess if you are worried 
 about being confused with an animator call yourself a 'ActionScript 
 Developer specializing in the Flex Framework'
 5.) Doubt it too. They seem just to be aligning all the products related 

[flexcoders] Re: file saving problem

2010-02-03 Thread Flex
I believe it is possible...there is a component at 
http://www.flexdownloads.com/#view=detail;vstr1=36 which coverts flex a 
datagrid to CSV/Excel or any datagrid input to a delimitted format. You have to 
use a server side "echo" utility...usually less than 10 lines of server side 
code. 

It is the client side actionscript that is a lot more complicated usually.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, Tejas Patel  wrote:
>
> is it possible to create file (.csv / .xls) using actionscript and asked to 
> save it to local hard drive?
> with which flex sdk, it is possible & how?
> currently I am using SDK 3.
> 
> 
> 
>   The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
> http://in.yahoo.com/
>




[flexcoders] Re: What's up Adobe?

2010-02-03 Thread GeorgeB
Hi Paul,

Thanks for replying. I almost agree with your saying. Only let me clear one-two 
details:

To my comment : 
What's bugging me is that all my current work done for the last 2 years, has to 
be referencing as been done in a non-existing (now obsolete?) framework, that 
as time goes will have its trade name placed next to T-Rex. As I understand it, 
this marketing decision is devaluating my investment in a development platform. 
(Not my first time unfortunatelly)

You reply:
> Nobody has said the Flex framework is going anywhere.

This is true. The framework stays (for the time..) but the brand name has gone! 
Flex is no longer.

Then what I 've been developing for 2 years is Flex3 RIA with Tomcat plus 
BlazeDS, plus Hibernate persistance backend. The heavy business logic has no 
stunning images or any animations, depending on the end target group of users. 
Overviewing the end result, I am only considering scale up options, like LCDS, 
different database etc. On the other hand Flex was the choice, as the other way 
(building with AJAX or similar approaches) were out-ruled from the beggining. 
Flex was the strong point and only real option. (If swf is being "played" by 
Flash Player, this was not the reason I 've chosen Flex, believe me)

Now Flex is gone and though I still have a complete application on Flex3 by the 
end of 2009 (I was already not thinking about transcripting to Flex4 - excuse 
me to Flash4) I certainly don't know what to state as key advantages of the 
application. Like, it is based on an extinct brand name product? You can't 
advertise such a advantage, can you?

Thanks 
George

--- In flexcoders@yahoogroups.com, Paul Andrews  wrote:
>
> GeorgeB wrote:
> > Hi all. hi Tom, hi Nick, hi Wally
> >
> > I have to thank you for your understanding! The common denominator of all 
> > answers on why the new version of Flex Builder 3 should be renamed to Flash 
> > Builder 4 is "WTF No big deal". Or better, as Tom put it: "Just marketing 
> > bollocks!!" LOL
> >   
> It may just be a name, but as your post shows people are confused by 
> these changes and it is worse for people who don't understand what Flex 
> is. A ton of people still associate flash with childish eye candy.
> > Then I can call myself anything I like, as long as I keep exercising 
> > succesfully my discipline writting code in a framework used to be called 
> > Flex Builder (plug-in IDE to Eclipse) and now called Flash Builder IDE. 
> > What's bugging me is that all my current work done for the last 2 years, 
> > has to be referencing as been done in a non-existing (now obsolete?) 
> > framework, that as time goes will have its trade name placed next to T-Rex. 
> > As I understand it, this marketing decision is devaluating my investment in 
> > a development platform. (Not my first time unfortunatelly)
> >   
> Nobody has said the Flex framework is going anywhere.
> > Although not a stickler, I believe marketeers shouldn't be creating a mess 
> > out of logic. Like presenting us a product named Flash Builder4 with no 
> > previous Flash Builder3. If they think Flash Builder IS the name, why don't 
> > they call this "new" product just "Flash Builder v1"? Or, are they afraid 
> > this would confuse the market?
> >   
> Adobe is getting into a mess with product names.
> > BTW should this "Flexcoders" group be renamed to "Flashcoders"?  Or keep it 
> > going as is? (Resembling groups of practicioners in now extinct obscure 
> > arts, black magic etc? if you excuse me the pun..)
> >   
> It's still coding using MXML and the Flex class framework, so I don't 
> see that the name should change. I didn't see that the tool name should 
> have changed either - for the same reason.
> 
> Paul
> > Thanks all for the very thoughtful replies
> > George
> >
> > --- In flexcoders@yahoogroups.com, Wally Kolcz  wrote:
> >   
> >> 1.) Keeping all their items more focused on the 'Flash Platform'.
> >> 2.) Call yourself a 'Flash Developer specializing in the Flex 
> >> Framework'. Flex is not a language, its a Framework. It runs your 
> >> application on a 2 frame time line. Frame 1 is the application loader, 
> >> Frame 2 is your application. MXML gets compiled into ActionScript. All 
> >> tags are easy representations of true AS classes. It is created for 
> >> speed. Kinda like how ColdFusion is compiled into Java. You can create 
> >> full working Flex apps without any MXML. I guess if you are worried 
> >> about being confused with an animator call yourself a 'ActionScript 
> >> Developer specializing in the Flex Framework'
> >> 5.) Doubt it too. They seem just to be aligning all the products related 
> >> to Flash with Flash (Flash Builder, Flash Professional, Flash Catalyst)
> >> 6.) Blaze will probably remain around as a lesser version of LCDS. You 
> >> lose some really cool features, but don't pay the monster price tag. I 
> >> think Adobe knows that some of the success of Flash/Flex is that 
> >> streaming data interaction and to on

[flexcoders] Re: Problems changing labels in MenuBar menu items in real time

2010-02-03 Thread Flex
Try calling the invalidate methods of MyMenuBar instead of the enable toggle to 
false and then true. Also see if using an XMLListCollection instead of XMLList 
as the dataprovider helps.

Web Manager
FlexDownloads.com

--- In flexcoders@yahoogroups.com, "hernanojuel"  wrote:
>
> Hi everybody!
> 
> I'm having trouble in changing my MenuBar menu items labels in real
> time, even when I use e4x in order to access the labels and modifiy
> them.
> The strangest thing of all is that I'm able to change submenu items'
> labels, but not the top menu items.
> 
> Let me explain myself by showinf you some code:
> 
> Here is the declaration of my menu, MXML-style:
>  itemClick="menuProcessor(event)">
>  
>  
>  
>  
>  
>  
>  
>  
> 
> and here is my menu event handler function, which is located in the same
> MXML file:
> 
> public function menuProcessor(event:MenuEvent):void
>   {
>  switch (event.label){
>  case "Change Label"
>mymenubar.dataprovider[...@label = "'file' label
> changed!";  // this won't work
>event.it...@label="'change label' label also changed,
> yeah!"; // this will work
>   break;
>   }
>   }
> 
> Then, as I told you, the menu displays as the following:
> 
> File
> > 'change label' also changed!
> 
> when it should have displayed as the following:
> 
> 'file' label changed!
> > 'change label' also changed!
> 
> Why does the submenuitem change and the top menu one dosen't??
> 
> 
> 
> Now, here comes a funny thing... If I change the previous code by adding
> a couple of lines:
> 
> public function menuProcessor(event:MenuEvent):void
>   {
>  switch (event.label){
>  case "Change Label"
>mymenubar.dataprovider[...@label = "'file' label
> changed!";
>event.it...@label="'change label' label also changed,
> yeah!";
>MyMenuBar.enabled = false;
>MyMenuBar.enabled = true;
>   break;
>   }
>   }
> 
> ...then everything works fine!
> 
> 
> 
> Can anybody throw some light on this? I'm really lost, I can't begin to
> understand what's going on here!
> I guess that whenever I change the "enabled" property of a MenuBar it
> somehow updates the labels in the top menu items, but how can I force
> the update withouth having to change the update property??
> 
> Thank you all!
>




[flexcoders] Re: Loading XML

2010-02-03 Thread Flex
I can think of 2 possible causes (which may or may not be true in your case)

1. Your project is not deployed on a web server and you are using HTTP to load 
the xml file...that will cause a security error even though you can load images 
by specifying source

2. The xml is on some other domain and there is no crossdomain.xml file with 
the right permissions in that domain.

Web Manager
FlexDownloads.com



RE: [flexcoders] Google combo like Flex interface

2010-02-03 Thread Gregor Kiddie
Search for autocomplete comboboxes. There are several solutions, open
source and paid for.

 

Best of the paid for appears to be Flextras one (
http://www.flextras.com/?event=ProductHome&productID=10 ) (Jeff Houser,
you owe me commission for pushing your wares like a filthy pimp)

Best of the open source ones is probably the adobe one
(http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&e
xtid=1047291 )

 

Gk.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Christophe
Sent: 03 February 2010 14:57
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Google combo like Flex interface

 

  

Hello, 

I have a client table in a mySql database, and I want to propose in a
Flex RIA a search interface for the client list name. 

How to make a search interface like in the Google Combo. 

When you type the word 'a', it propose all the words beginning by 'a' ? 

Thank you,
Christophe, 





Re: [flexcoders] Re: Flex/LCDS Enterprise

2010-02-03 Thread Dan Pride
As I understand it the modeling does  not work on a Mac?
Dan

--- On Wed, 2/3/10, Mete Atamel  wrote:

From: Mete Atamel 
Subject: [flexcoders] Re: Flex/LCDS Enterprise
To: flexcoders@yahoogroups.com
Date: Wednesday, February 3, 2010, 5:51 AM







 



  



  
  
  Yes, LCDS 3.0 has a free developer license.



-Mete 



--- In flexcod...@yahoogro ups.com, Dan Pride  wrote:

>

> Ia there a way for startups to get low cost access to Flex/LCDS Enterprise 
> for development purposes only ?

>






 





 



  






  

[flexcoders] Google combo like Flex interface

2010-02-03 Thread Christophe
Hello, 

I have a client table in a mySql database, and I want to propose in a Flex RIA 
a search interface for the client list name. 

How to make a search interface like in the Google Combo. 

When you type the word 'a', it propose all the words beginning by 'a' ?  

Thank you,
Christophe, 




[flexcoders] Re: What's up Adobe?

2010-02-03 Thread GeorgeB
Hi Mark,

Just a "short" answer (from Wiki) to your question:: "In fact, before they 
decided to change them name, I wondered why they were associating the name with 
"Flex" in the first place." 

Certain things in the following description need be corrected of course, like 
the last entry in Release History.. but anyway. Flex was there right from the 
beggining since Macromedia introduced it.

Thanks 
George

The initial release in March 2004 by Macromedia included a software development 
kit, an IDE, and a J2EE integration application known as Flex Data Services. 
Since Adobe acquired Macromedia in 2005, subsequent releases of Flex no longer 
require a license for Flex Data Services, which has become a separate product 
rebranded as LiveCycle Data Services.



Release history
Flex 1.0 – March 2004 
Flex 1.5 – October 2004 
Flex 2.0 (Alpha) – October 2005 
Flex 2.0 Beta 1 – February 2006 
Flex 2.0 Beta 2 – March 2006 
Flex 2.0 Beta 3 – May 2006 
Flex 2.0 Final- June 28, 2006 
Flex 2.0.1 – January 5, 2007 
Flex 3.0 Beta 1 – June 11, 2007 
Flex 3.0 Beta 2 – October 1, 2007 
Flex 3.0 Beta 3 – December 12, 2007 
Flex 3.0 – February 25, 2008 
Flex 3.1 – August 15, 2008 
Flex 3.2 – November 17, 2008 
Flex 3.3 – March 4, 2009 
Flex 3.4 - August 18, 2009 
Flex 3.5 - December 18, 2009 [1] 
Flex 4 - 2010 


--- In flexcoders@yahoogroups.com, "Mark A. DeMichele"  wrote:
>
> I think the new name makes perfect sense.  The current FlexBuilder
> doesn't only "build" "flex".  It builds "flash" as well.  When you think
> of it, it is truly a "Flash" "Builder".  In fact, before they decided to
> change them name, I wondered why they were associating the name with
> "Flex" in the first place.  When I started, it was not obvious I could
> use it to build a simple flash animations without the flex framework,
> which I actually needed to do for a few projects.  I think of it as a
> "programmers" tool for making flash "apps" as opposed to an artist's
> tool for making pretty animations.
>




[flexcoders] How to have tab spacing inside TextArea

2010-02-03 Thread Jose Carlo Quilala
Does anybody know how to have tab spacing inside TextArea in Flex3? coz 
whenever you press tab the focus will move to another component...


  

[flexcoders] Re: What's up Adobe?

2010-02-03 Thread Mark A. DeMichele
I think the new name makes perfect sense.  The current FlexBuilder
doesn't only "build" "flex".  It builds "flash" as well.  When you think
of it, it is truly a "Flash" "Builder".  In fact, before they decided to
change them name, I wondered why they were associating the name with
"Flex" in the first place.  When I started, it was not obvious I could
use it to build a simple flash animations without the flex framework,
which I actually needed to do for a few projects.  I think of it as a
"programmers" tool for making flash "apps" as opposed to an artist's
tool for making pretty animations.



Re: [flexcoders] Localization problems mainly on Macs - Cannot switch to second input Language

2010-02-03 Thread Fotis Chatzinikos
Hello all i added the following in jira as a bug (#FP-3824).

If any of you have some time, can you test/reproduce and reply here? Or even
vote for the bug?


  Steps to reproduce:

1.

Compile and run the following (flex code 3.2)


http://www.adobe.com/2006/mxml"; layout="absolute">




2.

View the application in Chrome (in windows), or any browser on a Mac

3.

type something in the input box in your pre-selected language and then try
switching to a second language,
continue typing...

 Actual Results:

Text remains in the main language, or is broken (usually the first)

 Expected Results:

Users should be able to switch to their second language and type as normal

 Workaround (if any):


No work around, but i think that the problem is that flash player in
combination with some browsers (mentioned above) 'eats' the ALT-SHIFT /
change language event - i might be wrong...


Thanks,
Fotis


On Tue, Feb 2, 2010 at 11:55 AM, Fotis Chatzinikos <
fotis.chatzini...@gmail.com> wrote:

> Thanks Gordon,
>
> I will do as you suggest - I just confirmed that it happens in windows
> Chrome as well as Mac browsers.
>
> I just realized something else which might help you catch it ...
>
> In windows chrome, if i go to the windows start bar and change language
> it.. works.
>
> So, iti seems that some browser / flash combinations 'eat' the alt-shift
> event, so the operating system never gets the event to switch language...
>
> I will fill a bug report and let you know, but i am not sure if it is
> player, browser, or combination issue.
>
>
> On Mon, Feb 1, 2010 at 10:44 PM, Gordon Smith  wrote:
>
>>
>>
>>  Fotis, I contacted the relevant Player engineer and he replied "First
>> I’ve heard of it.  Can we get a bug filed with repro steps fit for people
>> who don’t know how to do Greek input?" So could you please file an SDK bug
>> in Jira and then I'll get a Player bug filed?
>>
>>
>>
>> - Gordon
>>
>>
>>
>> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
>> Behalf Of *fotis.chatzinikos
>> *Sent:* Friday, January 29, 2010 5:13 AM
>> *To:* flexcoders@yahoogroups.com
>> *Subject:* [flexcoders] Localization problems mainly on Macs - Cannot
>> switch to second input Language
>>
>>
>>
>>
>>
>> Any ideas why on mac browsers we can not control-shift (or whatever is the
>> appropriate keys combo to switch to another language) to Greek for example
>> (some minor windows browsers as well)? The language indicator some times
>> switches to Greek but still all text inputs are broken. Either empty spaces
>> or broken characters instead of Greek.
>>
>> PS: Follows history from previously (slightly hijacked thread)
>>
>> Thanks Gordon, I will open a new Thread
>>
>> On Fri, Jan 29, 2010 at 2:09 AM, Gordon Smith 
>> >
>> wrote:
>>
>> I'm not aware of this particular problem, but I'll ask a Player engineer
>> who might know what's going on.
>>
>> Gordon Smith
>>
>> Adobe Flex SDK Team
>>
>> Sorry for being slightly off topic, but I also have a localization problem
>> and Gordon seems the right person to ask..
>>
>> Any ideas why on mac browsers we can not control-shift (or whatever is the
>> appropriate keys combo to switch to another language) to Greek for example
>> (some minor windows browsers as well)? The language indicator some times
>> switches to Greek but still all text inputs are broken. Either empty spaces
>> or broken characters instead of Greek.
>>
>> TIA,
>> Fotis
>>
>>   
>>
>
>
>
> --
> Fotis Chatzinikos, Ph.D.
> Founder,
> LivinData Technologies
> www.styledropper.com
> fotis.chatzini...@gmail.com,
>



-- 
Fotis Chatzinikos, Ph.D.
Founder,
LivinData Technologies
www.styledropper.com
fotis.chatzini...@gmail.com,


Re: [flexcoders] How to update styles after a registerColorNames ?

2010-02-03 Thread cyril ronseaux
Hi,

Thanks for the answer. I'm working on Flex3 for the moment.
I searched quickly how to get the IStyleManager for flex3, and,... well, ...
I'll have to wait for your help :)
I tried the most naive way, StyleManager.styleDeclarationsChanged() and
since its mx_internal it won't let me.

Cyril

On Wed, Feb 3, 2010 at 7:42 AM, Alex Harui  wrote:

>
>
> Use loadStyleDeclarations(url, false);
> Call registerColorName
> Get the IStyleManager (how to do it depends on your version of Flex)
> Call IStyleManager.styleDeclarationsChanged()
>
>
>
> On 2/2/10 9:34 AM, "cyril ronseaux"  wrote:
>
>
>
>
>
>
> Hi,
>
> background : we are trying to simplify maintenance of CSS stylesheets by
> declaring "theme colors" once, and using them everywhere else. We intend to
> read a specific style declaration (e.g. getStyleDeclaration("global",
> "maincolor") ), to then register color names for that color :
> StyleManager.registerColorName("maincolor",
> theColorWeJustReadFromGlobalDeclaration), and use that just-registered
> colorname everywhere we need that color in our CSS.
>
> For now, i'm stuck with an issue : components that use styles that
> reference my custom color, do not pick the color until I RE-load the CSS.
>
> I'm loading style dynamically :
> StyleManager.loadStyleDeclarations(url, true); // a swf containing the CSS
>
> On style complete :
> StyleManager.registerColorName("mycolor", 0x00FF00);
>
> In the CSS :
> . test {
> color: prout;
> }
>
> Component :
> 
>
> To make it works I had to add : StyleManager.loadStyleDeclarations(url,
> true);
> a second tome after the registerColorName :
>
> On style complete :
> StyleManager.registerColorName("mycolor", 0x00FF00);
> StyleManager.loadStyleDeclarations(url, true);
>
>
> But I wish I could do it without having to reload the stylesheet.
> I tried : this.styleChanged(null); // this is application
> and
> this.styleInitialized();
>
>
> Any idea ?
>
> Thanks in advance.
> Cyril
>
>
>
>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>  
>


[flexcoders] Re: PopUpManager & Module Components

2010-02-03 Thread criptopus
One of my modules that I converted to ModuleTitleWindow is complaining about 
 it says it could not resolve  to a component 
implementation. It was working before so what happened and how do I put it 
right?

- Stephen Brown



Re: [flexcoders] WSDL objects -> Flex value objects

2010-02-03 Thread claudiu ursica
There are 2 version of the utility, I'm sucessfully using one of them. I can 
send it to you though if you need it. The idea is that you want to translate 
object from the response into custom objects. And that does exactly that thing.
C






From: Nick Middleweek 
To: flexcoders@yahoogroups.com
Sent: Wed, February 3, 2010 12:46:21 PM
Subject: Re: [flexcoders] WSDL objects -> Flex value objects

   
Hey, thanks for the reply... I'm not sure how that helps though?


Thanks




On 2 February 2010 16:56, claudiu ursica  wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>  >
>
>>
> 
>>  
> 
>Google for Object Translator custom class.
>C
>
>
 


  

[flexcoders] Re: Flex/LCDS Enterprise

2010-02-03 Thread Mete Atamel
Yes, LCDS 3.0 has a free developer license.

-Mete 

--- In flexcoders@yahoogroups.com, Dan Pride  wrote:
>
> Ia there a way for startups to get low cost access to Flex/LCDS Enterprise 
> for development purposes only ?
>




Re: [flexcoders] Re: What's up Adobe?

2010-02-03 Thread Paul Andrews
GeorgeB wrote:
> Hi all. hi Tom, hi Nick, hi Wally
>
> I have to thank you for your understanding! The common denominator of all 
> answers on why the new version of Flex Builder 3 should be renamed to Flash 
> Builder 4 is "WTF No big deal". Or better, as Tom put it: "Just marketing 
> bollocks!!" LOL
>   
It may just be a name, but as your post shows people are confused by 
these changes and it is worse for people who don't understand what Flex 
is. A ton of people still associate flash with childish eye candy.
> Then I can call myself anything I like, as long as I keep exercising 
> succesfully my discipline writting code in a framework used to be called Flex 
> Builder (plug-in IDE to Eclipse) and now called Flash Builder IDE. What's 
> bugging me is that all my current work done for the last 2 years, has to be 
> referencing as been done in a non-existing (now obsolete?) framework, that as 
> time goes will have its trade name placed next to T-Rex. As I understand it, 
> this marketing decision is devaluating my investment in a development 
> platform. (Not my first time unfortunatelly)
>   
Nobody has said the Flex framework is going anywhere.
> Although not a stickler, I believe marketeers shouldn't be creating a mess 
> out of logic. Like presenting us a product named Flash Builder4 with no 
> previous Flash Builder3. If they think Flash Builder IS the name, why don't 
> they call this "new" product just "Flash Builder v1"? Or, are they afraid 
> this would confuse the market?
>   
Adobe is getting into a mess with product names.
> BTW should this "Flexcoders" group be renamed to "Flashcoders"?  Or keep it 
> going as is? (Resembling groups of practicioners in now extinct obscure arts, 
> black magic etc? if you excuse me the pun..)
>   
It's still coding using MXML and the Flex class framework, so I don't 
see that the name should change. I didn't see that the tool name should 
have changed either - for the same reason.

Paul
> Thanks all for the very thoughtful replies
> George
>
> --- In flexcoders@yahoogroups.com, Wally Kolcz  wrote:
>   
>> 1.) Keeping all their items more focused on the 'Flash Platform'.
>> 2.) Call yourself a 'Flash Developer specializing in the Flex 
>> Framework'. Flex is not a language, its a Framework. It runs your 
>> application on a 2 frame time line. Frame 1 is the application loader, 
>> Frame 2 is your application. MXML gets compiled into ActionScript. All 
>> tags are easy representations of true AS classes. It is created for 
>> speed. Kinda like how ColdFusion is compiled into Java. You can create 
>> full working Flex apps without any MXML. I guess if you are worried 
>> about being confused with an animator call yourself a 'ActionScript 
>> Developer specializing in the Flex Framework'
>> 5.) Doubt it too. They seem just to be aligning all the products related 
>> to Flash with Flash (Flash Builder, Flash Professional, Flash Catalyst)
>> 6.) Blaze will probably remain around as a lesser version of LCDS. You 
>> lose some really cool features, but don't pay the monster price tag. I 
>> think Adobe knows that some of the success of Flash/Flex is that 
>> streaming data interaction and to only offer a pay version (LCDS) would 
>> stunt the growth of the community. Not all independant developer, web 
>> hosts, or small-mid companies can afford the full LCDS price tag.
>>
>> On 2/2/2010 4:42 AM, GeorgeB wrote:
>> 
>>> Hi all,
>>> I am a fully occupied Flex v3 developer, and don't have spare time to 
>>> switch to Flex v4 before the projects I work on are over and done. 
>>> While on the side subject that Gordon Smith (post 152124) raised, may 
>>> I ask for reasonable answers? (since what I read worry me a lot about 
>>> the future of my projects support from Adobe):
>>>
>>> 1. What was the meaning of Adobe changing the name from Flex Builder 
>>> (v3) to Flash Builder, while keeping the upgrade path from v3 to v4?
>>> 2. I used to call myself a Flex developer, i.e MXML plus AS3 
>>> programmer. Should I have to call myself a Flash developer from now on?
>>> 3. I understand there were Flash developers around since the very 
>>> begining. They have expertise among other things in timeline effects 
>>> and sequential animation programming using tools like Creative Suite 
>>> (Photoshop etc) way out of my discipline of database RIAs. Do I have 
>>> to describe myself as a creative animator now?
>>> 4. If this is v4 of something, shouldn't that be an update of it's 
>>> previous version 3? (In this case does Flex = Flash?)
>>> 5. Is Adobe running out of trade names? (or running out of what?)
>>> 6. Also what's the future of BlazeDS after recent marketing 
>>> developments on LCESDS (or is it LCDSES?)?
>>>
>>> BTW I used to think of Adobe as a technology company. Am I mistaken?
>>>
>>> Thanks all
>>> George
>>>
>>>
>>>   



Re: [flexcoders] WSDL objects -> Flex value objects

2010-02-03 Thread Nick Middleweek
Hey, thanks for the reply... I'm not sure how that helps though?


Thanks



On 2 February 2010 16:56, claudiu ursica  wrote:

>
>
> Google for Object Translator custom class.
> C
>
>


[flexcoders] Re: What's up Adobe?

2010-02-03 Thread GeorgeB
Hi all. hi Tom, hi Nick, hi Wally

I have to thank you for your understanding! The common denominator of all 
answers on why the new version of Flex Builder 3 should be renamed to Flash 
Builder 4 is "WTF No big deal". Or better, as Tom put it: "Just marketing 
bollocks!!" LOL

Then I can call myself anything I like, as long as I keep exercising 
succesfully my discipline writting code in a framework used to be called Flex 
Builder (plug-in IDE to Eclipse) and now called Flash Builder IDE. What's 
bugging me is that all my current work done for the last 2 years, has to be 
referencing as been done in a non-existing (now obsolete?) framework, that as 
time goes will have its trade name placed next to T-Rex. As I understand it, 
this marketing decision is devaluating my investment in a development platform. 
(Not my first time unfortunatelly)

Although not a stickler, I believe marketeers shouldn't be creating a mess out 
of logic. Like presenting us a product named Flash Builder4 with no previous 
Flash Builder3. If they think Flash Builder IS the name, why don't they call 
this "new" product just "Flash Builder v1"? Or, are they afraid this would 
confuse the market?  

BTW should this "Flexcoders" group be renamed to "Flashcoders"?  Or keep it 
going as is? (Resembling groups of practicioners in now extinct obscure arts, 
black magic etc? if you excuse me the pun..)

Thanks all for the very thoughtful replies
George

--- In flexcoders@yahoogroups.com, Wally Kolcz  wrote:
>
> 1.) Keeping all their items more focused on the 'Flash Platform'.
> 2.) Call yourself a 'Flash Developer specializing in the Flex 
> Framework'. Flex is not a language, its a Framework. It runs your 
> application on a 2 frame time line. Frame 1 is the application loader, 
> Frame 2 is your application. MXML gets compiled into ActionScript. All 
> tags are easy representations of true AS classes. It is created for 
> speed. Kinda like how ColdFusion is compiled into Java. You can create 
> full working Flex apps without any MXML. I guess if you are worried 
> about being confused with an animator call yourself a 'ActionScript 
> Developer specializing in the Flex Framework'
> 5.) Doubt it too. They seem just to be aligning all the products related 
> to Flash with Flash (Flash Builder, Flash Professional, Flash Catalyst)
> 6.) Blaze will probably remain around as a lesser version of LCDS. You 
> lose some really cool features, but don't pay the monster price tag. I 
> think Adobe knows that some of the success of Flash/Flex is that 
> streaming data interaction and to only offer a pay version (LCDS) would 
> stunt the growth of the community. Not all independant developer, web 
> hosts, or small-mid companies can afford the full LCDS price tag.
> 
> On 2/2/2010 4:42 AM, GeorgeB wrote:
> >
> > Hi all,
> > I am a fully occupied Flex v3 developer, and don't have spare time to 
> > switch to Flex v4 before the projects I work on are over and done. 
> > While on the side subject that Gordon Smith (post 152124) raised, may 
> > I ask for reasonable answers? (since what I read worry me a lot about 
> > the future of my projects support from Adobe):
> >
> > 1. What was the meaning of Adobe changing the name from Flex Builder 
> > (v3) to Flash Builder, while keeping the upgrade path from v3 to v4?
> > 2. I used to call myself a Flex developer, i.e MXML plus AS3 
> > programmer. Should I have to call myself a Flash developer from now on?
> > 3. I understand there were Flash developers around since the very 
> > begining. They have expertise among other things in timeline effects 
> > and sequential animation programming using tools like Creative Suite 
> > (Photoshop etc) way out of my discipline of database RIAs. Do I have 
> > to describe myself as a creative animator now?
> > 4. If this is v4 of something, shouldn't that be an update of it's 
> > previous version 3? (In this case does Flex = Flash?)
> > 5. Is Adobe running out of trade names? (or running out of what?)
> > 6. Also what's the future of BlazeDS after recent marketing 
> > developments on LCESDS (or is it LCDSES?)?
> >
> > BTW I used to think of Adobe as a technology company. Am I mistaken?
> >
> > Thanks all
> > George
> >
> >
>




[flexcoders] file saving problem

2010-02-03 Thread Tejas Patel
is it possible to create file (.csv / .xls) using actionscript and asked to 
save it to local hard drive?
with which flex sdk, it is possible & how?
currently I am using SDK 3.



  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/