[flexcoders] Re: runtime error of stage.stageWidth. Why???

2005-12-21 Thread sn197412
Ahh... I got why. I must set mx:Application's width and height like "width = 1024". If I set mx:Application's width like "width = '100%'", "stage.stageWidth" doesn't work. Ah.. This has been ultra basic knowledge. --- In flexcoders@yahoogroups.com, "sn197412" <[EMAIL PROTECTED]> wrote: > > Hi. >

[flexcoders] runtime error of stage.stageWidth. Why???

2005-12-21 Thread sn197412
Hi. I got runtime error of runtime error of stage.stageWidth. Please tell me why? Runtime error is below. TypeError: Error #1009: null has no properties. at CustomPopup/CustomPopup$275$private::initApp() at CustomPopup/___Application0_creationComplete() at flash.events::EventDispatcher/dis

Re: [flexcoders] Interop between to instances of Flash-Player?

2005-12-21 Thread JesterXL
A little known undocumented thing, yes, I know, it's weird.   :: goes to look ::   Ok, I never knew I was getting around it, but this gets around subdomain restrictions.  So, if you have SWFA on yahoo.com, then SWFB can talk to it from dev.yahoo.com. http://www.macromedia.com/cfusion/knowle

RE: [flexcoders] Question about webservice tags

2005-12-21 Thread Tracy Spratt
The mx:Webservice tag is used to establish data communication with a web service.  It is similar to the mx:HTTPService tag.   See the documentation and examples for more information.   Tracy   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of

RE: [flexcoders] Interop between to instances of Flash-Player?

2005-12-21 Thread Tracy Spratt
Jesse, say whut? An underscore prefix really has a security effect?  Do you know any more about this? I am interested because I have been tripping over security restrictions everywhere recently and am trying to understand better.   Tracy   From: flexcoders@yahoogroups.com [ma

RE: [flexcoders] Array declaration problem

2005-12-21 Thread Tracy Spratt
With the embedded quotes, huh?  You might have to process the string a bit more then.  Experiment with split. You have several options, strip out all the quotes (that would probably be my choice but I’d need to experiment), strip off the beginning and end quotes and use ‘”, “’ as the deli

Re: [flexcoders] Something like interop between two swf instances

2005-12-21 Thread JesterXL
To extrapolate, you can send Strings, Numbers, Dates, Arrays, Objects...   so, more specifically, intrinsics only.  I never got custom classes to work, even with Object.registerClass on both ends.   - Original Message - From: JesterXL To: flexcoders@yahoogroups.com Sent: Wednesda

Re: [flexcoders] Re: Flex 2 --> flash.display.Loader -- addChild bug?

2005-12-21 Thread JesterXL
I believe all children of Flex containers need to implement the IUIComponent interface. Therefore, it's by design, not a bug. It does this to ensure the correct methods are there so it can size things correctly I think. - Original Message - From: "Paul Solomon" <[EMAIL PROTECTED]> To:

[flexcoders] Re: Flex 2 --> flash.display.Loader -- addChild bug?

2005-12-21 Thread Paul Solomon
Thanks JesterXL, I replaced: loader.load(request); mainVBox.addChild(loader); -with- loader.load(request); var uic:UIComponent = new UIComponent(); mainVBox.addChild(uic); uic.addChild(loader); I do not get any runtime errors and best of all, the image renders correctly. Just curio

[flexcoders] Re: XMLObjectOutput

2005-12-21 Thread Jason Doyle
That is exactly what I forgot. Thanks! Yahoo! Groups Sponsor ~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM --

Re: [flexcoders] XMLObjectOutput

2005-12-21 Thread Clint Modien
Does the class definistion begin like this?class com.thomson.ppc.utils.XMLObjectOutput{ ...code here}I'm guessing it looks like thisclass XMLObjectOutput{. On 12/21/05, Jason Doyle <[EMAIL PROTECTED]> wrote: I was trying to implement the XMLObjectOutput but am getting this error:"Th

Re: [flexcoders] Newbie Question.

2005-12-21 Thread Rich Tretola
ViewLocator allows you to get an instance of a viewHelper from another file within your app. Ex: Lets say I have a view named Contacts.mxml and have registered a viewHelper like this: I can then get a reference to my viewHelper from any file (command, etc): var contactsViewHelper:ContactsViewHe

Re: [flexcoders] Something like interop between two swf instances

2005-12-21 Thread JesterXL
Primitives only, and max is 40k worth.   - Original Message - From: Scott Langeberg To: flexcoders@yahoogroups.com Sent: Wednesday, December 21, 2005 12:36 PM Subject: Re: [flexcoders] Something like interop between two swf instances Do you know what the limitations are for parame

Re: [flexcoders] Something like interop between two swf instances

2005-12-21 Thread Scott Langeberg
Do you know what the limitations are for parameters sent via LocalConnection?It would be nice if I could transmit bimaps or movieclips!ScottOn 12/21/05, Theodore E Patrick <[EMAIL PROTECTED]> wrote: Try the LocalConnection Class. Each SWF application can register as alistener and allow function

Re: [flexcoders] Re: Flex 2 --> flash.display.Loader -- addChild bug?

2005-12-21 Thread JesterXL
I can't remember how Manish said to get around this. Here's some things to try util I get corrected: - try attaching to Canvas instead - create a blank UIComponent, addChild, and then add the bitmap to the blank UIComponent - case the bitmap to IUIComponent: var b:IUIComponent = IUIComponent(dat

[flexcoders] Re: Flex 2 --> flash.display.Loader -- addChild bug?

2005-12-21 Thread solgraphics
Yeah, below is the error. TypeError: Error #1034: Type Coersion failed: cannot convert flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent at mx.containers::Tile/http://www.macromedia.com/2005/flex/mx/internal::findCellSize() at mx.containers::Tile/measure() at mx.cor

Re: [flexcoders] Newbie Question.

2005-12-21 Thread JesterXL
I can answer the ModelLocator one. ModelLocator is basically a class that holds all of your data. It acts like a Singleton, and "Singleton is the new _global!" So, where you are used to putting data on _global: _global.my_array = []; You instead put it on ModelLocator: ModelLocator.my_array

Re: [flexcoders] Flex 2 --> flash.display.Loader -- addChild bug?

2005-12-21 Thread JesterXL
What is the error you are getting? Is it yelling it's not a UIComponent? - Original Message - From: "solgraphics" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 21, 2005 10:28 AM Subject: [flexcoders] Flex 2 --> flash.display.Loader -- addChild bug? I am trying to use the flash.dis

[flexcoders] Flex 2 --> flash.display.Loader -- addChild bug?

2005-12-21 Thread solgraphics
I am trying to use the flash.display.Loader class because I want to use images that are stored in a db as a hex string. I can bring in the hex string and create the ByteArray fine using flash.display.Loader.loadBytes(), but when I addChild the Loader to the application I get an error. Is this becau

[flexcoders] Newbie Question.

2005-12-21 Thread Antoine
Hi, Flash Developer since about 3 years now, i'm currently working on a classical Flex Store prototype, integrating it with ATG Dynamo 6.4. We are trying to use the Cairngorm Framework, and i've read the "ActionScript Design Patterns for Rich Internet application development" PDF iteration::two pr

RE: [flexcoders] Re: Using compc to make SWC from AS

2005-12-21 Thread Brian Deitte
You can call compc from Java (or using the Java task in Ant) via "flex.compiler.swc.CompCompiler". This is very similar to how people use mxmlc with Java/Ant, where you use "flex.tools.Mxmlc". -Brian > -Original Message- > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On

[flexcoders] XMLObjectOutput

2005-12-21 Thread Jason Doyle
I was trying to implement the XMLObjectOutput but am getting this error: "The class being compiled, 'XMLObjectOutput', does not match the class that was imported, 'com.thomson.ppc.utils.XMLObjectOutput'. " //At the top of my page I am importing the class import com.ppc.utils.XMLObjectOutput; //An

[flexcoders] Flex2 :: Grid / drop-in cellrenderer / drag-drop / exception / bug?

2005-12-21 Thread Michael Hansen
Hi! I've implemented a grid using a drop-in cellrenderer as detailed in (my code is almost identical): http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href="" I also have drag enabled on the grid. The cellrenderer works fine. However, after I implementing the c

Re: [flexcoders] Re: Using compc to make SWC from AS

2005-12-21 Thread JesterXL
While I could use Zinc or mProjector, no one would use it. I'd much rather have it in Eclipse, but I don't know Java. Could compc work with ANT you think? - Original Message - From: "Renaun Erickson" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 21, 2005 11:30 AM Subject: [flexco

[flexcoders] Re: Using compc to make SWC from AS

2005-12-21 Thread Renaun Erickson
compc GUI Flash with Zinc would be a good use for making a GUI for the command line. If its all local you could do Flex to PHP/ColdFusion which then calls the command line, but this is not as portable. Depending on your purpose you could setup a external tool in eclipse that makes the call also,

Re: [flexcoders] Comparing complex objects

2005-12-21 Thread Niklas Richardson
Stacy, Did you come up with a solution for this? Just in need of something like this myself. Regards Niklas On 09/12/05, Stacy Young <[EMAIL PROTECTED]> wrote: Wondering how others would go about comparing instances of complexobjects while avoiding circular references and having flash exp

RE: [flexcoders] Something like interop between two swf instances

2005-12-21 Thread Theodore E Patrick
Try the LocalConnection Class. Each SWF application can register as a listener and allow function calls between separate player instances. I used it extensively on an Instant Messaging application some years back and it works great. LocalConnection is a jewel! Ted ;) > -Original Message--

Re: [flexcoders] Interop between to instances of Flash-Player?

2005-12-21 Thread JesterXL
Also, prefix the connection name with "_"; like "_myMain"; for some reason, an underscore has less security, but I think domain rules still apply.   - Original Message - From: Clint Modien To: flexcoders@yahoogroups.com Sent: Wednesday, December 21, 2005 10:37 AM Subject: Re: [fle

Re: [flexcoders] Using compc to make SWC from AS

2005-12-21 Thread JesterXL
Yep, that's exactly what I did, just doing -root 3rd, but apparently parameter order doesn't matter. Pretty neat... curious how I can build a GUI for it. - Original Message - From: "Brian Deitte" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 21, 2005 12:04 AM Subject: RE: [flexcod

[flexcoders] Something like interop between two swf instances

2005-12-21 Thread sigges25
Hi! I need a way that two flex applications can communicate with eachotherss... Please no server-roundtrips or FlashCom... Is there a way on the client-side? Yahoo! Groups Sponsor ~--> Most low income homes are not online. Make a difference this

Re: [flexcoders] Interop between to instances of Flash-Player?

2005-12-21 Thread Clint Modien
http://livedocs.macromedia.com/flex/15/flex_docs_en/1421.htmOn 12/21/05, Sascha <[EMAIL PROTECTED]> wrote: Hi!   I am looking for a way that a flex .swf can communicate with another one in a different browser-window Does anybody know about a solution?   -- Fl

[flexcoders] Re: Flex MXNA Viewer using Cairngorm

2005-12-21 Thread joao_m_fernandes
--- In flexcoders@yahoogroups.com, Bruno Martins <[EMAIL PROTECTED]> wrote: > > Someone have this source? > > http://spbarber.com/blog/flex-mxna-viewer-using-cairngorm/ > Thanks in advance... > -- > Bruno Gustavo Martins > Cel: (11)9585-9587 > "The application has been submitted to IFBIN Flex by

[flexcoders] Interop between to instances of Flash-Player?

2005-12-21 Thread Sascha
Hi!   I am looking for a way that a flex .swf can communicate with another one in a different browser-window Does anybody know about a solution?   -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.

[flexcoders] Re: Data Grid headers

2005-12-21 Thread yaagcur
Thanks Joan. I'll look into that I was hoping there was something like a dataGridRow that you could put atop the grid with relevant properties like in an HTML but i guess if you put things like 'headertext' in the datagridcolumn that is a conflicting approach --- In flexcoders@yahoogroups.com,

[flexcoders] Flex MXNA Viewer using Cairngorm

2005-12-21 Thread Bruno Martins
Someone have this source?   http://spbarber.com/blog/flex-mxna-viewer-using-cairngorm/ Thanks in advance...-- Bruno Gustavo MartinsCel: (11)9585-9587 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.co

[flexcoders] dateField and selectableRange

2005-12-21 Thread yagogak
hi, i have a datefield on a view. on initialize of the datefield, i set a selectableRange, and it's working fine.  But on a next "show" of the view, with a different selectableRange object, the selectablerange does not change.    How can i re-do a initialize() on the datefield    thxateField id=

Re: [flexcoders] Text align in tab

2005-12-21 Thread P Trisnadi
I'm not sure if this will work, but you can try width="{label.width}" -- may not work, but worth the try...- ptrisnadi- Original Message From: Nithya R <[EMAIL PROTECTED]>To: flexcoders Sent: Mon Dec 19 22:24:28 2005Subject: [flexcoders] Text align in tab Hi   i tried the tab text a

Re: [flexcoders] Array declaration problem

2005-12-21 Thread Richard Hoska
the cfc is passing this back "foo", "morefoo", "evenmore", "etc"On 12/20/05, Tracy Spratt < [EMAIL PROTECTED]> wrote: What does the string look like?  You can use split() to create an array from a delimited string. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto: f

Re: [flexcoders] How do I know if a password is secure or not

2005-12-21 Thread Scott Langeberg
And transmit them via SSL (https://yourdomain.com).!!The SSL certificate is required for maximum security. Otherwise, someone can intercept the network packet and parse out the text that is sent to the server. If you don't care that much, then don't worry. ScottOn 12/20/05, [EMAIL PROTECTED] <[E

Re: [flexcoders] Bar Chart with Dates

2005-12-21 Thread Sreejith Unnikrishnan
Thanks Sreenivas, but isnt that a Flex 2.0 enhancement. I could not really find that in the 1.5 docs. I could be wrong. Regards Sree Sreenivas R wrote: You can use the DateTimeAxis for the horizontal axis and provide the start and end date fields as minField and xField properties.  

[flexcoders] flex drag drop aborting

2005-12-21 Thread Hasan Basri
hihow can i cancel( abort) the drag process in field of doDragDrop(event), before ending (terminating) the drag drop process???thanks. Yahoo! kullaniyor musunuz? Simdi, 1GB e-posta saklama alani sunuyorhttp://tr.mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/gro

Re: [flexcoders] Bar Chart with Dates

2005-12-21 Thread Sreenivas R
You can use the DateTimeAxis for the horizontal axis and provide the start and end date fields as minField and xField properties.   -Sreenivas  On 12/20/05, Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote: Hi, Can someone help me with a way to display a bar chart with floating bars depicting say

RE: [flexcoders] Re: How do you change the color of text in a label

2005-12-21 Thread Philippe Maegerman
I think it is rather myLabel.setStyle('color', 0xCFCFCF);   Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexhtooSent: lundi 19 décembre 2005 5:18To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: How do you change the color of text in

[flexcoders] Re: PopupWindow's MenuBar can't handle event if ...

2005-12-21 Thread sn197412
Hi. Here is a sample source of a component. http://www.macromedia.com/2005/mxml"; xmlns="*" height="400" width="400" panelAlpha="1.0" marginTop="0" marginLeft="0" marginRight="0" headerColors="[ #ff, #ff]" mouseDown="setTopMost(event)" >