[flexcoders] Rails routes and Flex module, relative path?

2007-11-30 Thread nxzone
Hi, I am loading a SWF (main.swf). This swf load other SWF(module.swf). The module.swf is not found because he look in the wrong folder. Main.swf and Module.swf are in the root folder. The url = www.test.com/t34/password Main.swf is showed and work but when main.swf load module.swf. I

[flexcoders] Re: Databinding and modellocator

2007-11-24 Thread nxzone
{ if( instance == null ) instance = new User(test); return instance; } } } In contrast to what i said before it works with getInstance() in the binding as well. Cheers Ralf. On Nov 23, 2007 9:00 PM, nxzone [EMAIL PROTECTED] wrote: Yes, all

[flexcoders] Re: Databinding and modellocator

2007-11-24 Thread nxzone
of the User. If you change the instance, the binding is lost. If you change the content of the bound User object, it should work. Cheers Ralf On Nov 24, 2007 4:55 PM, nxzone [EMAIL PROTECTED] wrote: For me too but you dont change the user during runtime. ?xml version=1.0

[flexcoders] Re: Databinding and modellocator

2007-11-23 Thread nxzone
] wrote: Binding is based on the name of a property, it doesn't work if there is a method call involved. Assign the model returned by getInstance to a local bindable property and bind to it instead. Cheers Ralf. On Nov 23, 2007 5:42 PM, nxzone [EMAIL PROTECTED] wrote: Should i

[flexcoders] Re: Databinding and modellocator

2007-11-23 Thread nxzone
Should i user a observer/watcher --- In flexcoders@yahoogroups.com, nxzone [EMAIL PROTECTED] wrote: Why databinding is not working? User class in bindable. When I set the new user, with setUser the fullname in Myapp in not changed. In User.AS public static function setUser

[flexcoders] Re: Databinding and modellocator

2007-11-23 Thread nxzone
Yes, all the class --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: Is fullname declared as bindable as well? Cheers Ralf. On Nov 23, 2007 8:05 PM, nxzone [EMAIL PROTECTED] wrote: Thank you for you answer. But is not working... I tried

[flexcoders] Databinding and modellocator

2007-11-22 Thread nxzone
Why databinding is not working? User class in bindable. When I set the new user, with setUser the fullname in Myapp in not changed. In User.AS public static function setUser(u:User):void{ loggedUser=u; } public static function

[flexcoders] Re: always on top windows

2007-11-20 Thread nxzone
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Monday, November 19, 2007 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] always on top windows How we can put a windows ontop of all other window not matter from where it comes and if we added new

[flexcoders] always on top windows

2007-11-19 Thread nxzone
How we can put a windows ontop of all other window not matter from where it comes and if we added new window since... #My first try was to create a popup parent of Application. NoteWindow(PopUpManager.createPopUp(DisplayObject(mx.core.Application.application), NoteWindow, false)); #and bring it

[flexcoders] Remoteobject and http parameters

2007-10-25 Thread nxzone
Hi, I'm try to put my server url in the http file because i want test on different server without recompiling. The problem is the remoteobject read my SoftwareModelLocator.serverUrl before my initapp in my main application is called. ServerUrl is Bindable, but the endPoint is not refreshing the

[flexcoders] Re: Style link inTextarea or richtexteditor

2007-10-05 Thread nxzone
, it describes how to do some of what you want. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Thursday, October 04, 2007 6:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Style link inTextarea

[flexcoders] Style link inTextarea or richtexteditor

2007-10-04 Thread nxzone
How we can automatically underline or change color of all links that are in a textarea or a richtextedtior. I mean there is no default stylesheet that i can change?

[flexcoders] Re: Tilelist and image

2007-10-03 Thread nxzone
and scroll quickly, it skips over a bunch of images. If you're having problems, try it in Moxie. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Tuesday, October 02, 2007 8:16 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Tilelist and image

2007-10-02 Thread nxzone
:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Friday, September 28, 2007 11:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tilelist and image Hi, Thank you for you answer. I expect the loads stop and new ones start when scolling but it's false... The load never stop until

[flexcoders] Re: RemoteObject.disconnect does not work

2007-10-01 Thread nxzone
i have the same problem. mx:RemoteObject id=remoteTimelineObject concurrency=last destination=TimelineRemote endpoint={SoftwareModelLocator.serverUrl}/weborb showBusyCursor=true result=onResult( event ); fault=onFault( event );

[flexcoders] Re: Tilelist and image

2007-09-28 Thread nxzone
alleviate some of that When you close the Canvas, there is nothing to tell the renderers to stop loading. You can build that in if you want. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Wednesday, September 26, 2007 6:56

[flexcoders] Tilelist and image

2007-09-27 Thread nxzone
Hi, I try to do a image browser with a tilelist like this: mx:TileList id=tileBrowser itemRenderer={imagebox} borderStyle=solid dataProvider={_dataprovider} height=100% width=100%verticalScrollPolicy=on /mx:TileList My dataprovider can be a list of hundreds of images. If I scroll,

[flexcoders] Re: Encryption functions in ActionScript 3

2007-06-05 Thread nxzone
http://code.google.com/p/as3corelib/ --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: I thought the source for that package are up there somewhere in the svn (on labs.adobe.com), try search for it or drop me a line I can send you a copy (may not be the latest one cause it

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
not lose focus. Which player, browser, os? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Friday, June 01, 2007 12:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tooltip in itemeditor of datagrid

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
Not working with the hotfix 2. Doea anyone have try my sample? --- In flexcoders@yahoogroups.com, nxzone [EMAIL PROTECTED] wrote: My sample is working on your computer ? I dont have hotfix2 (download in progress). I try with player 9,0,28,0 and 9,0,45,0 on firefox and internet explorer

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
be a while before I get to it. Do you have a custom wrapper? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Monday, June 04, 2007 7:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tooltip

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
/ On 6/3/07, Alex Harui [EMAIL PROTECTED] wrote: Tried it in hotfix2, tooltip came up and editor did not lose focus. Which player, browser, os? -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *nxzone *Sent:* Friday, June

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
... --- In flexcoders@yahoogroups.com, nxzone [EMAIL PROTECTED] wrote: Not working with the hotfix 2. Doea anyone have try my sample? --- In flexcoders@yahoogroups.com, nxzone nxzone@ wrote: My sample is working on your computer ? I dont have hotfix2 (download in progress). I try with player 9,0,28,0

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-01 Thread nxzone
Enter more then 10 character in the email and rollover the textinput :) ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:XMLList id=employees employee nameChristina Coenraets/name email[EMAIL

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread nxzone
Nobody have a hint? I can repeat my question as this: How can I show the Error ToolTip after a validation in a ITEMEDITOR of a Datagrid... We i mouse over and show the tooltip, the item editor is close!!

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread nxzone
Is not a custom tooltip... It a custom itemeditor in the datagrid. This itemeditor is a textinput with a validator. When the text change the validator validate and show a red border with a tooltip... Something like this mx:TextInput x=50 y=21 width=208 creationComplete=doInit() ![CDATA[

[flexcoders] Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-30 Thread nxzone
When i'm validating a itemedition on change event, i want show the error tooltip (in red). But when the tooltip is show the editor is close i found why. The tooltip dispatch a stage resize and the datagrid catch this event: private function editorStageResizeHandler(event:Event):void {

[flexcoders] Text binding with condition

2007-05-24 Thread nxzone
Hi, Hi ! I want to know if is possible to and a if in this statement: mx:TextArea htmlText=Title:{obj.title}brDescription:{obj.description}brDate:{date.now}br editable=false/ like this mx:TextArea htmlText= if (obj.title) { return Title:{obj.title} } if (obj.description) { return

[flexcoders] Re: Menubar selected

2007-05-23 Thread nxzone
How to invalidate menuBarItem to call the updateDisplayList? This is not working: MenuBarItem(mp.menuBarItems[0]).invalidateDisplayList() --- In flexcoders@yahoogroups.com, nxzone [EMAIL PROTECTED] wrote: I want hightlight a menuitem if i'm in his section or child section... I created

[flexcoders] Menubar selected

2007-05-22 Thread nxzone
I want hightlight a menuitem if i'm in his section or child section... I created a MenuBarActive skin and added these attributes to my MenuBar: itemUpSkin=com.timeline.skin.MenuBarActiveSkin itemDownSkin=com.timeline.skin.MenuBarActiveSkin itemOverSkin=com.timeline.skin.MenuBarActiveSkin If the

[flexcoders] Re: Complex AS Objects to a file (serialization)

2007-05-09 Thread nxzone
Exactly ! :) Thank you --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/8/07, nxzone [EMAIL PROTECTED] wrote: How we can serialize a objects and save it to a file like xml? var bytes:ByteArray = new ByteArray(); bytes.writeObject(myComplexObject

[flexcoders] Re: One Singleton many application

2007-04-26 Thread nxzone
PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] One Singleton many application Why, this works perfectly well in flex 2.0. I don't remember if something changed in flex 2.01 but I don't think so. What does your getInstance() look like? On 4/25/07, nxzone [EMAIL PROTECTED

[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 {

[flexcoders] Re: submenu can't show completely

2007-04-24 Thread nxzone
Hi, Do work with this problem, i extend the Menu class to control the y position after the show function... You can also direcly after you show function move the y position like this: var popMenu:Menu= Menu.createMenu(zoomBox, myMenuData, false);

[flexcoders] Re: Coercion failed ArrayCollection with Objects inside Object AMFPHP 1.9

2007-04-12 Thread nxzone
My ArrayCollection class ?php class ArrayCollection extends ArrayObject { var $_explicitType = flex.messaging.io.ArrayCollection; //http://weierophinney.net/matthew/archives/131-Overloading-arrays-in-PHP-5.2.0.html public function __construct($config = array()) {

[flexcoders] Serialize Custom object and deserialize

2007-04-12 Thread nxzone
It possible to serialize a custom object (with custom objects inside), save it to a text file, load the file and create objects? class ModelLocator{ public var linksTypes:ArrayCollection= new ArrayCollection([ new LinkType(1,Cause), new

[flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-11 Thread nxzone
Thank for your reply Patrick! Now we are waiting for Mark Piller reply's. :o) Good luck in your new job! David www.ideeclic.com --- In flexcoders@yahoogroups.com, Patrick Mineault [EMAIL PROTECTED] wrote: Keep in mind that AMFPHP may go under the radar (or drop off it completely) as the

[flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread nxzone
then RPC calls in it.amfphp is working with flash from good time Let me KNow which framework u r going to use for ur application I am also confused I tried for zend but it seems maybe have to go for cakeamf but current version dont work with amf 1.9 Thanks nxzone [EMAIL PROTECTED

[flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread nxzone
to stop the open source offering. On the contrary, we have grand plans for it later this year. Cheers, Mark --- In flexcoders@yahoogroups.com, nxzone nxzone@ wrote: It's a OpenSource project and it's better to use OpenSource solutions... You think WebORB will be only commercial in few

[flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread nxzone
, nxzone nxzone@ wrote: It's a OpenSource project and it's better to use OpenSource solutions... You think WebORB will be only commercial in few years? The free PHP version is not usable for a big project? http://sourceforge.net/projects/timeline/ http://www.ideeclic.com/clients/133

[flexcoders] WebORB or AMFPHP for big Application

2007-04-09 Thread nxzone
Which between these both do you prefer? Which want is more stable, fast, simple WebORB VS AMFPHP

[flexcoders] Re: Save to database

2007-04-05 Thread nxzone
on Hibernate and giving it a thorough read, especially regarding transactions and commit strategies. SP. --- In flexcoders@yahoogroups.com, nxzone nxzone@ wrote: Hi, I don't know how I can save a lot of content that can be modified or not. First, when we load all the content

[flexcoders] Re: Save to database

2007-04-05 Thread nxzone
. - Original Message From: nxzone [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 4, 2007 1:08:35 PM Subject: [flexcoders] Save to database Hi, I don't know how I can save a lot of content that can be modified or not. First, when we load all the content from

[flexcoders] Save to database

2007-04-04 Thread nxzone
Hi, I don't know how I can save a lot of content that can be modified or not. First, when we load all the content from database for a timeline(main object) and transfert all these table to many Objects in flex. [Bindable] TimelineModelLocator dateType presentation from to

[flexcoders] List with smooth scroll

2007-03-30 Thread nxzone
Scrolling a List go from row 1 to row 2. How can I scroll between two row? My itemRendrer have a big height and it's difficult to see the scrolling... mx:List backgroundColor=#80 width=100% dataProvider={[1,2,3]} rowHeight=265 x=0 height=100% mx:itemRenderer

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed :

2007-03-29 Thread nxzone
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Wednesday, March 28, 2007 11:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TypeError: Error #1034: Type Coercion failed : My question was more why should I use link-report

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed :

2007-03-28 Thread nxzone
it is a common problem. Try putting a ToggleButtonBar in the main app first to prove it one way or another. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Tuesday, March 27, 2007 2:36 PM To: flexcoders@yahoogroups.com

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed :

2007-03-28 Thread nxzone
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Wednesday, March 28, 2007 10:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TypeError: Error #1034: Type Coercion failed : You are right. Now i use a generic library (myLib.swc) as RSL. The RSL is loaded

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed :

2007-03-27 Thread nxzone
portion of my modules presentation at blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Monday, March 26, 2007 2:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TypeError: Error #1034

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed :

2007-03-26 Thread nxzone
Same problem ... Line 158 of ButtonBarButtonSkin.as... (parent.parent is a ToggleButtonBar not a buttonbar) var bar:ButtonBar = parent ? ButtonBar(parent.parent) : null; --- In flexcoders@yahoogroups.com, lrhazi [EMAIL PROTECTED] wrote: I get this annoying error often: TypeError: Error

[flexcoders] Dimension limit on Sprite or Displayobject?

2007-03-20 Thread nxzone
If a have a sprite and i draw a rectangle of more then 65535, all then content is repeated. (not working example) public class UserViewEntry extends Sprite { public function UserViewEntry(entryData:EntryData){ //create ONE label and add it this.addChild(label)

[flexcoders] Re: Virtually add item to combobox

2007-03-19 Thread nxzone
/ --- In flexcoders@yahoogroups.com, nxzone nxzone@ wrote: Hi, For my first post, i have a hard question. *I have ComboxBox filled by a Bindable ArrayCollection. *This ComboxBox will act as a Filter. The problem is: how can a add a value No selection or No filter only