[flexcoders] Re: tilelist itemrender problem

2009-01-18 Thread johndoematrix
when i do what you asked me to do by taking out the leading dots and the forward slash, image icons appear but without loading the images. could it be with the coldfusion query? coz it looks like its actually trying to load the images but cant find them. am gonna revise my coldfusion query bt if

[flexcoders]How would you rewrite this isset PHP condition in AS3?

2009-01-18 Thread dorkie dork from dorktown
I have a PHP statement that I am trying to write in AS3. So far it errors out because the properties do not exist on it yet. How would/should I rewrite this for AS3? Here is the statement: // at the time this is run this.language_data is an object with 2 properties // the STYLES property does not

[flexcoders] WipeLeft in a module with combobox error ??

2009-01-18 Thread rockorgames
hey guys.. i have app with a module that has a form and some combobox in it.. also this same module has a removedEffect that is a wipeleft.. when the module is removed it generates a wierd error.. but if i remove the combobox from the module it doesnt generate error... i ll post a simple

Re: [flexcoders]How would you rewrite this isset PHP condition in AS3?

2009-01-18 Thread dorkie dork from dorktown
I don't like to know if there is an easier way to do this so I wrote this function to check if a object or the requested properties exist on the object. // call it like this isset_drilldown(this.language_data,'STYLES','BRACKETS',0); // Determine whether a variable set via a drill down through

Re: [flexcoders]How would you rewrite this isset PHP condition in AS3?

2009-01-18 Thread dorkie dork from dorktown
er sorry for the php references. i am knee deep in translating php code. :P On Sun, Jan 18, 2009 at 7:39 AM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: I don't like to know if there is an easier way to do this so I wrote this function to check if a object or the

[flexcoders] Re: custom image component that uses the url property to load images

2009-01-18 Thread Tracy Spratt
Maybe your url is wrong? Try hard coding a full url. Tracy --- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote: hi i downloaded a custom image component that has reflection functionality and i am using to load dynamic images but i keep getting this error Error #2044: Unhandled

[flexcoders] Re: tilelist itemrender problem

2009-01-18 Thread Tracy Spratt
I'd suggest you just solve this systematically, instead of guessing. Hard code a full url to a known image. Verify it in a browser, and test it in the app. Then make that url relative, test it. If you can't find it, put the image in the same folder as the main app, test again with the full

Re: [flexcoders]How would you rewrite this isset PHP condition in AS3?

2009-01-18 Thread Ralf Bokelberg
doesn't try catch help here? If no error is thrown, isset returns true ralf On Sun, Jan 18, 2009 at 1:46 PM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: I have a PHP statement that I am trying to write in AS3. So far it errors out because the properties do not exist on it

[flexcoders] flex not seeing method

2009-01-18 Thread dnk
Hi there, I have an mxml component that dispatches an event. Now when i use the component, the meta data is showing up fine. But when i assign a handler, flex says that it is a call to a possibly undefined method. But it is there plain as day. IDeas??? Code snippets below.

[flexcoders] flex not seeing method - update

2009-01-18 Thread dnk
Ok, I found one additional piece of info that when I sent this I thought was not relevant. In my main.mxml, my component.mxml is actually an itemrenderer. So the code for it would be: mx:itemRenderer mx:Component view:fileActions

[flexcoders] Drag And Drop Tree

2009-01-18 Thread Claudiu Ursica
Hi I'm trying to implement the drag and drop functionality inside a tree, dragging and dropping inside the same tree. However It seems that I cannot drag and drop leaf nodes... When I handle enterDrag event the item seems to be appearing only at debug time and gets lost after that... here is the

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread Paul Andrews
- Original Message - From: dnk d.k.emailli...@gmail.com To: Flexcoder List flexcoders@yahoogroups.com Sent: Sunday, January 18, 2009 5:47 PM Subject: [flexcoders] flex not seeing method - update Ok, I found one additional piece of info that when I sent this I thought was not

[flexcoders] PyAMF 0.4 released

2009-01-18 Thread Thijs Triemstra | Collab
The PyAMF team is proud to announce the release of 0.4 final! PyAMF [1] is a lightweight library that allows Flash and Python applications to communicate via Adobe’s ActionScript Message Format. This release fixes over a 100 tickets, see the changelog [2] for the complete list of changes.

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread Josh McDonald
The mx:Component tag is, let's call it... Voodoo :) What it's actually doing is defining a new custom component class, whereas every other MXML tag you use will define elements of the class defined in the root element of your MXML document. You can tell MXMLC what name you'd like the class to

[flexcoders] Flex drop down horizontal menu

2009-01-18 Thread brucewhealton
Hello all, I was wondering if anyone could share some tutorials on how to create a horizontal menu with drop-down sub-menus. Please let me know if you can think of any good examples with tutorials/script examples for learning, etc. Thanks, Bruce

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread dnk
Tried that, and same issue. d On 18-Jan-09, at 10:54 AM, Paul Andrews wrote: Try making the handler public..

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread Paul Andrews
Josh is probably on the ball. Also check out outerDocument: The mx:Component tag defines a new scope within an MXML file, where the local scope of the item renderer or item editor is defined by the MXML code block delimited by the mx:Component and /mx:Component tags. To access elements outside

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread Josh McDonald
Ah, I forgot about outerDocument, as I'm one of those loose-coupling nazi types and don't use it :) Of course, being a louse-coupling nazi has it's upside, in Smartypants-IOC :) -Josh 2009/1/19 Paul Andrews p...@ipauland.com Josh is probably on the ball. Also check out outerDocument: The

[flexcoders] LCDS - adding a new Item using createItem()

2009-01-18 Thread Besite - Bart
Hello, In my Data Management Service I create a new User-object using the createItem() function : ds.createItem(new User(Jeff)); var token:AsyncToken = ds.commit(); token.kind = create; When the commit is sent, the new User is persisted to the server... In my database an autoincrement id is

Re: [flexcoders]How would you rewrite this isset PHP condition in AS3?

2009-01-18 Thread dorkie dork from dorktown
late night... thanks On Sun, Jan 18, 2009 at 10:05 AM, Ralf Bokelberg ralf.bokelb...@gmail.comwrote: doesn't try catch help here? If no error is thrown, isset returns true ralf On Sun, Jan 18, 2009 at 1:46 PM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com

RE: [flexcoders] Drag And Drop Tree

2009-01-18 Thread Alex Harui
Setting breakpoints in drag/drop generally doesn't work because you tend to release the mouse in order to dig through the debugging info and when you resume the drag is cancelled. Remove the custom drag event handlers and try with simple data and see if it works. We definitely tested

RE: [flexcoders] WipeLeft in a module with combobox error ??

2009-01-18 Thread Alex Harui
Usually a shared code problem. See the modules presentation on my blog. Post the stacktrace from the error. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of rockorgames Sent: Sunday, January 18, 2009 5:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] Roles Based UI

2009-01-18 Thread ilikeflex
Hi I am developing role based GUI. Can anybody please point to best practices or any flex article which can help to achieve this. Thanks ilikeflx

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread dnk
Are there any examples anywhere? On 18-Jan-09, at 5:14 PM, Paul Andrews wrote: Josh is probably on the ball. Also check out outerDocument: The mx:Component tag defines a new scope within an MXML file, where the local scope of the item renderer or item editor is defined by the MXML

RE: [flexcoders] flex not seeing method - update

2009-01-18 Thread Alex Harui
I think it is a metadata issue. When Josh and Paul say that mx:Component defines a new document within an MXML file they mean that if you have one file that looks like this: MyContainer.mxml --- mx:VBox mx:List mx:itemRenderer