[flexcoders] Extending a component

2007-04-25 Thread André Rodrigues Pena
Hi all, My problem is: I have a MXML component (already implemented) that extendeds TitleWindow its code was something like ListOperations.mxml ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical width=700

[flexcoders] Is it possible to place and compile MXML application not in the root folder, but in subfolder?

2007-04-25 Thread Sergey Kovalyov
Hi All! Usually we place MXML application (class inherited from Application) in the root folder of the project. Is it possible to place application not in the root folder, but in subfolder? Therefore it could be compiled into the {PROJECT_OUTPUT_FOLDER}/subFolder/. Sergey.

[flexcoders] Re: NetConnection.Connect.Failed

2007-04-25 Thread arokyzxc
I download fms example from adobe site, it works fine that sucessfully connected FMS server.but it didn't work that i wrote my codes followed exmaple tutorial, it always reports connect failed .I can see connects number was increased when i run my app in admin console. I wrote codes in Flex

Re: [flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-25 Thread Tom Chiverton
On Wednesday 25 Apr 2007, Scott Barnes wrote: developers more power in delivering their potential instead of reserving it for Enterprise firstly, getting caught up in this Microsoft is evil war and lastly forcing a technology like LiveCycle into the equation. How's that misleading? Because

[flexcoders] Re: Flex 2, swfLoader with flash 9 (as2) communication

2007-04-25 Thread bnsmeets
Tx, was hoping the Localconnection thingie was absolete now :) --- In flexcoders@yahoogroups.com, Muzak [EMAIL PROTECTED] wrote: that is correct. AS2 = old VM AS3 = new VM - Original Message - From: bnsmeets [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, April

RE: [flexcoders] Can't load image in flex

2007-04-25 Thread Petro Bochan
Hi, Try this one: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=init(); layout=absolute mx:Script ![CDATA[ private var pLoader:Loader;

RE: [flexcoders] yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread Benoit Hediard
Hi Michael, We had this exact same problem just 2 days ago… ;) And we have not found any working solution yet, despite some experimentation. When recompiling the as2map.fla, the generated as2map.swf doesn’t work anymore, we have to use the provided as2map.swf, and you? Have you found

[flexcoders] Repost: Seamless keyboard accessibility between flex shell app and loaded swfs

2007-04-25 Thread gerardjamesmcbreen
I'm building an app (a shell) that loads multiple flash9 as3 preview swfs which are listed in an xml file. The swfs are referenced ok in the shell app, properties and methods working fine. In terms of accessibility the following happens: 1) If the loaded swf is also flex app you can tab to each

[flexcoders] reparenting flex display containors

2007-04-25 Thread gerardjamesmcbreen
I've read Ted P's two articles http://www.onflex.org/ted/2006/12/developing-in-trees-part-2.php on developing in trees in AS3. He's promised a 3rd one which discusses reparenting in flex - which would be really useful. Meanwhile does anyone have any advice regarding reparenting display objects in

[flexcoders] DataGridColumn sortDescending property doesn't change after first two clicks on header

2007-04-25 Thread Sergey Kovalyov
Hi All! I have defined my own handler for the headerRelease event in order to perform custom server-side sorting, since my DataGrid is pagable. In order to do that I get the field from event.dataField and and order from

[flexcoders] Re: Is it possible to place and compile MXML application not in the root folder, but in subfolder?

2007-04-25 Thread flashcrow2000
You can modify the project properties - build path - main source folder and use a different sub-folder for your source files. But you will have to keep all your files (except the binded ones, of course) inside that folder (I think...) Cosmin --- In flexcoders@yahoogroups.com, Sergey Kovalyov

Re: [flexcoders] Extending a component

2007-04-25 Thread Manish Jethani
The root tag of your MXML component should be referring to your AS3 class. There are examples in the docs/samples. On 4/25/07, André Rodrigues Pena [EMAIL PROTECTED] wrote: Hi all, My problem is: I have a MXML component (already implemented) that extendeds TitleWindow its code was

[flexcoders] Re: Is it possible to place and compile MXML application not in the root folder, but in subfolder?

2007-04-25 Thread flashcrow2000
oh...and if you want to modify the output folder, change the properties - build path - output folder value (later edit) Cosmin (again) --- In flexcoders@yahoogroups.com, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! Usually we place MXML application (class inherited from Application)

Re: [flexcoders] Alert Control Crashing App

2007-04-25 Thread Manish Jethani
Perhaps you can post a working example somewhere or at least a stack trace? That'll make it easier to follow. On 4/25/07, Troy A. Binford [EMAIL PROTECTED] wrote: This is a little complex, but I'll try to describe what's going on to the best of my ability. 1. Create a new Flex Application.

[flexcoders] Google

2007-04-25 Thread Jaap Cammeraat
Because I'm finding on internet different answers about indexing .swf by a searchengine... Can somebody give me some hints about what I have to do, so that Google (or Yahoo etc.) is indexing my 100% Flex build website? Regards, Jaap Cammeraat

RE: [flexcoders] Testing if a datatyped variable is not set yet

2007-04-25 Thread Gordon Smith
Was this a compilation error or a runtime error? It sounds like you were trying to call a private method, selectPlayer(), from another class. It doesn't sound like the error had anything to do with testing whether LAST_SELECTED was null or not. You didn't show any code that actually called

[flexcoders] Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Scott Hoff
Ok. I'm clearly a beginner and I'm trying to get a grasp on the best ways to develop applications in flex. The applications that I develop mostly interface with databases. I have been really impressed with all of the information and examples of Flex Data Services and its advantages. However, I

[flexcoders] Get selectedItem from Datagrid inside a Repeater

2007-04-25 Thread bulletproofbomb99
I am trying to display information from a datagrid, however the datagrid is not at the top level of xml its within a TabNavigator, the usual mydatagrid.currentItem.whatever displays the data however drilling down any further is not working for me. Any help on this would be much appreciated

[flexcoders] TitleList/HorizList REFRESH/UPDATE problem using httpservice

2007-04-25 Thread Fabio Yasusi Yamamoto
Hi i 've got very weird situation, for some reason TileList ( orr HorizontalList ) stop responding after i submit a httpservice.send() for a second time. ( the first time everything works ). All items becomes unselectable until i use the scroolbar. If i use mx:List, everything works. using the

[flexcoders] Re: Help on the syntax for function set blah(param:String)

2007-04-25 Thread tjcox1969
I am talking about the set and get in the function declaration. function set blah() What does the set and get keyword do and why would I want to use it in this way compared to something like function setBlah() --- In flexcoders@yahoogroups.com, Scott Hoff [EMAIL PROTECTED] wrote: What is

[flexcoders] Swfloader/image components and shared stage/mouse position

2007-04-25 Thread smazurek
Sorry, beginner's post. I'm loading a flash 8 swf into my flex app, through SWFloader or image components, that plays with stage and mouse position. (basically moving textfields around depending on mouse position) Problem is, once in flex, its stage looks/is? shared with flex one, ie my

[flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread anupam_111181
Hi michael, I have done this and its pretty easy, You can call any flex event on the click of the marker click there is one event called onPOIMarkerClick in the Yahoo map component. You should have the latest code because this event handler was not there in the previous versions. I have written a

RE: [flexcoders] Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Dimitrios Gianninas
You go it! Remember you can always use the free version of FDS, called FDS Express which runs on one CPU - thus one server. If your server is powerful enough then you might get away with it if you dont have that many users. You can always use HTTPService or WebService calls, but you will be

RE: [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread Benoit Hediard
Are you sure you can catch events generated by an href link in the description htmlText? I think we’ve tried to play around with the POIMarkerClick event. But it was only dispatched when you first click on the marker to open it. Further click on a link in the htmlText description was not

[flexcoders] Re: Check for all validation errors

2007-04-25 Thread Larry Gutman
Here is the custom component that I made. I added validation to it for simplicity. Should I ID all the validators and store them somewhere for easy access later? { import mx.controls.TextInput; import mx.validators.NumberValidator; import mx.events.FlexEvent;

Re: [flexcoders] LCDS2.5: Internal error - current transaction changed out from underneath the Da

2007-04-25 Thread Igor Costa
Jonathan This happens because you're trying to convert an Object from a Null Value. In FDS2.0.1 has a little change from LCDS from transactions. Here's a breafing on how you could do. VObject vo = (VObject) myObject.toValueObject(); DataServiceTransaction txn =

[flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread harfga
I have given this exact problem considerable thought and have decided that Flex Data Services (now called LCDS) is not the right solution when you simply want to couple a flex client with a back-end database. Depending on the application, I have used the following solutions in my work: 1)

[flexcoders] Updating progress bar in datagrid when uploading files

2007-04-25 Thread Mark Ingram
Hi, I have a standard data grid with a progress bar in the 3rd column: mx:DataGrid id=filesDataGrid dataProvider={m_uploadFileList} editable=false mx:columns mx:DataGridColumn

[flexcoders] Re: FDS 2.0.1 Java Assembler autosync push interception

2007-04-25 Thread box110a
Thanks Jeff, you actually know what I'm talking about... If I'm sending the guestlist-id as a parameter, doesn't that defeat the purpose of guestlist? If all a hacker has to do is change the guestlist-id (a UUID, so it would be difficult), he could use another user's guestlist? Putting the

[flexcoders] Problem with Horizontal grid lines matching data in a datagrid

2007-04-25 Thread fidelityphil
I have a datagrid where the lines horizontalGridLines=true and variableRowHeight=true with wordwrap on. The problem is that the horizontal gridlines don't properly box the data, and when I scroll, the data moves up but the drawn gridlines stay in the same position, looking like they are

Re: [flexcoders] Google

2007-04-25 Thread Tom Chiverton
On Wednesday 25 Apr 2007, Jaap Cammeraat wrote: Can somebody give me some hints about what I have to do, so that Google (or Yahoo etc.) is indexing my 100% Flex build website? Include proper HTML content, just as you would for people who can't/wont install Flash. -- Tom Chiverton

[flexcoders] Combo Box in Grid

2007-04-25 Thread boy_trike
I have a combo box that has to display (and allow entry) of Letters E,X,D,C,M and the data in the database is the numeric representation (1,10,12,100,1000). I am having difficulty in handling this. There must be a simple solution since this must be a somewhat common task. Has anyone done

[flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Scott Hoff
Harfga, I have a few questions in response to your helpful response! You mentioned using cgi scripts with HTTPService. When you say CGI script, what language are you using on the server side to do the work. I've never really worked with cgi scripting per say. Rather, I started out with ASP

Re: [flexcoders] Extending a component

2007-04-25 Thread André Rodrigues Pena
Thanks for your reply Manish.. but how would it look like? Can you give me an example? On 4/25/07, Manish Jethani [EMAIL PROTECTED] wrote: The root tag of your MXML component should be referring to your AS3 class. There are examples in the docs/samples. On 4/25/07, André Rodrigues Pena

Re: [flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Erik Price
On 4/25/07, Scott Hoff [EMAIL PROTECTED] wrote: C or perl. When people say CGI, do they refer to server side scripting in general or do they refer to a specific programming language? Technically, CGI is a language-agnostic protocol to allow a web server to communicate with another application

Re: [flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Erik Price
On 4/25/07, Erik Price [EMAIL PROTECTED] wrote: script or a C binary, for example). But in my experience, when most people say CGI, they're simply using as a shorthand way of saying server side programming in general. I should add to that, server side programming in general, using HTTP,

[flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Scott Hoff
Thanks for that explanation. I wouldn't have much idea where to start about usign C or Perl because I have never used either of those before. What I had done in the past is post variables to the server via the query string. I have some work to do but as soon as it's done i Have more

[flexcoders] Defining the DSN in a Gateway When using Flex

2007-04-25 Thread Kyle Hayes
I will try to explain this the best I can. I am building an application using ColdFusion and Flex and I want to make sure that I am following good practice techniques. I have a root level COM folder which has various packages inside of it. Inside the com.hayes.myproject package contains the much

[flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Scott Hoff
What makes AMFPHP much more advanced? Is that something I should just google? --- In flexcoders@yahoogroups.com, Scott Hoff [EMAIL PROTECTED] wrote: Thanks for that explanation. I wouldn't have much idea where to start about usign C or Perl because I have never used either of those

[flexcoders] Re: Module GC question

2007-04-25 Thread kyle.vanvranken
So I've been playing with ways trying to get the many module memory issue cleared up and seem to be unable to get it to work in even a very simple test case. Any chance you can tell me what I am doing wrong here? When I force GC I can see the swf getting unloaded etc but the memory use just keeps

[flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Scott Hoff
Ok. So with FDS, the free version, as long as I have one server I can have unlimited concurrent users? That seems like it would be too good to be true because I would never have a reason to upgrade b/c our needs would probably be served fine with a single server. --- In

Re: [flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Erik Price
On 4/25/07, Scott Hoff [EMAIL PROTECTED] wrote: What makes AMFPHP much more advanced? Is that something I should just google? Always google. But in a nutshell, AMFPHP provides remoting facilities. This means it attempts to abstract some of the details of the transport of data between your

[flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread harfga
When I said that AMFPHP is more complex, I should have qualified that it depends on your skillset. To me, there is nothing more rudimentary than HTTPService hitting a server-side script (CGI, etc). With AMFPHP you have to learn how to use it and change your data paradigm a bit to RemoteObjects.

[flexcoders] Re: Defining the DSN in a Gateway When using Flex

2007-04-25 Thread klar1ty
--- In flexcoders@yahoogroups.com, Kyle Hayes [EMAIL PROTECTED] wrote: I will try to explain this the best I can. I am building an application using ColdFusion and Flex and I want to make sure that I am following good practice techniques. I have a root level COM folder which has various

[flexcoders] Re: Defining the DSN in a Gateway When using Flex

2007-04-25 Thread Kyle Hayes
--- In flexcoders@yahoogroups.com, klar1ty [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Kyle Hayes kyleslists@ wrote: I will try to explain this the best I can. I am building an application using ColdFusion and Flex and I want to make sure that I am following good practice

[flexcoders] SWFLoader for .swf and Effects?

2007-04-25 Thread Matt
I'm trying to figure out a way to apply a fade-in effect for a vector image that is being loaded in an SWF via the SWFLoader but I can't seem to make it work. I've thought perhaps I could grab the child to add the effect, but that requires the SWFLoader to have completed loading. Is there a

[flexcoders] E4X Syntax with XMLList

2007-04-25 Thread boy_trike
I am having problems trying to extract the data field from the following XMLList mx:XMLList id=cbData menu label='E' data='1' / menu label='X' data='10' / menu label='D' data='12' / menu label='C' data='100' / menu label='M' data='1000' / /mx:XMLList I am trying something

[flexcoders] Sprite.graphics: read-only or not?

2007-04-25 Thread ben.clinkinbeard
The documentation shows this property as read-only, but then the example in the Drawing vector graphics section shows this code: var mySprite:Sprite = new Sprite(); mySprite.graphics.beginFill(0xFFCC00); mySprite.graphics.drawCircle(30, 30, 30); So... which is it? Thanks, Ben

[flexcoders] Re: Communication from Modules to Application

2007-04-25 Thread rodneyjlucas
Thanks Manish, I also found some documentation (updated) from Adobe. This wasn't part of the general doc set. I have since learned to keep an eye on the Flex Doc Team blog. The method I found from the doc was the parentApplication property. It pretty much gives the module a handle to the

[flexcoders] GetObjectsUnderPoint

2007-04-25 Thread Matt Wicks
Hi all, anyone know why this is happening ? I use getObjectUnderPoint on a display object but it seems to only return one Shape - I read several tips which suggest 'walking' up teh display list but this doesnt work .. GetObjectsUNderPoint returns an array containing the shape 'screen', its

[flexcoders] Re: Extending a component

2007-04-25 Thread Doug Lowder
All you need to do is have your MXML component reference the class you want to extend and set the XML namespace to the extended class's location. For example, if your resizable title window class is ./mycomponents/ResizableTitleWindow.as, you could have: mine:ResizableTitleWindow

Re: [flexcoders] Sprite.graphics: read-only or not?

2007-04-25 Thread Troy Gilbert
The property is read-only, which means you can't do this: mySprite.graphics = myOtherSprite.graphics; I think you're confusing const with read-only... read-only just means that the property has only a get, while const would imply that you can do anything to an object that would change its

[flexcoders] datagrid cell renderers

2007-04-25 Thread blc187
i am creating a custom datagrid that uses itemrenderers on DataGridColumn to make custom cells. var col1:BasicDataGridColumn = new DataGridColumn() ; col1.itemRenderer = itemRenderer; ... this.columns = new Array(col1, col2, col3) ; using the itemrenderers this way, is there any way to access

Re: [flexcoders] Sprite.graphics: read-only or not?

2007-04-25 Thread Michael Schmalle
Hi, A read-only property means that you can read it but not set it. You cannot do; mySprite.graphics = myOtherSprite.graphics or mySprite.graphics = new Graphics(); It means that you a 'calling' methods and properties and not setting the actual property explicitly. Peace, Mike On 4/25/07,

Re: [flexcoders] E4X Syntax with XMLList

2007-04-25 Thread Troy Gilbert
What value are you getting? The following line of code should work: var value:String = cbData.menu.(@label == M)[EMAIL PROTECTED]; That'll only work if you guarantee that there'll be only one menu element with the M label... here's a slightly safer version: var value:String =

RE: [flexcoders] Defining the DSN in a Gateway When using Flex

2007-04-25 Thread Brian Holmes
Just set an application level variable in your Application.cfc onApplicationStart From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kyle Hayes Sent: Wednesday, April 25, 2007 8:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: using soapHeaders to pass UserName and Password

2007-04-25 Thread Pruitt, Steve
Does anyone know of a Flex 1.5 example doing the same? I am trying to get something like: : SOAPHeader ns1:SimpleCredentials xmlns:ns1=urn:exstream-dls ns1:Userspruitt/ns1:User ns1:Passwordxxx/ns1:Password /ns1:SimpleCredentials /SOAPHeader : Thanks in

Re: [flexcoders] E4X Syntax with XMLList

2007-04-25 Thread Michael Wills
Hey there Bruce, For that one I believe you would need something like x = cbData.menu.(@label == 'M')[EMAIL PROTECTED]; and you might need to do a .toString() or even cast it to a Number depending on what you need to do with it. Michael boy_trike wrote: I am having problems trying to

Re: [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread Michael Wills
Yeah the POI marker click event is fine and quite useful. I think it was after reading your post Anupam. :-) However after that, I can't trigger anything in the Cairngorm app. I even tried to make a function with the original as2map.fla that would simply trigger a new POIMarkerClick event with

[flexcoders] Code Formatting in Eclipse or FlexBuilder

2007-04-25 Thread eveyeti
Hi exists some to code formatter plub-in for flexbuilder or eclipse Thanks, Etienne.-

[flexcoders] Flex 2 Courses in San Francisco and Los Angeles

2007-04-25 Thread Adela King
Hello, roundpeg, Inc., specialists in authorized Adobe training, is holding two Flex 2: Developing Rich Client Applications courses on May 7 through 9. San Francisco http://www.roundpeg.com/home.cfm?main=trainingaction=classinfoclassid= 176locid=24 Los Angeles

Re: [flexcoders] Development/Debugging version of Flash Player.

2007-04-25 Thread Troy Gilbert
Just google flash debug player and you'll get a quick link. Troy. On 4/25/07, Ian Skinner [EMAIL PROTECTED] wrote: Somewhere since I installed Flex Builder and did the basic tutorials some time ago and now I have had my Flash Player reinstalled. Apparently the version I have now is not

Re: [flexcoders] Development/Debugging version of Flash Player.

2007-04-25 Thread Muzak
Check the Flex 2 install directory for the debug player and install it. On WinXP, default is: C:\Program Files\Adobe\Flex Builder 2\Player\debug regards, Muzak - Original Message - From: Ian Skinner [EMAIL PROTECTED] To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com Sent: Wednesday,

[flexcoders] Development/Debugging version of Flash Player.

2007-04-25 Thread Ian Skinner
Somewhere since I installed Flex Builder and did the basic tutorials some time ago and now I have had my Flash Player reinstalled. Apparently the version I have now is not the one the Flex Builder expects. Every time I run my developing Flex application I get the following dialog box.

Re: [flexcoders] SWFLoader for .swf and Effects?

2007-04-25 Thread Alain Thibodeau
An example using a fade effect: mx:Fade id=myFade duration=5000/ mx:SWFLoader .. .. completeEffect=myFade/ - Original Message From: Matt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 25, 2007 11:59:36 AM Subject: [flexcoders] SWFLoader for .swf

[flexcoders] Re: Module GC question

2007-04-25 Thread kyle.vanvranken
UPDATE: It would seem I have the same memory problem even when using the higher level ModuleLoader. I get the same results memory wise with my system or the module loader. It still unloads the swf etc, but continues to eat more and more memory. ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Bug in nested CompositeEffects?

2007-04-25 Thread Matt
I'm trying to do something that I would consider pretty basic and reading the docs it says this should be supported. I created a simple test case to show the problem: obj = new Button(); var p1:Parallel = new Parallel(); var p2:Parallel = new Parallel();

[flexcoders] Re: SWFLoader for .swf and Effects?

2007-04-25 Thread Matt
Okay, I noticed that was the only effect mentioned for SWFLoader, but does that mean you can't do any other types of effects with it? What if I don't want it to be visible until later and when I make it visible I would like to fade it in? Thanks --- In flexcoders@yahoogroups.com, Alain

Re: [flexcoders] Swfloader/image components and shared stage/mouse position

2007-04-25 Thread stanatdev
Looks like I can add a mask to my SWFLoader so at least its contents are restricted to the area I want. public var myLoader:SWFLoader = new SWFLoader(); public var rect:UIComponent = new UIComponent(); private function init(e:Event):void{

RE: [flexcoders] Re: using soapHeaders to pass UserName and Password

2007-04-25 Thread Pruitt, Steve
Does anyone know of a Flex 1.5 example doing the same? I am trying to get something like: : SOAPHeader ns1:SimpleCredentials xmlns:ns1=urn:exstream-dls ns1:Userspruitt/ns1:User ns1:Passwordxxx/ns1:Password /ns1:SimpleCredentials /SOAPHeader : Thanks in

Re: [flexcoders] Re: Extending a component

2007-04-25 Thread André Rodrigues Pena
yes! exaclty! thank you Doug On 4/25/07, Doug Lowder [EMAIL PROTECTED] wrote: All you need to do is have your MXML component reference the class you want to extend and set the XML namespace to the extended class's location. For example, if your resizable title window class is

Re: [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread Michael Wills
One more tidbit, using the XPanel logger, logging this from the map, getting it's path (_root.mapClip in this case) I can now call functions from the map itself from within the marker. However I am not yet able to register a new event. I may just hijack one of the current ones and pass a new fake

RE: [flexcoders] Open new browser popup

2007-04-25 Thread Peter
Gentlepeople, Related to this, would there be a way to redirect the output of HTTPService to a new browser window. I have a service that is invoked through HTTPService and that generates a pdf. I would like to return that pdf on the HTTPService call, but I am not sure who I can then invoke

[flexcoders] Preventing IE to cache Flex

2007-04-25 Thread André Rodrigues Pena
Hi all, My customers browsers are caching flex and preventing them to see my last updated applications. The HTML they are accessing is the one generated by default by Flex Builder. Can you give me some glance on it? -- André Rodrigues Pena

[flexcoders] Re: Open new browser popup

2007-04-25 Thread Paul DeCoursey
Have the service return a url to a file that is generated. Then popup the url from the client. You'll probably then want a process that will clean up old files so you don't have a lot of pdfs eating up space. --- In flexcoders@yahoogroups.com, Peter [EMAIL PROTECTED] wrote: Gentlepeople,

Re: [flexcoders] Lazy-loaded tree examples

2007-04-25 Thread Pat Buchanan
Gautam - works like a charm! Thank you very much for replying and helping out the community! -Pat On 4/24/07, Gautam [EMAIL PROTECTED] wrote: Hi Pat, Sorry for the delay... I have attached a simple example for the tree behavior you are looking for. Go through the children property in the

[flexcoders] Re: Sprite.graphics: read-only or not?

2007-04-25 Thread ben.clinkinbeard
Duh- thanks guys. One of those days... Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: The documentation shows this property as read-only, but then the example in the Drawing vector graphics section shows this code: var mySprite:Sprite = new Sprite();

RE: [flexcoders] Re: Open new browser popup

2007-04-25 Thread Peter
Thanks Paul, I would have preferred to skip the extra roundtrip, but I guess that is not possible. Peter _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul DeCoursey Sent: Wednesday, April 25, 2007 8:24 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Preventing IE to cache Flex

2007-04-25 Thread Matt Wicks
add a random number to the end of the url http://blah,cm/flexhtml?id=89 ?? On 25 Apr 2007, at 19:19, André Rodrigues Pena wrote: Hi all, My customers browsers are caching flex and preventing them to see my last updated applications. The HTML they are accessing is the one generated by default

[flexcoders] Re: datagrid cell renderers

2007-04-25 Thread blc187
maybe i could elaborate on this a little bit. instead of using an item renderer for the entire row, i chose to set up renderers for the individual columns this makes accessing the whole row a little tricky. mainly i am trying to do 2 things: 1. load a bg into the row, trying to override

Re: [flexcoders] Preventing IE to cache Flex

2007-04-25 Thread André Rodrigues Pena
Thanks matt.. Are you sure that there's not a solution a little bit more... clean? lol thanks again On 4/25/07, Matt Wicks [EMAIL PROTECTED] wrote: add a random number to the end of the url http://blah,cm/flexhtml?id=89 ?? On 25 Apr 2007, at 19:19, André Rodrigues Pena wrote: Hi all,

[flexcoders] A big newbie flex question.

2007-04-25 Thread Ian Skinner
Where do I put it all? I've done many of the basic tutorials, I have a pretty good idea on how to create simple flex projects. I am now trying to design a real, functioning project based on one of our most important, internal, web applications. I find myself a little over my head. Any help

Re: [flexcoders] Re: SWFLoader for .swf and Effects?

2007-04-25 Thread Alain Thibodeau
I think you can make it work with any type of flex effects like WipeLeft or right, I haven't tried them all... if you don't want it to be visible till later, there are several ways you could do this. I have to assume that until later means an event at some poitn in time.. You can hide your

Re: [flexcoders] A big newbie flex question.

2007-04-25 Thread Douglas Knudsen
many may chime in to check out cairngorm at this point. Even if your app is small, now, you could at least benefit from seeing a directory structure and 'componentized' code. Check out http://www.cairngormdocs.org/ there is at least one example app there. DK On 4/25/07, Ian Skinner [EMAIL

[flexcoders] One Singleton many application

2007-04-25 Thread nxzone
How can i have only one Singleton if i have two applications. I want share the same singleton from the parent application Application1 { var singleton:ShareThis = ShareThis.getInstance() function init(){ singleton.name=test SWFLoader.source=application2.swf } } - Application2 {

Re: [flexcoders] Solved - Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread Michael Wills
Just got the text to pass through as well. In the end, I added this to the myMap event listener setup //my custom event myMap.addEventListener('onHtmlLinkClicked', onHtmlLinkClicked); I didn't add a callback there as I don't need to access it through this event from Flex. I then added

[flexcoders] Re: Open new browser popup

2007-04-25 Thread Doug Lowder
If you have access to the server, you can write a server-side page that wraps your service logic and bitstreams the pdf content directly to the client. In Flex, access the server-side page with navigateToURL(), ExternalInterface, URLLoader(), etc. With the right headers and content-type set

[flexcoders] Error -1

2007-04-25 Thread André Rodrigues Pena
Hi all, I extended a mx:NumberValidator this way FILE ExtNumberValidator.mxml ?xml version=1.0 encoding=utf-8? mx:NumberValidator xmlns:mx=http://www.adobe.com/2006/mxml; allowNegative=false decimalPointCountError=Só pode haver um separador decimal

Re: [flexcoders] SWFLoader for .swf and Effects?

2007-04-25 Thread Manish Jethani
You can always run the effect yourself by calling play() on it. The target property should be set. On 4/25/07, Alain Thibodeau [EMAIL PROTECTED] wrote: An example using a fade effect: mx:Fade id=myFade duration=5000/ mx:SWFLoader .. .. completeEffect=myFade/ - Original

[flexcoders] Tree drag selection inconsistency

2007-04-25 Thread Daniel Grace
If you set dragEnabled on a tree component and then drag a leaf and drop it somewhere that does not accept drops, that leaf node /looks/ selected, but is not. This also happens if you do drop it on a drop target, but the behavior dropping on an invalid target confirms that it's not a bug in my

Re: [flexcoders] Bug in nested CompositeEffects?

2007-04-25 Thread Manish Jethani
Just curious, why are you putting a parallel inside of another parallel? Why the extra nesting? On 4/25/07, Matt [EMAIL PROTECTED] wrote: I'm trying to do something that I would consider pretty basic and reading the docs it says this should be supported. I created a simple test case to show

Re: [flexcoders] A big newbie flex question.

2007-04-25 Thread Erik Price
On 4/25/07, Ian Skinner [EMAIL PROTECTED] wrote: So, one has managed to wade through all that exposition, what is a good way to do this? Where do I put the data access logic. I presume in my You might want to read up on MVC: http://en.wikipedia.org/wiki/Model_view_controller root

[flexcoders] Flex Course ?

2007-04-25 Thread Arleston Lueders
Hello everybody, Is there any Flex, ColdFusion or Flash Courses in Idaho or Salt Lake City? Anybody know? Thanks, Arleston

[flexcoders] converting pojo collection into XML to data-drive charts

2007-04-25 Thread vijay95052
Hello, we are using flex charting - i have a collection of java objects (eg. arraylist of Employee objects) that i need to set as chart's dataprovider. We are not using FDS. I could think of: 1) Convert the POJO collection into XML by using Castor framework or similar 2) Convert the

[flexcoders] Re: Bug in nested CompositeEffects?

2007-04-25 Thread Matt
This is just a simple example to show the problem. The actual usage is because I am doing some more complex effects and I'd like the ability to nest composite effects, but I get the same error in both cases. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: Just

[flexcoders] wmode arg = ARGH!

2007-04-25 Thread Matt
In my HTML page that I am embedding a pre-generated SWF file from Flex if I set wmode to opaque in the attributes I lose the ability to use the mouse's scroll-wheel in my Flex app, but if I remove the attribute it works again. This is the case in both IE 6 and Firefox. In addition, in Firefox I

[flexcoders] How do you Scroll programmatically in a Panel

2007-04-25 Thread jensen.axel
I'm filling a panel with a few vboxes, and sometimes it grows to big... I've never done anything with the scroll bar programmatically... i've skinned it, but thats about it. I'm adjusting this vbox's height programmatically, and so initially the panel may not have a scroll bar... i need to

[flexcoders] Re: wmode arg = ARGH!

2007-04-25 Thread Paul DeCoursey
Yeah I discovered that too a while back. It drove me crazy for about 3 weeks before I discovered exactly what was going on. I reported the bug to Adobe, but I'm sure more reports would be helpful in getting it fixed. What is odd is that you get slightly different results if you set wmode to

[flexcoders] Access top and left properties via ActionScript?

2007-04-25 Thread Kevin
Hi, all. Hopefully this is an easy question: I'm prototyping in Flex and I need to be able to move an Image that's inside of a Canvas. The image is currently positioned using top=18 and left=18 but when I access imageID.top and imageID.left in ActionScript, I get errors about possibly undefined

Re: [flexcoders] How do you Scroll programmatically in a Panel

2007-04-25 Thread Manish Jethani
Just set the verticalScrollPosition (or horizontalScrollPosition) property and the container will scroll. On 4/26/07, jensen.axel [EMAIL PROTECTED] wrote: I'm filling a panel with a few vboxes, and sometimes it grows to big... I've never done anything with the scroll bar programmatically...

  1   2   >