Re: [flexcoders] Alert messages in multi window AIR bug in framework?

2010-08-11 Thread Wesley Acheson
Hi, I've run into this problem too. I've attempted the solution in the original email. However when I tried it I also had to delete the import to core/ version.as as it didn't seem to work. I'm not sure what this import does as it seemed to work correctly without it. Also if this is in Jira

Re: [flexcoders] AMFPHP Security?

2010-08-11 Thread Oleg Sivokon
You shouldn't send sensitive data to begin with, you need to calculate it on server and call saveHighScore() without parameters, so only server will know what the score was. No matter what your client technology is, the client cannot be trusted.

Re: [flexcoders] Re: After importing file using FileReference focus is lost

2010-08-11 Thread Oleg Sivokon
http://bugs.adobe.com/jira/secure/QuickSearch.jspa By the way, while you are on it... sometimes the window opened by FileReference isn't modal, Flash will also not dispatch key release events after the dialog box appears... I hadn't have the time to post these :) (Make sure it wasn't posted

Re: [flexcoders] Accessing repeating components through ActionScript

2010-08-11 Thread Oleg Sivokon
@id must be a simple identifier, it's the same as variable name in AS3. What you can do though is like this: add creationComplete handler to the repeating components and collect them into vector / array / dictionary / etc, whatever suites you better. Something like this: mx:Array id=labels/

Re: [flexcoders] Accessing repeating components through ActionScript

2010-08-11 Thread Oleg Sivokon
mx:Array id=labels/ mx:Repeater id=rp dataProvider={[0, 1, 2, 3]} mx:Label mx:creationComplete var event:Event = arguments[0] as Event; this.labels.push(event.currentTarget); /mx:creationComplete /mx:Label /mx:Repeater * Sorry, incorrect opening and closing tags.

Re: [flexcoders] flex 4 TabBar skinning...

2010-08-11 Thread claudiu ursica
I only skinned a ButtonBar in FX4 i was using it as a language bar, I still have the code somewhere if you think it would help... C From: grimmwerks gr...@grimmwerks.com To: flexcoders@yahoogroups.com Sent: Wed, August 11, 2010 6:37:53 AM Subject:

[flexcoders] Re: Flex charts to powerpoint

2010-08-11 Thread Paul
I don't think you can export the charts directly. In my application, I allow users to save the chart image as a jpg file which they can insert into their powerpoint documents for creating presentations. var image:ImageSnapshot = ImageSnapshot.captureImage( mychart, 0, new JPEGEncoder() );

[flexcoders] Re: Strange problem with Item Renderer in Flash Play 10

2010-08-11 Thread Paul
Hi Amy, I just returned from vacation and picked up the issue again. It appears to me that Text and TextArea components do not work as item renderers in Flash Player 10. So, I found a different way to display the multi-line text in the grid column by using a label function instead. Thanks

[flexcoders] Re: AMFPHP Security?

2010-08-11 Thread valdhor
You could always use a secure connection via https. Also, you could send an encrypted username and password. For example, every thirty minutes generate a new password string. The server can use the same algorithm to generate a string and then you could compare them. --- In

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

2010-08-11 Thread Wally Kolcz
I just added the link-report to the compiler and it generated a large xml document. I only copied the parts that mentioned the module. As far as I know, they share no common elements at all. I can include the full report if it means I can finally get an answer to this problem. If it is a case

[flexcoders] Data Management

2010-08-11 Thread Stephen
If I create two tables and wish to display attributes from both and I join these tables together and display the results everything is fine. If I then need to change some of this data by updating or deleting from one of the tables (as update and delete wont work for the joined tables) I get a

Re: [flexcoders] link button from a rss

2010-08-11 Thread Gustavo Duenas
hi Guys don't get confused...This was solved I have that click on the mx:Vbox part... awkward right? Now it is working. gus On Aug 10, 2010, at 4:51 PM, Gustavo Duenas wrote: my whole code for the component. mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=497 height=194

[flexcoders] Vote For This Critiical RemoteObject bug

2010-08-11 Thread Battershall, Jeff
Somehow a critical bug has fallen through the cracks - essentially RemoteObjects in AIR/Windows timeout after 30 seconds no matter what value you have set in requestTimeout or URLRequestDefaults.idleTimeout: https://bugs.adobe.com/jira/browse/FP-4934 There seems to be some question as to

Re: [flexcoders] Re: AMFPHP Security?

2010-08-11 Thread Clark Stevenson
Thanks for your help guys. Oleg: I didnt really understand what you meant. The server cant know about your highscroe locally? IE: you score 13 points. You need to tell the server that you got 13 points. How could the server know otherwise that you got 13 points? Valdhor: I think this is

RE: [flexcoders] Re: AMFPHP Security?

2010-08-11 Thread Gregor Kiddie
If you want it to be fairly untouchable, have all your game logic on the server. The only thing the swf does is gather input, and display state. That way, nobody can spoof the game logic (which is pretty much your issue). Gk.

Re: [flexcoders] Re: AMFPHP Security?

2010-08-11 Thread Oleg Sivokon
Exactly, what Gk said. You can make it difficult to forge the data on client, but you cannot 100% prevent it from being cracked, so, better, keep the score on the server.

[flexcoders] Re: AMFPHP Security?

2010-08-11 Thread valdhor
How about computing the hash based on the date and time when someone invokes the high score? Time can be +- 15 seconds to account for the amount of time to get to the server. The server computes the same hash when it receives the call and then compares. Someone could possibly grab the hash in

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

2010-08-11 Thread Alex Harui
In Flex 4, styles became per-module. That has the greatest chance of causing problems. To figure out exactly how to solve your problem would require debugging into it. If you are using a module project in FB, you may not be able to capture the link-report from the main app. You will have to

RE: [flexcoders] Vote For This Critiical RemoteObject bug

2010-08-11 Thread Battershall, Jeff
Kelly, valid point and I've already spent considerable time optimizing things to reduce the size and improve the response time of individual requests. Pagination is only one of the scenarios. There are situations such as during application start up where routine requests can take longer than

Re: [flexcoders] AMFPHP Security?

2010-08-11 Thread hamann . w
Clark Stevenson wrote: Hi all. I am new to AMFPHP. Lets say you have a class and a function: SomeClass.saveHighScore(304958); For me, the way i see it, is that anyone using Charles can call this method? Whats to stop anyone from calling it directly?

[flexcoders] Flex and Zend acess https

2010-08-11 Thread Julie
I have a project using Flex as Front End, php as service and Zend Framework as gateway. I was able to run correctly on my local or non ssl environment. However, when it was deployed to a security environment using https, I kept on getting channel disconnect error. The project was developed

Re: [flexcoders] AMFPHP Security?

2010-08-11 Thread Imap.gmail.com
Use a token system. Accessing the entry page, preferably by the submission and validation of a username and password, have the server randomly generate a token and store it in php (or whatever your server side language is written in) session variables. For any other data request of any kind,

[flexcoders] Curved Text over Selected Image in Flex

2010-08-11 Thread raviktg1982
Hello Everybody I was looking for text curved(arc- upper semicircle ) similar to the link below http://www.housesign.co.uk/design-a-sign/ http://www.housesign.co.uk/design-a-sign/ If you select circle shape and the text gets curved along upper semicircle. I could not figure out the concepts

[flexcoders] Re: Flex charts to powerpoint

2010-08-11 Thread DustinB
I need to post this on my blog, but the way I did it was with an AIR app, though a Flex app could do it too. It wasnt ideal, but worked. Basically, I took my Flex chart and captured it as a bitmap, then transcoded that to base64. MS PowerPoint 2007 supports the .mht file format which is

[flexcoders] Push verse Poll in Flash Player

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

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

2010-08-11 Thread Wally Kolcz
Right now the project is basically 2 mxml pages. I can send the project to you if you want, and have time, to take a look at it. Just let me know where to send it.Thanks! On 8/11/2010 1:24 PM, Alex Harui wrote: In Flex 4, styles became per-module. That has the greatest chance of causing

[flexcoders] Custom Layout

2010-08-11 Thread Dan Vega
I created a custom layout called StairsLayout package { import mx.core.ILayoutElement; import spark.components.supportClasses.GroupBase; import spark.layouts.supportClasses.LayoutBase; public class StairsLayout extends LayoutBase { public function StairsLayout() { super(); } override public

[flexcoders] how long trial flex on linux is? [1 Attachment]

2010-08-11 Thread cholid cholid
how long trial flex on linux is? ps:see my attachment trial expire snapshoot

Re: [flexcoders] Push verse Poll in Flash Player

2010-08-11 Thread Akshar Kaul
what kind of notifictions do you want. i guess you want to query your backend every 30 or 60 seconds.. Akshar Kaul On Thu, Aug 12, 2010 at 05:46, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: Is there a way to get notifications on a regular interval for Flash