[flexcoders] Image Marquee

2008-02-08 Thread Dan Vega
={xml.image.src} itemRenderer=mx.controls.Image direction=horizontal /mx:TileList /mx:Application *images.xml* ?xml version=1.0 encoding=utf-8? images image nameaetna/name srcimages/aetna.gif/src linkhttp://www.yahoo.com/link /image /images -- Thank You Dan Vega

[flexcoders] Security Model

2008-02-10 Thread Dan Vega
I am having a hard time understand the flash player security model. I am trying to write some web serverice examples and for everyone I keep getting the following error. Warning: Domain services.digg.com does not specify a meta-policy. Applying default meta-policy 'all'. This configuration is

[flexcoders] Flex Book

2008-02-15 Thread Dan Vega
showCornerTease=true edgeAndCornerSize=150 itemRenderer=ImagePage content={dataSet} turnStart=loadContent(event) animatePagesOnTurn=true turnEnd=loadContent(event) / /mx:Application -- Thank You Dan Vega [EMAIL PROTECTED] http

Re: [flexcoders] Flex Book

2008-02-15 Thread Dan Vega
=data/images.xml/ Your xml might look like: images image thumb=assets/thumb1.jpg/ ... Then reference it as myXML.image.thumb. HTH Rob On Fri, Feb 15, 2008 at 9:31 AM, Dan Vega [EMAIL PROTECTED] wrote: I downloaded a great component from http://www.quietlyscheming.com/blog/ and I

Re: [flexcoders] Flex Book

2008-02-15 Thread Dan Vega
Rob, Great tip on using http instead of xml. The problem I am having now is I think the component is trying to load before the service is completed. I don't think the dataSet is filled when the component is setting up. I tried to create the component in AS but it would not let me. Any help is

Re: [flexcoders] Flex Book

2008-02-15 Thread Dan Vega
-Original Message- From: Dan Vega [EMAIL PROTECTED] Date: Fri, 15 Feb 2008 15:55:24 To:flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Book Rob, Great tip on using http instead of xml. The problem I am having now is I think the component is trying to load before the service

Re: [flexcoders] Flex Book

2008-02-17 Thread Dan Vega
to the new xml from the http result (and think about binding later if you have to). Hopefully that should get you started on something that works, at least. -Original Message- From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com on behalf of Dan Vega Sent: Fri 15/02/2008 20:55

[flexcoders] Basic Air App

2008-02-20 Thread Dan Vega
I am trying to build a basic air app using Flex 3. I have been writing some Flex applications with no problem but when I goto debug my AIR app I am having some issues. First off here is the basic code to create the app. ?xml version=1.0 encoding=utf-8? mx:WindowedApplication

Re: [flexcoders] Basic Air App

2008-02-20 Thread Dan Vega
how do i find this out? Would I still be able to debug flex apps if I wasnt? On Feb 20, 2008 9:36 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 20 Feb 2008, Dan Vega wrote: be running the debugger version of Flash player right? Are you running the most recent debug version ?

Re: [flexcoders] Basic Air App

2008-02-20 Thread Dan Vega
I have 115 installed and ran the about test in both browsers. Dan On Feb 20, 2008 9:55 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 20 Feb 2008, Tom Chiverton wrote: The most recent version is ..115. Right click any Flash content and choose 'about'. Although

[flexcoders] ColdFusion Structures in Flex

2008-05-17 Thread Dan Vega
I am new to Flex and I have some questions about data types. I have a method in ColdFusion that returns a structure. I heard that this is automatically converted for me. I was wondering if anyone can point me to article that explains what types in CF are converted to in Flex. I put a break point

Re: [flexcoders] ColdFusion Structures in Flex

2008-05-17 Thread Dan Vega
Here is what I am trying to do and it may make more sense. I have an object coming back from ColdFusion that contains a list of datasource names. When reading through the docs I can tell i need an arrayCollection or XmlLIstCollection to use as the data provider. I also need to list the field

[flexcoders] Scrolling Image Component

2008-05-28 Thread Dan Vega
(event:MouseEvent):void { navigateToURL(new URLRequest( http://www.adobe.com/products/coldfusion;),_blank); } ]] /mx:Script mx:Image id=scrollingImage source={img} y={this.height}/ /mx:Canvas -- Thank You Dan Vega

Re: [flexcoders] Problems accessing a class method from an mxml file

2008-05-30 Thread Dan Vega
The static error leads me to believe you have not instantiated your object yet. Have you created the object or are you directly trying to call the method? var obj:myObject = new myObject(); obj.getData(); On Fri, May 30, 2008 at 9:42 AM, justSteve [EMAIL PROTECTED] wrote: I have a public

Re: [flexcoders] Problems accessing a class method from an mxml file

2008-05-30 Thread Dan Vega
AM, Dan Vega [EMAIL PROTECTED]danvega%40gmail.com wrote: The static error leads me to believe you have not instantiated your object yet. Have you created the object or are you directly trying to call the method? var obj:myObject = new myObject(); obj.getData(); On Fri, May 30

[flexcoders] DataGrid Item Editor Question

2008-06-06 Thread Dan Vega
I have this data grid that holds a list of files. These files are fileReferences that are selected by a user browsing the system. After the select a file the data shows the name/ext/size. What I want is a 4th column for the user to select a value from the drop down. I get an error with the code

Re: [flexcoders] DataGrid Item Editor Question

2008-06-06 Thread Dan Vega
data, so adding a field to FileReference via subclassing or aggregation (a new class that contains a FileReference plus a new field) is recommended. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Dan Vega *Sent:* Friday, June 06

Re: [flexcoders] DataGrid Item Editor Question

2008-06-06 Thread Dan Vega
. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Dan Vega *Sent:* Friday, June 06, 2008 12:27 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] DataGrid Item Editor Question I have this data grid that holds a list of files

[flexcoders] Component Questions

2008-07-12 Thread Dan Vega
mx:Button label=Previous enabled=false/ mx:Spacer width=100%/ mx:Label text=Select a client and click next. color=#ff/ mx:Spacer width=100%/ mx:Button id=btnNextStart label=Next click={this.currentState='uploader'}/ /mx:ControlBar /mx:Panel Thank You Dan Vega [EMAIL

Re: [flexcoders] Component Questions

2008-07-12 Thread Dan Vega
={_client} .. note its odd to name a publicly available variable with a _ DK On Sat, Jul 12, 2008 at 2:46 PM, Dan Vega [EMAIL PROTECTED]danvega%40gmail.com wrote: I built a small app that has 4 screens and everything is working great. I want to learn more about breaking up the views

Re: [flexcoders] Component Questions

2008-07-12 Thread Dan Vega
Ok, I re wrote the 1st screen into a component. Here is the code for my component. When a user selects a client from the data grid I want to dispatch an event of clientSelected My question now is in my main app I have the following code. How do I tell my main application to listen for that event?

Re: [flexcoders] Component Questions

2008-07-12 Thread Dan Vega
I agree with you but is there an easy way to do this without diving into a framework right away? I understand frameworks in general but I am still learning the ins and outs of Flex. I am just trying to go up the 45 degree ramp instead of the 90 :) THanks! I seem to be in the minority opinion on

Re: [flexcoders] Component Questions

2008-07-12 Thread Dan Vega
Any examples would be a big help!. On Sat, Jul 12, 2008 at 7:30 PM, Dan Vega [EMAIL PROTECTED] wrote: I agree with you but is there an easy way to do this without diving into a framework right away? I understand frameworks in general but I am still learning the ins and outs of Flex. I am

Re: [flexcoders] Component Questions

2008-07-12 Thread Dan Vega
That is a ton of information Greg, thanks so much! I have viewed the Lynda videos before so I guess its about time to revisit them. I think once I wrap my head around how to move data around I will be ready to jump into a framework, after that sky is the limit! Thanks again for the info.. Dan

[flexcoders] Passing objects to components

2008-07-13 Thread Dan Vega
If I want to pass a string to my custom component its pretty easy. Lets say you have a custom button component and in that component you declare a public var str, when you create your custom button you can simply do the following. local:CustomButton str=Hello World/ This works fine, but If I

Re: [flexcoders] Re: Passing objects to components

2008-07-13 Thread Dan Vega
Obj extends Object { public function Obj() { super(); } public var str:String = ; } } --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Dan Vega [EMAIL PROTECTED] wrote: If I want to pass a string to my custom component its pretty easy. Lets say you have a custom

[flexcoders] Application Design

2008-07-13 Thread Dan Vega
=reviewPanel vs={vs} client={client} options={options} files={files}/ /mx:ViewStack /mx:Application Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org

Re: [flexcoders] Application Design

2008-07-13 Thread Dan Vega
{ //client data lblClientName.text = client.client_name; lblClientCity.text = client.city; lblClientState.text = client.state; lblClientZip.text = client.zip; lblClientPhone.text = client.phone; Thank You Dan Vega [EMAIL

Re: [flexcoders] Application Design

2008-07-13 Thread Dan Vega
at views::Review/init()[H:\Program Files\Apache\htdocs\Uploader\src\views\Review.mxml:27] which is this line lblClientPhone.text = client.phone; Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Sun, Jul 13, 2008 at 5:38 PM, Tracy Spratt [EMAIL PROTECTED] wrote: You get

Re: [flexcoders] Application Design

2008-07-13 Thread Dan Vega
,_client)); } Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Sun, Jul 13, 2008 at 5:51 PM, Tracy Spratt [EMAIL PROTECTED] wrote: How/when are you instantiating the client object? Tracy -- *From:* flexcoders@yahoogroups.com

Re: [flexcoders] Application Design

2008-07-13 Thread Dan Vega
That is just the local variable for that screen. I was told If I wanted to share information with the main application i had to push it back through an event. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Sun, Jul 13, 2008 at 6:06 PM, Tracy Spratt [EMAIL PROTECTED] wrote

Re: [flexcoders] Application Design

2008-07-13 Thread Dan Vega
of small applications? I know i need to get into mvc approach but im still learning. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Sun, Jul 13, 2008 at 6:35 PM, Dan Vega [EMAIL PROTECTED] wrote: I changed it so it get instantiated on the main init. ?xml version=1.0 encoding=utf-8

[flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
application development. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org

Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
I did not even think of flash vars, I will look into that. Thanks Simon! Thank You Dan Vega On Mon, Jul 14, 2008 at 2:02 PM, Simon Bailey [EMAIL PROTECTED] wrote: In a similar scenario for setting dynamic url strings I simply pass them in via FlashVars or an external XML file. On app

Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
; } } This works for me but I am open to any suggestions, Im still learning. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Mon, Jul 14, 2008 at 2:17 PM, Douglas Knudsen [EMAIL PROTECTED] wrote: why not keep the paths the same? Either directly or through application.cfc. DK

Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
Turns out this does not work, the flash vars must not get passed at the time I am trying to set them. Anyone know at what stage these variables get passed in ? Dan On Mon, Jul 14, 2008 at 2:24 PM, Dan Vega [EMAIL PROTECTED] wrote: Douglas, The remote object path is used in the Flex app

Re: [flexcoders] Debugging off when having multiple FB3 workspaces?

2008-07-14 Thread Dan Vega
this. Just a suggestion. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Mon, Jul 14, 2008 at 2:33 PM, ivo [EMAIL PROTECTED] wrote: Hello all, I ran across a problem I periodically have in Flex Builder where break points are off. This is an AIR project so there shouldnt be any

Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
Good point, you need to turn that on in the services config right? Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Mon, Jul 14, 2008 at 3:05 PM, Douglas Knudsen [EMAIL PROTECTED] wrote: right, so have your server code (CFCs) sit in the same folder path in dev, staging

[flexcoders] DataGrid Header Styles

2008-07-15 Thread Dan Vega
; headerStyleName: dataGridHeader; } .dataGridHeader { textRollOverColor:#FF; } Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org

Re: [flexcoders] DataGrid Header Styles

2008-07-15 Thread Dan Vega
PROTECTED] *On Behalf Of *Dan Vega *Sent:* Tuesday, July 15, 2008 8:40 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] DataGrid Header Styles I have some custom styles for my datagrid that apply to all datagrids. My problem is that the rows of the grid get a rollover color close

Re: [flexcoders] Object not passed as Remote Object parameter

2008-07-15 Thread Dan Vega
(); variables.exampleUserLabel = guest; request.data = variables; navigateToURL(request); } } } Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Tue, Jul 15, 2008 at 4:41 PM, Tom McNeer [EMAIL PROTECTED] wrote: Hi, I am building a product

Re: [flexcoders] What is the underscore '_'

2008-07-16 Thread Dan Vega
Its just standard practice to use an underscore for private variables. Dan On Wed, Jul 16, 2008 at 10:38 AM, Scott [EMAIL PROTECTED] wrote: … being used for in flex code? I see example code out there that has variables like _myVar = myVar, what is this doing? TIA!

[flexcoders] drag and drop in air cairngorm app

2008-07-23 Thread Dan Vega
=10 paddingRight=10 paddingBottom=10 paddingLeft=10 /mx:List /mx:Canvas Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org

[flexcoders] DataGrid Row Icon

2008-07-25 Thread Dan Vega
to property 'Type' on class 'Object' (class is not an IEventDispatcher) warning: unable to bind to property 'Name' on class 'Object' (class is not an IEventDispatcher) Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org

Re: [flexcoders] DataGrid Row Icon

2008-07-25 Thread Dan Vega
/ /mx:Component /mx:itemRenderer /mx:DataGridColumn Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Fri, Jul 25, 2008 at 2:13 PM, Alex Harui [EMAIL PROTECTED] wrote: It means your data objects are just plain objects and any changes

[flexcoders] File Manager

2008-07-28 Thread Dan Vega
would think this needs to be done after the grid is created. Thank You Dan Vega

Re: [flexcoders] File Manager

2008-07-28 Thread Dan Vega
I understand how to create a cell renderer but I have a query that pulls all the directory information, how do i insert a row after that query comes back from the server. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Mon, Jul 28, 2008 at 9:50 AM, Tom Chiverton [EMAIL PROTECTED

Re: [flexcoders] File Manager

2008-07-28 Thread Dan Vega
That was my next option, I was just wondering if I should do it on the server or after the grid was completed. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Mon, Jul 28, 2008 at 10:02 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 28 Jul 2008, Dan Vega wrote: I

Re: [flexcoders] MouseEvent's not firing

2008-07-29 Thread Dan Vega
); mySprite.addEventListener(MouseEvent.MOUSE_OVER,onMouseOver); rawChildren.addChild(mySprite); } private function onMouseOver(event:MouseEvent):void { trace(move over sprite); }* Thank You Dan Vega On Tue, Jul 29, 2008 at 2:50 PM, Patrick J. Jankun

[flexcoders] dynamic remote objects

2008-07-29 Thread Dan Vega
; ro.source = something.text ro.METHODNAME.addEventListener(result, getListResultHandler); ro.addEventListener(fault, faultHandler); ro..METHODNAME(deptComboBox.selectedItem.data); Thank You Dan Vega

Re: [flexcoders] dynamic remote objects

2008-07-30 Thread Dan Vega
Unknown1217435341365 1308 Thank You Dan Vega On Wed, Jul 30, 2008 at 11:46 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 30 Jul 2008, Dan Vega wrote: I have a remote object that is very dynamic.The user is actually selecting the source of the component and the method name

Re: [flexcoders] dynamic remote objects

2008-07-30 Thread Dan Vega
; operation.addEventListener(ResultEvent.RESULT,loadGridData); operation.send(); and it still gives me the same error. Thank You Dan Vega On Wed, Jul 30, 2008 at 2:29 PM, Sid Maskit [EMAIL PROTECTED] wrote: ActionScript has two RemoteObject classes. The compiler is telling you

[flexcoders] popup window

2008-07-30 Thread Dan Vega
); PopUpManager.centerPopUp(_popup); } Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org

Re: [flexcoders] popup window

2008-07-30 Thread Dan Vega
it to something. On a side note, this may seem like a hack, but how else can the system know what it should do? - Original Message From: Dan Vega [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, July 30, 2008 8:24:50 PM Subject: [flexcoders] popup window I have

Re: [flexcoders] popup window

2008-07-31 Thread Dan Vega
Perfect! Thank you so much... Thank You Dan Vega On Thu, Jul 31, 2008 at 1:50 AM, Alex Harui [EMAIL PROTECTED] wrote: text.percentWidth=100 -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Dan Vega *Sent:* Wednesday, July 30

[flexcoders] CFMultiUploader

2008-07-31 Thread Dan Vega
instructions. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org

[flexcoders] Re: CFMultiUploader

2008-07-31 Thread Dan Vega
I just posted a quick intro to the component http://www.danvega.org On Thu, Jul 31, 2008 at 9:38 AM, Dan Vega [EMAIL PROTECTED] wrote: Anyone on here who uses ColdFusion I could really use your help. I built a multi file uploader using Flex that you can configure via xml. I need a couple

[flexcoders] Remove Child

2008-08-04 Thread Dan Vega
(event)/ If I use the following this.removeChild(aboutMeLink); I get the following error, just wondering what im doing wrong. The supplied DisplayObject must be a child of the caller. Thank You Dan Vega

Re: [flexcoders] Re: Remove Child

2008-08-04 Thread Dan Vega
Thats exactly what was going on... thanks for the response. Thank You Dan Vega On Mon, Aug 4, 2008 at 10:29 AM, Michael VanDaniker [EMAIL PROTECTED] wrote: My guess is that you have something like this... mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Canvas id=canvas

[flexcoders] Selected Items in a datagrid

2008-12-07 Thread Dan Vega
/ /mx:columns /mx:DataGrid Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org

[flexcoders] File Explorer

2008-12-17 Thread Dan Vega
= Dir [1] (Object)#4 Attributes = DateLastModified = Fri Aug 3 21:55:23 GMT-0400 2007 Directory = H:\JRun4 hasDirs = 1 Mode = Name = docs Path = H:\JRun4\docs Size = 0 Type = Dir Thank You Dan Vega danv...@gmail.com http

Re: [flexcoders] File Explorer

2008-12-17 Thread Dan Vega
but for the directory structure I am going to produce xml. Also I think when we we are just talking about directories, I might as well go build them all out now __,_,_ Thank You Dan Vega

Re: [flexcoders] File Explorer

2008-12-17 Thread Dan Vega
So I am working with the file explorer and I came across another problem. Server side I am writing out the following xml root node label=Root Directory node label=bin path=H:\JRun4\bin isBranch=false/ node label=docs path=H:\JRun4\docs isBranch=true/ node label=jnbridge

Re: [flexcoders] Re: File Explorer

2008-12-18 Thread Dan Vega
This is great stuff, thanks so much to all of you. For the record I am not arguing with anyone, I am just trying to learn the most efficient way of doing things. With that being said and a ton of screwing around with code I have come up with my solution (half way there). I have decided to only

[flexcoders] Tree and array data

2008-12-18 Thread Dan Vega
I am in the middle of building a file explorer and I have come to a stumbling block. I have a simple screen that has a tree on the left and a grid on the right. My ColdFusion components return an array and I end up with something that looks like this. So far it works great but all of my

Re: [flexcoders] Tree and array data

2008-12-18 Thread Dan Vega
but not every folder will be a branch, only those who have children. I can set the default leaf icon to a standar folder but I am stuck on how to treat branches using my example.

Re: [flexcoders] Tree and array data

2008-12-19 Thread Dan Vega
I don't think its just icon though is it? It needs to be a branch with an arrow next to it so that you can click on it to expand the folder. Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Thu, Dec 18, 2008 at 2:43 PM, Fotis Chatzinikos fotis.chatzini...@gmail.com wrote: use

Re: [flexcoders] Re: Tree and array data

2008-12-19 Thread Dan Vega
I think I am finally getting some where. In case you don't know what I have been up to I will bring you up to speed. I am building a file explorer where the left side will only be directories. When you select a directory the contents (files) will show up in a datagrid on the right. I was having

Re: [flexcoders] Re: Tree and array data

2008-12-19 Thread Dan Vega
nm..im a dummy! got it On Fri, Dec 19, 2008 at 3:06 PM, Dan Vega danv...@gmail.com wrote: I think I am finally getting some where. In case you don't know what I have been up to I will bring you up to speed. I am building a file explorer where the left side will only be directories. When you

[flexcoders] Tree problems

2008-12-19 Thread Dan Vega
do now? holder = dirs; } } Thanks for the help! Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] Tree problems

2008-12-19 Thread Dan Vega
If you read through the post I am actually passed that and now trying to figure out how to dynamically insert / remove nodes. Dan

Re: [flexcoders] Tree problems

2008-12-19 Thread Dan Vega
I am not sure what you mean by getChildren() though, when a branch is clicked this method is called. private function onItemOpen(event:TreeEvent):void { var path:String = event.item.path; FileManager.getDirectories(path); } The

Re: [flexcoders] Tree problems

2008-12-20 Thread Dan Vega
with the retrieved data, somethin akin to: private function listDirectories( event:ResultEven t):void { var _node:Object = event.currentTarget; _node.children = event.result as Array; } - Ivo -- *From:* Dan Vega danv...@gmail.com *To:* flexcoders

Re: [flexcoders] Tree problems

2008-12-20 Thread Dan Vega
is just not updating for whatever reason. Is there something I need to do to refresh everything? Dan On Sat, Dec 20, 2008 at 2:17 PM, Dan Vega danv...@gmail.com wrote: The current target of the event is that, I don't think that will work? mx.rpc.remoting.mxml.Operation (@2a9494c1) On Sat, Dec

Re: [flexcoders] Tree problems

2008-12-20 Thread Dan Vega
Same result .. private function listDirectories(event:ResultEvent):void { var dirs:Array = event.result as Array; // if the _directories array is null this is our root request if(_directories == null) { _directories

Re: [flexcoders] Tree problems

2008-12-20 Thread Dan Vega
I actually stuck a placeholder on to the empty array and now everything seems to be working out ok, thanks for the help guys! Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Sat, Dec 20, 2008 at 4:29 PM, Dan Vega danv...@gmail.com wrote: Same result .. private

Re: [flexcoders] Re: Tree problems

2008-12-21 Thread Dan Vega
I would rather take that approach because there can be an infinite number of children and I want it to be fast. Thats why Ithink loading when requested is better for this scenario. How can I tell the tree to refresh its view? Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] ActionScript RemoteObject - Trying to learn so please be patient :-)

2008-12-21 Thread Dan Vega
You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] Re: Tree problems

2008-12-22 Thread Dan Vega
I appreciate the help! Does anyone have an example of this? I have a hard time believing that I am the first person to attempt something like this. For small sub directories it seems to be working fine but any large data set does not work, you need to close the node and then re open it.

Re: [flexcoders] Re: Tree problems

2008-12-22 Thread Dan Vega
Ok, I think I found the solution but it was basically through guessing, can anyone tell me why I need both of these ? tree.invalidateList(); tree.invalidateDisplayList();

[flexcoders] Center a Popup window

2008-12-27 Thread Dan Vega
correctly. //add modal window PopUpManager.addPopUp(_renamedir,this,true); //center modal window PopUpManager.centerPopUp(_renamedir); Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] Center a Popup window

2008-12-27 Thread Dan Vega
I forgot to mention, I am inside of a custom renderer. I tried both suggestions and they did not work.

Re: [flexcoders] Center a Popup window

2008-12-27 Thread Dan Vega
PopUpManager.centerPopUp(_renamedir); Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Sat, Dec 27, 2008 at 4:12 PM, Manish Jethani manish.jeth...@gmail.comwrote: On Sun, Dec 28, 2008 at 2:19 AM, Dan Vega danv...@gmail.comdanvega%40gmail.com wrote: I forgot to mention, I am inside

Re: [flexcoders] Center a Popup window

2008-12-27 Thread Dan Vega
I get a compile time error if i do this _renamedir = new RenameDirectory //add modal window PopUpManager.addPopUp(_renamedir,Application.application,true); //center modal window PopUpManager.centerPopUp(_renamedir); *** Implicit

Re: [flexcoders] Center a Popup window

2008-12-29 Thread Dan Vega
Thank you so much for the help Manish, that solution ended up working out great! Dan

[flexcoders] Custom Event Problem

2008-12-29 Thread Dan Vega
For the file manager I am writing I am having an issue with dispatching a custom event. I have a tree on the left with a custom tree item renderer. In that renderer I have setup a context menu so the user can rename/remove/add directories easily. private function

Re: [flexcoders] File Uploading

2008-12-29 Thread Dan Vega
I have one written in Flex/ColdFusion http://cfmu.riaforge.org Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Mon, Dec 29, 2008 at 2:28 AM, Fernando Cabredo fcabred...@yahoo.comwrote: Hi, The PHP file is not included in the source file. Do you know where to find

Re: [flexcoders] Re: Custom Event Problem

2008-12-29 Thread Dan Vega
I thought about that as well but it did not work. Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Mon, Dec 29, 2008 at 12:01 PM, valdhor valdhorli...@embarqmail.comwrote: Try changing the bubbles property to true. The event needs to bubble to the top so that the application

Re: [flexcoders] Re: Custom Event Problem

2008-12-29 Thread Dan Vega
Just so I am clear are you saying because I told the PopUpManager that the parent was the application my event is not bubbling up correctly? Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] Re: Custom Event Problem

2008-12-29 Thread Dan Vega
got ya,thanks! Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] Re: Custom Event Problem

2008-12-29 Thread Dan Vega
application to call the getDirectories() method again. I can do it from the view without really repeating a ton of stuff. Im just kind of stuck on how to make another call back to the server to list the dirs again. Thank You Dan Vega danv...@gmail.com http://www.danvega.org

[flexcoders] Searching Multi Demensional arrays

2008-12-29 Thread Dan Vega
mx_internal_uid = B8E4886E-A00D-6D89-CBAA-84C60F791112 name = Home path = C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\FFManager\src\data Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] Searching Multi Demensional arrays

2008-12-29 Thread Dan Vega
I am grabbing these values from a server side service like so var dirs:Array = event.result as Array; So in the end with an endless amount of children am I still going to have to loop through everything to map them as they come in? Thank You Dan Vega danv...@gmail.com http://www.danvega.org

[flexcoders] Real World Flex/ColdFusion

2009-01-07 Thread Dan Vega
Thank You Dan Vega danv...@gmail.com http://www.danvega.org

[flexcoders] Custom Tree Item Renderer

2009-01-09 Thread Dan Vega
(); renameWin.item = data; renameWin.oldDirectoryName = data.name; renameWin.parentPath = data.parent; // rename window PopUpManager.addPopUp(renameWin,DisplayObject(Application.application),true); } } } Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] Custom Tree Item Renderer

2009-01-10 Thread Dan Vega
Thats exactly what I am looking for, a way to access public variables from within the custom item renederer. Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Fri, Jan 9, 2009 at 5:27 PM, Tracy Spratt tspr...@lariatinc.com wrote: I am not exactly sure what you are trying to do

Re: [flexcoders] Custom Tree Item Renderer

2009-01-10 Thread Dan Vega
Tracy you are genius! :) Are there cases like this where you just need to do this or is it bad practice? Thank You Dan Vega danv...@gmail.com http://www.danvega.org

[flexcoders] Loading Images Using CSS

2009-01-11 Thread Dan Vega
this and got the following error. I am sure I am probably just doing something wrong, anyone know what it is? TypeError: Error #1009: Cannot access a property or method of a null object reference. Thank You Dan Vega danv...@gmail.com http://www.danvega.org

[flexcoders] Loading images using binary data

2009-01-13 Thread Dan Vega
)/ /mx:RemoteObject mx:Canvas id=imageCanvas width=100 height=100/ /mx:Application Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] Loading images using binary data

2009-01-13 Thread Dan Vega
I am able to read in images via the server returning the binary data of the image. My question is can I then create a thumbnail or should I be doing that on the server as well? Thank You Dan Vega danv...@gmail.com http://www.danvega.org

  1   2   >