[flexcoders] Performance feedback PLEASE

2010-04-09 Thread Allan Pichler
I was wondering if anyone could take a quick glance at my AS3 3d renderer http://api.pluton.webhouse.dk/pool3d/pool3d.html and reply what FPS they get on their gear. If you could also provide your CPU info that would be extremely helpful. For the curious the engine sports the following

Re: [flexcoders] Performance feedback PLEASE

2010-04-09 Thread Adnan Doric
105-107 FPS i7 Extreme 965 On 09/04/2010 10:51, Allan Pichler wrote: I was wondering if anyone could take a quick glance at my AS3 3d renderer http://api.pluton.webhouse.dk/pool3d/pool3d.html http://api.pluton.webhouse.dk/pool3d/pool3d.html and reply what FPS they get on their gear. If

[flexcoders] applying styles to UITextfield, embeding fonts and more fun stuff

2010-04-09 Thread ouaqa
Hello fellow flexcoders. I'm stuck at a critical point while developing my application. Here's the context : A user can add and style text to a postcard (being a Canvas). The text can then be modified and rotated. The rotation is handled by a library performing well on pictures. The text is a

[flexcoders] Re: applying styles to UITextfield, embeding fonts and more fun stuff

2010-04-09 Thread ouaqa
problem solved using textfield and textformat objects. here are the modifications : this.elementText = new TextField(); textFormat = new TextFormat(); ... ... var conteneur : UIComponent = new UIComponent(); conteneur.addChild(this.elementText); this.addChild(conteneur); for the

Re: [flexcoders] Performance feedback PLEASE

2010-04-09 Thread Oleg Sivokon
Windows XP SP2 dualcore 2x2.13 Player plugin debugger (Chrome, Opera, FireFox, Safari) - 38-41 fps. Player ActiveX debugger - 38-47 fps. Standalone debugger - 36-37 fps. Player version 10.0.32 for all kinds. Best. Oleg

Re: [flexcoders] Performance feedback PLEASE

2010-04-09 Thread thomas parquier
crunchbang (ubuntu) AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ flashplayer 10.0.32.18 : 40-41fps great visual result thomas parquier --- http://www.web-attitude.fr/realisations/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone

Re: [flexcoders] Performance feedback PLEASE

2010-04-09 Thread Robert VanCuren Jr
53 fps Intel Core 2 Duo T9400 @ 2.53GHz Flash player version 10,1,51,95 On Fri, Apr 9, 2010 at 4:51 AM, Allan Pichler dreamc...@gmail.com wrote: I was wondering if anyone could take a quick glance at my AS3 3d renderer http://api.pluton.webhouse.dk/pool3d/pool3d.html and reply what FPS

Re: [flexcoders] Performance feedback PLEASE

2010-04-09 Thread Jake Churchill
70 fps Intel Core 2 Duo @ 3Ghz flash player version 10,0,45,2 On Fri, Apr 9, 2010 at 8:27 AM, Robert VanCuren Jr robert.vancuren...@gmail.com wrote: 53 fps Intel Core 2 Duo T9400 @ 2.53GHz Flash player version 10,1,51,95 On Fri, Apr 9, 2010 at 4:51 AM, Allan Pichler dreamc...@gmail.com

[flexcoders] A Viewstack but not with Canvases

2010-04-09 Thread Leonardo Camargo
Hi, I have a complex flex app I've been building for months, most of the containers are Boxes,VBoxes, HBoxes.. now I need to have two layers: my current app(1st layer), and a videodisplay that will take the whole space(2nd layer). That would be easily done(I assume) if both of my layers were

[flexcoders] Re: Performance feedback PLEASE

2010-04-09 Thread Jeff
60 fps Intel Core2 Duo 2.67GHz 4 GB RAM 64-bit Windows 7 --- In flexcoders@yahoogroups.com, Allan Pichler dreamc...@... wrote: I was wondering if anyone could take a quick glance at my AS3 3d renderer http://api.pluton.webhouse.dk/pool3d/pool3d.html and reply what FPS they get on their gear.

[flexcoders] how to know SWF file size?

2010-04-09 Thread markflex2007
Hi, I am using mx:SWFLoader to load swf files. My question is how to know the real width and height for the swf file. Thanks Mark S

[flexcoders] With the latest eula agreement from Apple

2010-04-09 Thread Patrick
Will adobe punch back and file a law suit against apple? This is total crap.

[flexcoders] how to make component sutomaticalllt fit container?

2010-04-09 Thread markflex2007
Hi, I want to change the container size and I hope components inside the container automatically fit to it (not scroll bar appear). Thanks Mark

Re: [flexcoders] how to know SWF file size?

2010-04-09 Thread Oleg Sivokon
Hi, Mark. Look into these: http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/LoaderInfo.html#height http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/LoaderInfo.html#width Best. Oleg

[flexcoders] displaying list one at a time (flex4)

2010-04-09 Thread James Dean
hi guys. i have a question. suppose i have 15items in a list. i want to : 1) show each item in the list one at a time (like a screensaver eg: huge font) for 4seconds 2) the entire list item should be hidden or not displayed. only one list at a time must be shown can someone tell me how to

RE: [flexcoders] Disappearing item renderer

2010-04-09 Thread Philip Smith
I tried that, the problem is still occurring. Any other possible solutions? Thanks. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Thu, 8 Apr 2010 22:00:12 -0700 Subject: Re: [flexcoders] Disappearing item renderer Set a

[flexcoders] AS2 SWF lost function when loaded second time

2010-04-09 Thread James
Hi All, In my flex app, I loaded a AS2 swf. The AS2 swf is a document, generated by print2flash. The swf document worked great at the first time. However, if I unload it, and load another document (or load the same document again), the mouse drag function didn't work. I found a post on adobe,

[flexcoders] Re: open source flex sdk | flex lib.swc | Missing Datavisualization.swc

2010-04-09 Thread ilikeflex
Thanks Jeffry --- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: To get the charting classes [in Flex 3] you needed to purchase Flex Builder Pro. They have been open sourced as of the release of Flex 4 / Flash Builder 4. I have no idea how that relates to 'legacy'

Re: [flexcoders] FlashBuilder 4 Linux Released!

2010-04-09 Thread feiy
u can download the fb4linux from :http://code.google.com/p/fb4linux/ 闲云孤鹤 - 清冷香中抱膝吟 On Fri, Apr 9, 2010 at 12:44 AM, Joe Cabezas joe.cabe...@gmail.com wrote: where i can get this?, adobe trials page not yet :/ 2010/4/8 feiy eshang...@gmail.com hi,now *FB4Linux is Platform

Re: [flexcoders] displaying list one at a time (flex4)

2010-04-09 Thread thomas parquier
Hello, You can use a viewstack : only one element is visible at a time, some effects can be added for transitions. have a good day, thomas parquier --- http://www.web-attitude.fr/realisations/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net

Re: [flexcoders] Re: Performance feedback PLEASE

2010-04-09 Thread Nigel Magnay
Some figures: Mac Pro 2008, 8 cores @ 2.8Ghz; NVidia 8800 GT. Under flash 10.0 : ~23fps Under flash 10.1 : ~46fps Here's the kicker On the same machine, running Windows in VMWare fusion in a window : Under flash 10.0 : ~64fps Yep. That's right. It's much quicker in a Windows VM. Little

RE: [flexcoders] With the latest eula agreement from Apple

2010-04-09 Thread Battershall, Jeff
I love my MacBook Pro, and related Apple products, but Steve Jobs is really starting to piss me off. Apparently this 'restriction' is not being applied evenhandedly across the boards with other similar packaging tools. I am sure that Flash being integrated with Chrome isn't helping things

[flexcoders] Grid | colspan | how to change dynamically

2010-04-09 Thread ilikeflex
hi See the code below. On button click i want to change the grid's row 2. But the colspan does not change. I have tried all kind of invalidate... methods. How can this be done.Any pointers... Thanks ilikeflex mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Grid id=myGrid

[flexcoders] Re: A Viewstack but not with Canvases

2010-04-09 Thread turbo_vb
Hi Leonardo, ViewStack requires its children to be a Container, or subclass of Container. Box, HBox and VBox all extend Container and should work just fine. Besides, you're talking about adding a sibling to your current app. So, you could wrap the code for your current app into any

[flexcoders] Re: With the latest eula agreement from Apple

2010-04-09 Thread Jeffry Houser
Can you provide a source for the restrictions not being applied evenhandedly? As far as I know, Apple has changed their developer agreement for iPhone / iPad / iPod Touch. They have not attempted to enforce the new restriction on anyone, Adobe or otherwise. --- In

[flexcoders] A label on a border - is this a skin?

2010-04-09 Thread libbychantel
FB3 I need to put a fancy oval text thing superimposed onto the top of a VBox. Would this be a skin for the VBox border or some other technique? It would be nice to be able to do it in .css if possible. I have no idea how to proceed. Please point me in the right direction. I was gonna upload

[flexcoders] Positioning / Scrolling problem with Flex popup

2010-04-09 Thread s_grollins
Hi all, I'm trying to work out a specific problem I'm having with positioning in Flex using the PopUpManager. Basically I'm wanting to create a popup which will scroll with the parent container - this is necessary because the parent container is large and if the user's browser window isn't

RE: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-09 Thread Battershall, Jeff
The source may be hearsay, but is referenced in this blog post: http://whydoeseverythingsuck.com/2010/04/steve-jobs-has-just-gone-mad.html Reportedly Unity 3D was told that this new EULA would not apply to them, yet on the face of it, it should. -Original Message- From:

[flexcoders] Simply Cannot Insert Values into My Database From Flex

2010-04-09 Thread James
I'm trying to learn how to insert values from my flex app to my mysql database via a php file. I've followed the following example to the letter but it simply will not work for me:- http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_2.html When I click the button in the app

[flexcoders] Re: Positioning / Scrolling problem with Flex popup

2010-04-09 Thread turbo_vb
You'll want to create a method that does something like this: var target:Point = localToGlobal( new Point( hbox.x, hbox.y ) ); popup.move( target.x, target.y ); Call the method after you add the popup and when the container is scrolled. In some cases localToContent is more appropriate. -TH

[flexcoders] Re: render tree click problem with viewstack

2010-04-09 Thread advancedonsite
If I put in an Alert statement before the mainviewstack.selectedChild = Container(mainviewstack.getChildByName(selectedno...@hidden)); then everything works fine ? It's like the viewstack is not created in time but adding the alert slows it down and allows it to be created, very weird. ---

[flexcoders] Re: With the latest eula agreement from Apple

2010-04-09 Thread Jeffry Houser
I'd love to see a source other than something that someone said in a comment on a blog post; about Unity3D being excluded. --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... wrote: The source may be hearsay, but is referenced in this blog post:

Re: [flexcoders] AS2 SWF lost function when loaded second time

2010-04-09 Thread Alex Harui
Try different ways of unloading. Unload it, then destroy the SWFLoader used to load it and create a new SWFLoader instead. You might have to force garbage collection along the way. On 4/9/10 8:47 AM, James kkke...@yahoo.com wrote: Hi All, In my flex app, I loaded a AS2 swf. The AS2

Re: [flexcoders] Disappearing item renderer

2010-04-09 Thread Alex Harui
Sorry, I just read this more carefully and saw that you are using Bitmap. The problem is that a renderer on the free list owns the bitmap. One possible solution is to make clones of the Bitmap. On 4/9/10 8:45 AM, Philip Smith loudj...@hotmail.com wrote: I tried that, the problem is

Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-09 Thread Claus Wahlers
http://www.pocketgamer.biz/r/PG.Biz/Unity3D+iPhone/news.asp?c=19851 http://www.pocketgamer.biz/r/PG.Biz/Unity3D+iPhone/news.asp?c=19851The CEO is unconcerned. No word of Unity being excluded. Cheers, Claus. On Fri, Apr 9, 2010 at 5:01 PM, Jeffry Houser j...@dot-com-it.com wrote: I'd love to

[flexcoders] Re: With the latest eula agreement from Apple

2010-04-09 Thread Jeffry Houser
There is no official word of Adobe being excluded either. In fact, so far as I know, no word from Apple at all on the issue. Just lots of speculation. --- In flexcoders@yahoogroups.com, Claus Wahlers cl...@... wrote: http://www.pocketgamer.biz/r/PG.Biz/Unity3D+iPhone/news.asp?c=19851

[flexcoders] Component Lifecycle Change in Flex4?

2010-04-09 Thread Christopher McArthur
We are porting our project from Flex3 to Flex4. One of the common patterns we used for our components in Flex3, was to listen for the CreationComplete event, and then set some initial properties on that components children (defined in MXML). This worked fine in Flex3, however with the

RE: [flexcoders] Disappearing item renderer

2010-04-09 Thread Philip Smith
Thanks. With that addition, and a couple tweaks to re-register data binding (with bindSetter), the item renderers are not disappearing (or duplicating), for the moment. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Fri, 9 Apr 2010 14:41:39 -0700 Subject: Re: [flexcoders]

[flexcoders] Can someone rewrite this...

2010-04-09 Thread Wally Kolcz
Can someone rewrite this as a switch/case? I tried, but it didn't seem to work. Problem I am running into is the multiple conditions in the case. Thanks! private function getAgeGroup(birthday:Date):int { var age:int = getAge(birthday); if (age = 0 age 3){ //Birth to 2

[flexcoders] Youtube API and Air 1.5.3! (Flex builder 4)

2010-04-09 Thread cuttenv
So I am just trying to play a video in Flex 4 using the built in spark videoplayer. I have the url for the video already but when I try to create the youtube video player my application won't let me allow the youtube.com domain!! So I can't create an instance of the player. I also tried loading

[flexcoders] Re: Can someone rewrite this...

2010-04-09 Thread Joe
it curious but a person who are 2000 years old, with your implementation it's group 1 run this code: package { import flash.display.Sprite; public class test extends Sprite { public function test() {

Re: [flexcoders] Re: Performance feedback PLEASE

2010-04-09 Thread Karim Beyrouti
27 FPS - MacBook Pro 13 / OsX 10.6 - Core2 Duo 2.53GHz... On 9 Apr 2010, at 14:50, Jeff wrote: 60 fps Intel Core2 Duo 2.67GHz 4 GB RAM 64-bit Windows 7 --- In flexcoders@yahoogroups.com, Allan Pichler dreamc...@... wrote: I was wondering if anyone could take a quick glance at my AS3

[flexcoders] Accordion - Opaque / transparent background

2010-04-09 Thread Karim Beyrouti
Hi All. I have been trying to make the accordion's background opaque / transparent. So it's see through. The 'backgroundAlpha' property does not work. Wondering if anyone has any tips here? Using Flash Builder 4, project is an AIR application using 'Wireframe' theme. Code: mx:Accordion

[flexcoders] Re: Runtime shared libraries compiler option changed between 3.3.0 and 3.5.0

2010-04-09 Thread orbwave
Well, I created a solution/workaround for this. Apparently, there's a bug in the COMPC and MXMLC tags in the flexTasks.jar provided by Adobe. http://www.fusioncube.net/index.php/flex-runtime-shared-library-path-solution --- In flexcoders@yahoogroups.com, orbwave steven.brown...@... wrote:

[flexcoders] Re: Runtime shared libraries compiler option changed between 3.3.0 and 3.5.0

2010-04-09 Thread orbwave
Hey Oleg. Thanks for the response. Tell me a little more about this additional configuration you mentioned. Is that a workaround? What do you put in that file? --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: Hi, I think it's a known bug, however, cannot find it in

Re: [flexcoders] Can someone rewrite this...

2010-04-09 Thread Joe Cabezas
it curious but a person who are 2000 years old, with your implementation it's group 1 run this code: package { import flash.display.Sprite; public class test extends Sprite { public function test() { trace(this.getAgeGroup(2000)); } private function getAgeGroup(age:Number):int { if (age = 0

Re: [flexcoders] Can someone rewrite this...

2010-04-09 Thread Rob Romanek
This is off the top of my head in email so there may be some errors but something like this should work var category:Number; switch (true){ case(age 18): category = 0; break; case(age 15): category = 6; break;

[flexcoders] Loading component at runtime with out compile time linking

2010-04-09 Thread Gireesh
Hai, I wanted to create module at run time using the below code var cls:Class = getDefinitionByName(mx.controls.Button) as Class; var comp:UIComponent = new cls(); Right now this is not possible unless I declare a dummy variable of a Button class in my program to get the compile time

[flexcoders] Re: Issue with ModuleManager

2010-04-09 Thread Gireesh
Hai Jeff Roberts, This worked, Thank you very much. Thanks Gireesh --- In flexcoders@yahoogroups.com, jeff_roberts jeff_robe...@... wrote: Gireesh, I believe the problem you are having is because the ModuleInfo instance that is being created is going out of scope before the module get

Re: [flexcoders] Performance feedback PLEASE

2010-04-09 Thread Pedro Figueiredo
34 - 38 Xp sp2 Intel Core2 Duo 2.19 GHz (lots of applications opened and many days after last restart... (using hibernate for months in the laptop)) Pedro On Fri, Apr 9, 2010 at 9:51 AM, Allan Pichler dreamc...@gmail.com wrote: I was wondering if anyone could take a quick glance at my AS3

RE: [flexcoders] Performance feedback PLEASE

2010-04-09 Thread Anastasios Mavroudis
Hi, 63-65 FPS ProcessorIntel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz, 3000 Mhz, 2 Core(s), 2 Logical Processor(s) From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Allan Pichler Sent: Παρασκευή, 9 Απριλίου 2010 11:52 To:

[flexcoders] AuthorizeNet image and script inclusion in Flex

2010-04-09 Thread okie_174
I would like to include the AuthorizeNet, GeoTrust, and AlertSite type images and functionality in my Flex application. Seems like the ExternalInterface call is falling short on this task. Can anyone give me some advice on how this might be done? I need not only the images but the functionality

Re: [flexcoders] Re: Positioning / Scrolling problem with Flex popup

2010-04-09 Thread joao zaratine
try it: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute height=100% width=100% mx:Script ![CDATA[ import mx.core.UITextField; import mx.containers.TitleWindow; import mx.managers.PopUpManager; private function clickeroo(event:MouseEvent):

Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-09 Thread AM Canada Inc.
Jeffry, it is related to iPhoneOS 4. http://news.ycombinator.com/item?id=1250595 It is against Android/Java and Flash/ActionScript, but also touch C#/.NET, and any other language like Ruby... This also bans apps compiled using MonoTouch - a tool that compiles C# and .NET apps to the iPhone. It's

Re: [flexcoders] Can someone rewrite this...

2010-04-09 Thread Wally Kolcz
Thanks for the try, but all ages are 18 so the first condition would be met on all of them. I need the multiple conditions on the case to be preserved. :) On 4/9/2010 11:45 PM, Rob Romanek wrote: This is off the top of my head in email so there may be some errors but something like this

Re: [flexcoders] Re: Can someone rewrite this...

2010-04-09 Thread Wally Kolcz
Thanks for the catch on the GT. Haven't tried to run it yet. Just wrote is and hoped there would be a switch/case that is easier than having to case out each age.. On 4/9/2010 11:43 PM, Joe wrote: it curious but a person who are 2000 years old, with your implementation it's group 1 run

Re: [flexcoders] Can someone rewrite this...

2010-04-09 Thread Wally Kolcz
Sorry, you're right. Tired and just can't seem to get my GT and LT's correct. :D On 4/9/2010 11:54 PM, Wally Kolcz wrote: Thanks for the try, but all ages are 18 so the first condition would be met on all of them. I need the multiple conditions on the case to be preserved. :) On 4/9/2010

Re: [flexcoders] Can someone rewrite this...

2010-04-09 Thread Joe Cabezas
y did not understand, but i hope i help you 2010/4/9 Wally Kolcz wko...@isavepets.com Thanks for the try, but all ages are 18 so the first condition would be met on all of them. I need the multiple conditions on the case to be preserved. :) On 4/9/2010 11:45 PM, Rob Romanek wrote:

Re: [flexcoders] Loading component at runtime with out compile time linking

2010-04-09 Thread Robert VanCuren Jr
There are a couple ways of doing this. You could try RSLs or Modules. Here is a link that talks about doing exactly what you are talking about. http://flexinonroids.wordpress.com/2009/05/27/flex-3-dynamically-loading-components-at-runtime/ On Fri, Apr 9, 2010 at 3:39 AM, Gireesh

Re: [flexcoders] Component Lifecycle Change in Flex4?

2010-04-09 Thread Alex Harui
Can you make a simple test case where the children are null at creationComplete? On 4/9/10 4:38 PM, Christopher McArthur cmcart...@riotgames.com wrote: We are porting our project from Flex3 to Flex4. One of the common patterns we used for our components in Flex3, was to listen for the

Re: [flexcoders] Can someone rewrite this...

2010-04-09 Thread Alex Harui
FWIW, if you are worried about performance, I would test the efficiency of using a map, especially if age is an int and not a Number. Even if it is a Number I might still test out a map with a Math.floor on the age. Var agemap:Object { 0 : 1, 1: 1, 2: 1, 3: 2, 4: 2, 5: 2, 6: 3, 7: 3, 8: 3...