Re:valdhor [flexcoders] Re: domain problem in remoteobject application

2009-06-24 Thread Vikram Singh
hello valdhor in my amfphp directory there is only one globals.php file and it contains these http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright (c) 2003 amfphp.org * @package flashservices * @subpackage app */ global $amfphp; $amfphp = array(); $amfphp['er

[flexcoders] Embed AIR app to MS Word

2009-06-24 Thread lehaianh1986
Hi all, I know some function of Adobe Reader is embed to MS Word. I wonder that can AIR app have ability to embed to MS Word? And how to do it?

Re: [flexcoders] PDF - Text Display

2009-06-24 Thread Avinash
Larson, Please take a look at my blog, and you will know how to load PDF in Flex (well in html through iFrame like Gordon Smith suggested) http://flexpdfair.blogspot.com/ Avinash On Wed, Jun 24, 2009 at 2:22 PM, lrlarsonny wrote: > > > Hello -- > > Am I correct

Re: [flexcoders] wmode=opaque/transparent and linux

2009-06-24 Thread hank williams
Thanks James. On Wed, Jun 24, 2009 at 6:05 PM, James Ward wrote: > > > This should work fine with a newer version of Firefox (minimum 3.1 I think) > and Flash Player 10. > > I have Firefox 3.5 RC and FP 10 and it works fine. > > -James > > > From: flexcoders@yahoog

[flexcoders] Re: tilelist rowCount not working...

2009-06-24 Thread Tim Hoff
>From the docs: rowCount Number of rows to be displayed. If the height of the component has been explicitly set, this property might not have any effect. -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > Assuming that the direction="horizontal", the rowCount should work; > unless

Re: [flexcoders] wmode=opaque/transparent and linux

2009-06-24 Thread James Ward
This should work fine with a newer version of Firefox (minimum 3.1 I think) and Flash Player 10. I have Firefox 3.5 RC and FP 10 and it works fine. -James From: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Sent: Wed Jun 24 13:03:40 2009 Subject: [f

RE: [flexcoders] how do I set the default value for an array in a function definition?

2009-06-24 Thread Keith Reinfeld
myArray:Array = null Regards, -Keith http://keithreinfeld.home.comcast.net _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography Sent: Wednesday, June 24, 2009 3:41 PM To: flexcoders@yahoogroups

Re: [flexcoders] Re: tilelist rowCount not working...

2009-06-24 Thread grimmwerks
Ugh. It appears it's something inherent with Flex 3, was abandoned and fixed in F4. http://bugs.adobe.com/jira/browse/SDK-15335 On Jun 24, 2009, at 5:06 PM, grimmwerks wrote: > Direction is horz., and it's at 100% within another view; but why > would it have to spill into another row? Meaning

[flexcoders] reg expression for Password

2009-06-24 Thread vin.flex
can anybody help me with regexp for password with following specifications 1) It should contain atleast 8 characters 2) It should atleast has one uppercase letter and one digit 3) No special characters thank s vin

RE: [flexcoders] PDF - Text Display

2009-06-24 Thread Gordon Smith
> Am I correct is gleaning from my google searches that there is no way to > display a pdf in Flex? (Not Air). Flex is not the opposite of AIR. Flex is a technology for developing RIAs as SWFs that run either in browsers with Flash Player add-ons or in AIR. But you're correct that Flash Player

[flexcoders] reg exp for Password

2009-06-24 Thread vin.flex
Can any body help me with the regexp for password with following specifications. 1)It should contain atleast contain 8 characters 2)Atleast it should have atleast one uppercase letter and one number 3) No special characters thanks vin

Re: [flexcoders] Re: tilelist rowCount not working...

2009-06-24 Thread grimmwerks
Direction is horz., and it's at 100% within another view; but why would it have to spill into another row? Meaning it becomes a vertical scroll; if I'm not setting columnCount why would it not spill to the right and have a horizontal scroll? On Jun 24, 2009, at 4:53 PM, Tim Hoff wrote: > > A

[flexcoders] Re: tilelist rowCount not working...

2009-06-24 Thread Tim Hoff
Assuming that the direction="horizontal", the rowCount should work; unless you are setting an explicit width and the number of items will spill into an additional row. They have to go somewhere, right? What happens if you remove the width property? -TH --- In flexcoders@yahoogroups.com, grimmw

RE: [flexcoders] HBox/VBox width=100% gets wider than the parent's width if children are wider

2009-06-24 Thread Alex Harui
Set minWidth=0 on the HBox. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of giladozer Sent: Wednesday, June 24, 2009 6:20 AM To: flexcoders@yahoogroups.co

RE: [flexcoders] Displaying HTML page

2009-06-24 Thread Alex Harui
Those are the two most popular ways. See the "HTML and Flex" post on my blog for other options. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of vin.fle

RE: [flexcoders] Flex corrupting certain UTF-8 characters

2009-06-24 Thread Alex Harui
Hard to say how any console output handles some of these chars. Getting the string and the charCodes in them is probably best way to verify. I don't think HTML entities work in UTF-8. Make sure you're using valid encoding syntax. Alex Harui Flex SDK Developer Adobe Systems Inc.

Re: [flexcoders] tilelist rowCount not working...

2009-06-24 Thread grimmwerks
Argh. No one's had this issue of setting a rowCount and it not being honored? On Jun 24, 2009, at 2:14 PM, grimmwerks wrote: > I'm using FB3 and setting a tileList's rowCount=2 in the mxml - but > then once adding data it's definately 3 rows I see. > > I've even tried adding tilelist.rowCount

[flexcoders] how do I set the default value for an array in a function definition?

2009-06-24 Thread luvfotography
How do I make the array parameter optional?? private function howdoI(mycount:int,mystring:String, myArray:Array = []):void { trace('hellow'); } I get 1047: Parameter initializer unknown or is not a compile-time constant. How do I make the Array parameter optional? : myArray:Array = [] than

RE: [flexcoders] Re: Modular application

2009-06-24 Thread Alex Harui
I'm not the person to answer that question. Hopefully someone will answer the other thread you started. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

[flexcoders] Getting started with Fluint

2009-06-24 Thread Charlie Hubbard
I'm trying to setup my project to use Fluint for unit testing, and I've read the documentation. I'm doing an AIR app so I've trying to test my sqlite db layer, and model objects using Fluint. However, the details of how get a simple test running are very vague. There's a whole discussion around

[flexcoders] wmode=opaque/transparent and linux

2009-06-24 Thread hank williams
Does this work? One of my developers is telling me that flash on linux doesnt allow divs to overlap flash material. Is this true or is there something wrong with his setup. Thanks Hank -- blog: whydoeseverythingsuck.com

Re: [flexcoders] Re: Mate CacheSetter

2009-06-24 Thread Richard Rodseth
Thanks Tim. No, that does not compile. I'll try again on the forums, though I have a workaround in the meantime. On Wed, Jun 24, 2009 at 9:57 AM, Tim Hoff wrote: > > > Just a stab Richard, but do the binding brackets make any difference? > > targetKey="foo" source="{ legacyModel }" sourceKey="f

[flexcoders] Re: How to enable ardware acceleation for AIR Player ?

2009-06-24 Thread helihobby
That sucks the big one... We need it BIG time, look why: http://www.MediaSignage.com Regards, Sean - MediaSignage.com --- In flexcoders@yahoogroups.com, "arno.manders" wrote: > > No it doesn't support hardware acceleration. I don't know why you need it for > but Unity3D is a good alternative

[flexcoders] PDF - Text Display

2009-06-24 Thread lrlarsonny
Hello -- Am I correct is gleaning from my google searches that there is no way to display a pdf in Flex? (Not Air). And that flashpaper is no more? Given that, how do developers show formatted text? We are building an app that will show documents within the published flex swf, and I just assu

[flexcoders] Re: I can't understand pureMVC

2009-06-24 Thread Teoti Graphix, LLC
> Yeh I heard about Flex wrapping results from certain remote requests > using the ObjectProxy class, cant remember why this happens but try > this and see what happens: If I remember correctly, it's due to the fact there is no typed class when the data comes in. The remote call returns a generic

[flexcoders] tilelist rowCount not working...

2009-06-24 Thread grimmwerks
I'm using FB3 and setting a tileList's rowCount=2 in the mxml - but then once adding data it's definately 3 rows I see. I've even tried adding tilelist.rowCount=2 on the dataChange but it's just not doing a THING. Only other option is to set the data it loads in to only 2 rows-amount and 'p

re: [flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Wally Kolcz
Thanks that worked like a charm. I had a feeling I wanted to do a dispatched event, I just forgot that I then get it in the panel MXML attributes! You're the best! From: "Tim Hoff" Sent: Wednesday, June 24, 2009 9:54 AM To: flexcoders@yahoogroups.com Sub

[flexcoders] Re: Mate CacheSetter

2009-06-24 Thread Tim Hoff
Just a stab Richard, but do the binding brackets make any difference? -TH --- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Any Mate users here? The forums are down again. > > I'm trying to use the newish CacheSetter tag, as follows: > > > > Elsewhere: > > > > This gives the err

[flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Tim Hoff
Ok, so take maps out of the RadioButtonPanel AS component and make the startLocation RadioButtonGroup public. Next create a Event in the component, that will be dispatched when the radio buttons are clicked: After the import statements add: [Event(name="changeMap",type="flash.events.Event")] Th

re: [flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Wally Kolcz
How can I do that? maps is the 'page' that this panel is on. I need to control the elements that are inside the panel:

[flexcoders] Mate CacheSetter

2009-06-24 Thread Richard Rodseth
Any Mate users here? The forums are down again. I'm trying to use the newish CacheSetter tag, as follows: Elsewhere: This gives the error: "1069 Property foo not found on String" If I use the class name instead it complains because the class in question has constructor arguments. What's th

[flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Tim Hoff
You need to add maps as a child in createChildren(). -TH --- In flexcoders@yahoogroups.com, "Wally Kolcz" wrote: > > > Thanks! The labels are now showing perfectly! > > However, I am getting an error when I attempt to check the radio buttons: > TypeError: Error #1009: Cannot access a property o

re: [flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Wally Kolcz
Thanks! The labels are now showing perfectly! However, I am getting an error when I attempt to check the radio buttons: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.wallykolcz.views.components::RadioButtonPanel/changeStartType()[

[flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread arno.manders
Try addressRB.setActualSize(addressRB.measuredWidth,addressRB.measuredHeight) airportRB.setActualSize(addressRB.measuredWidth, addressRB.measuredHeight); in the updateDisplayList() function --- In flexcoders@yahoogroups.com, "Wally Kolcz" wrote: > > > > Using an

[flexcoders] Re: How to enable ardware acceleation for AIR Player ?

2009-06-24 Thread arno.manders
No it doesn't support hardware acceleration. I don't know why you need it for but Unity3D is a good alternative if you are planning to do something with 3D. --- In flexcoders@yahoogroups.com, "helihobby" wrote: > > Hello, > I am trying to find out how can I enable ardware acceleation for AIR Pla

[flexcoders] Re: Sticky Scroll bars

2009-06-24 Thread djhatrick
Too Late. I crafted a javascript work-around solution, similar to the way to get the mouse wheel to work in OSX: http://www.patricklemiuex.com/?p=68 Tho, you know what's weird is that the when Flash misses mouse Up event it is caught by the browser. I should have done your solution with the mo

[flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Tim Hoff
Hi Wally, Pretty close, just a few minor tweaks needed: // add the event parameter public function changeStartType( event:Event ):void // change to group addressRB.group = startLocation; airportRB.group = startLocation; protected override function updateDisplayList(unscaledWidth:Number, unscal

[flexcoders] How to enable ardware acceleation for AIR Player ?

2009-06-24 Thread helihobby
Hello, I am trying to find out how can I enable ardware acceleation for AIR Player. It does not have the HTML wrapper so the wmode won't help. And, is there a list of compatible hardware ? Any information or links will help and I do appreciate it. Googling does reveal much which leads me to bel

[flexcoders] HBox/VBox width=100% gets wider than the parent's width if children are wider

2009-06-24 Thread giladozer
I'm want to use HBox to contain several list components. I also want the HBox to have its width based on its parent's width ( 100%). Should the sum of the HBox Children's width be wider than the HBox's parent's width - the HBox's width is then expanded to more than its parent's width. I would like

[flexcoders] Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Wally Kolcz
Using an example from the web I am trying to create a custom Panel component that had radio buttons in the panel header for a specific piece of a web site. The panel works and I am getting 2 radio buttons but no labels for either button and the radioGroup's

Re: [flexcoders] Re: I can't understand pureMVC

2009-06-24 Thread Simon Bailey
Yeh I heard about Flex wrapping results from certain remote requests using the ObjectProxy class, cant remember why this happens but try this and see what happens: var user:User = ObjectProxy( event.result ).object_proxy::object; Cheers, S On 24 Jun 2009, at 13:23, vladakg85 wrote: I a

[flexcoders] get data from other LineSeries dataprovider in the dataTipRenderer

2009-06-24 Thread arno.manders
I have a linechart with this series: I have a dataTipRenderer that shows a nice dataTip. In that dataTip I want to compare the 2 items from the lines. I want to show something like this: Incomming this month: $20,000 Incomming previous month: $10,000 +100% This calculation should

[flexcoders] Is it possible to set Keyboard language for a flex App

2009-06-24 Thread Jag
We have a Flex App and have to set the keyboard language to US. Is this possible to do from a Flex App, index.html or Javascript. Any help is appreciated

[flexcoders] Re: I can't understand pureMVC

2009-06-24 Thread vladakg85
I am trying whole morning, I try to cast it in everything :( From remote service I return object "User", same VO object like in flex application. But is this image below ok, becuse I don't see User object anywhere, this is my evt.result. http://img31.imageshack.us/img31/9747/debug2.jpg --- In

[flexcoders] flash builder 4 license error

2009-06-24 Thread Johannes Nel
Hi All I managed to install the plugin version of Flash Builder 4 without an issue, it gave me a license error but continued working, I installed the modeling plugin and then my actionscript editor stopped working. A lot of the jars that came with the modeling plugin were already part of my defaul

RE: [flexcoders] Flex Ant Build Process

2009-06-24 Thread Gregor Kiddie
Search through the archives, I've answered this question a couple of times. There is a neat Ant trick that will help you. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Re