RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
Thanks Alex I have tried what you suggested but the image is not displaying. I have added a text field into the custom component - this is displaying the correct value. But it is not displaying any image - just a broken image icon. Here is the code for my custom component: ?xml

RE: [flexcoders] Flex Developer Center example

2007-09-18 Thread Matt Chotin
We'll hopefully be posting source to that sample pretty soon. It should use states but it actually doesn't L From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke Sent: Monday, September 17, 2007 10:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex

[flexcoders] Custom AS3 component, on stopDrag, everything disappears?

2007-09-18 Thread mrand02
I have a draggable part of my component (that extends Panel, if it matters), that seems to work fine while dragging. I can click on the titleBar of the Panel and the Panel drags around the screen as you'd expect a draggable window to do, but after I release the mouse button and this function here

[flexcoders] httpservice and crud

2007-09-18 Thread nylarch
noob question alert.

Re: [flexcoders] Loading code from swf (instantiating classes from external swf)

2007-09-18 Thread Steve Mathews
You can use LoadModule, which might be the best way to go. But I am doing a AS3 only project (no flex framework) and am doing this using applicationDomain.getDefinition which works great. On 9/17/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 17 Sep 2007, [EMAIL PROTECTED] wrote: I tried

[flexcoders] Re: Buttons in Flex !

2007-09-18 Thread restlessdesign
I too have this issue and did some quick research. Would it be possible to use the transitions property of the Button class and pass in effects that way using its pre-defined states (upState, overState, downState, etc.)?

[flexcoders] Can I use Flex to create flash widgets? that are embedded in HTML/JS web-app?

2007-09-18 Thread Satish Kumar.M
I want to use Flex for creating chart widgets. and embed those widgets in another HTML/JS web-app. Can I use Flex for that? I dont want to create a full-blown Flex application. The whole app is HTML/JS with embedded Flash widgets for charting.. Can some one point me to any example please, which

[flexcoders] Alignment of SWF in HTML output

2007-09-18 Thread Michael Baird
I have a Flex app with a defined size of 1024x768. I'd like to be able to center this in the HTML page that it gets embedded in. I've tried editing the FlexBuilder-generated html index page to include a div, table, etc to try to get the SWF centered, but nothing seems to have any effect. What am I

Re: [flexcoders] Sandbox/Crossdomain problem on connecting Socket with webserver on port 6680

2007-09-18 Thread Rogerio Gonzalez
Yes, if I have access to the port 80. But in my case, I don´t have, because of that, I try to use the xmlsocket protocol, but it don´t work. Regards, Rogério On 9/17/07, Alex Harui [EMAIL PROTECTED] wrote: I think you want to load the policy file w/o a port so it uses a simple HTTP

[flexcoders] DelegateFactory

2007-09-18 Thread Sammi
Hi, Am am creating a Cairngorm app that needs to support the API of a number of similar online webservices. All the webservices supply the same functionality - just in a slightly different way. My idea is this. Use the FactoryPattern for the Delegates. So when a Command needs a delegate

RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Alex Harui
In the original post, you had 3 class vars You still need those. @Embed is compile time, so you have to embed the 3 images like you had it at first, then the code I showed will choose one of the three variables. From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: drag and drop an image object, over a list object

2007-09-18 Thread flashcrow2000
Indeed it is. I expected the DragEvent to have something similar. If someone needs this, it works like this: private function onDragDrop(event:DragEvent):void { trace(droped on:+List(event.target).calculateDropIndex(event)) } Thanks Alex --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL

[flexcoders] Re: Buttons in Flex !

2007-09-18 Thread restlessdesign
What if the transition is just a simple fade from one skin to the next. Does that make things any easier? The Button class has a transitions property, so why can't that be leveraged?

[flexcoders] How to change positions of Alert popups in SHOW_ALL mode

2007-09-18 Thread george_w_canada
In Flex the SHOW_ALL mode couldn't function correctly for default popups, like Alert. I didn't find a way to fit them in center of browser screen automatically. Occasional Alert popups (usually server side errors) not belong to any views so to make an customized version of Alert class will cost

[flexcoders] httpservice and crud

2007-09-18 Thread nylarch
noob question alert. Just starting on flex. I'm doing a simple CRUD page working with a calendar. Do I need to do seperate HTTPService components for the different CRUD operations or is it possible to dynamically pass in requests to one service since I'm doing all of the operations on

[flexcoders] Dynamic class name

2007-09-18 Thread learner
Hi all, How can we instantiate the object of the class when class name is dynamic. What I am trying to implement is something like this: var classArr= [mxmlcomp1, mxmlcomp2 ...] // array of class name (for var i:int=0;iclassArr.length;i++) { var compObj = new classArr[i] // something like

RE: [flexcoders] Alignment of SWF in HTML output

2007-09-18 Thread Alex Harui
Make sure you're wrapping the right thing. The object/embed tags are not used by most browsers. Also make sure your app appears centered at that size. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Baird Sent: Sunday,

RE: [flexcoders] Sandbox/Crossdomain problem on connecting Socket with webserver on port 6680

2007-09-18 Thread Alex Harui
Hmm, maybe I missed something here... Port 6680 is generally open? What does the crossdomain.xml file look like on the server at that port? What url are you using to open the socket? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Alex Harui
Hmm, didn't see that last time. Try this: mx:SWFLoader id=icon3 x=60 y=2 width=40 height=40 source={data[(DataGridListData(listData).dataField)]}/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Monday,

RE: [flexcoders] Dynamic class name

2007-09-18 Thread Alex Harui
getDefinitionByName From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: Monday, September 17, 2007 11:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamic class name Hi all, How can we instantiate the object

Re: [flexcoders] Adding buttons to an Accordion header

2007-09-18 Thread Doug McCune
I might try to do a full post about this soon, but you can try checking out the CanvasButton component in FlexLib. Basically this is a subclass of Button that works like Canvas, so you can easily add whatever children to it that you want. So you would use that to create your header renderer, which

RE: [flexcoders] Can I use Flex to create flash widgets? that are embedded in HTML/JS web-app?

2007-09-18 Thread Alex Harui
You can use Flex to create things not based on the Flex Framework and make really small swfs, but you can't make swcs that will work in Flash Authoring. To make small widgets and swfs, you can subclass Sprite. From: flexcoders@yahoogroups.com

RE: [flexcoders] Adding buttons to an Accordion header

2007-09-18 Thread Alex Harui
Yes, but you have to float buttons over the header. Someone may have done this already. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kundigee Sent: Monday, September 17, 2007 8:27 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Buttons in Flex !

2007-09-18 Thread Alex Harui
In theory you can do this in Moxie, but in 2.x, all you are seeing is an inherited prop that Button does not use. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of restlessdesign Sent: Monday, September 17, 2007 11:10 AM To:

RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
Thanks for the reply Alex. I do still have those 3 class vars but something still is not quite working. See my code listing below and you will see the 3 class vars From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: 18 September 2007 07:14 To:

RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
Further to my last post, I changed the header of the custom component to the following and now a broken image icon is appearing mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; implements=mx.controls.listClasses.IDropInListItemRenderer From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Dynamic class name

2007-09-18 Thread learner
Cool , Thanks On 9/18/07, Alex Harui [EMAIL PROTECTED] wrote: getDefinitionByName -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *learner *Sent:* Monday, September 17, 2007 11:28 PM *To:* flexcoders@yahoogroups.com

[flexcoders] Re: caching in Flex

2007-09-18 Thread seemaherein
Thanks Paul Tom I'm planning to implement server side cache. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: seemaherein [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, September 14, 2007 10:33 AM Subject:

Re: [flexcoders] Re: caching in Flex

2007-09-18 Thread Paul Andrews
Remember to have a way to turn the cache on and off - then you can measure how effective it is. Naturally, it takes time to fill a cache with enough results before it becomes effective. A server side cache is effectively saving you the time involved in a database query (for all clients), but

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
I also tried setting the source in the setter function as follows but still only a broken image public function set listData( value : BaseListData ) : void { _listData = value;

[flexcoders] Re: Loading code from swf (instantiating classes from external swf)

2007-09-18 Thread b_alen
Cheers guys, just one quick check, is it possible with these two methods: 1. I make an application and deploy it on the web. 2. You, knowing nothing about the application except the API I provide you, write the extension and submit it in form of swf on my server. 3. My application recognizes that

[flexcoders] Re: Changing code coloring in flex builder

2007-09-18 Thread Tom Chiverton
Seriously, that's how you change the color coding? That's wholly unacceptable from an accessibility standpoint if that's the only way to do it. :( I think it's fixed in Flex Builder 3. -- Tom Chiverton Helping to conveniently customize third-generation architectures on:

Re: [flexcoders] Flex Developer Center example

2007-09-18 Thread Tom Chiverton
On Tuesday 18 Sep 2007, [EMAIL PROTECTED] wrote: We'll hopefully be posting source to that sample pretty soon. It should use states but it actually doesn't L I'd rather see it without States, tbh. Why make it more complex than it needs to be ? -- Tom Chiverton Helping to autoschediastically

[flexcoders] Mdm software

2007-09-18 Thread Paul Tunnicliffe {mdm}
Hi all, Today is the penultimate day for getting 50% off all MDM software. To get your discount code, email paul (dot) tunnicliffe (at) multidmedia (dot) com with the subject header Flexcoders Discount. You will then receive a discount code that allows you to buy your half price software via

[flexcoders] Need ideas on how to load and save room descriptions in xml

2007-09-18 Thread oneproofdk
I'm looking for help on how to describe a physical room in a xml file - so I can draw it in a flex container later. The task is to be able to describe any room for, where there can be x walls and x angles. One room can be very simple, has 4 walls, no funny angles etc. Se illustration here :

[flexcoders] Getting error string in FaultEvent passed from Server side

2007-09-18 Thread Manu Dhanda
Hii I am unable to receive the error string passed from the Server side in the FaultEvent object. Am using HttpService. From Server side, am throwing an error string like: throw new ServletException(Some error string); Now, how can I receive it in the Flex private function

[flexcoders] Drag and Drop Files

2007-09-18 Thread Giles Roadnight
Hi All I want to build a Flex app to upload images for a gallery. Is it possible to select image files in My Computer for example and drag and drop them into flex? Ideally I'd like to drop them then display thumbnails of the images with an upload button. I'm expecting the answer to be no as

RE: [SPAM] [flexcoders] Drag and Drop Files

2007-09-18 Thread Paul Steven
You can definitely do this with Zinc and Flex as I am doing something similar at the moment. And as far as I am aware you can do this with Air / Apollo too. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight Sent: 18 September 2007 11:09 To:

[flexcoders] Panel with transparent content area

2007-09-18 Thread kramus0
Hi, I am struggle a bit with a really simple panel that I what to use as container for other components. This panel should have rounded corners and it should look like as if it contains no content area. If I set for instance the border thickness so high that it doesn't show the content area it

Re: [SPAM] [flexcoders] Drag and Drop Files

2007-09-18 Thread Giles Roadnight
Yes, I thought that doing it with AIR would not be a problem but I don't really want to go down that route. Is there any way you can drag and drop files into flex in a webpage? Thanks Giles. On 9/18/07, Paul Steven [EMAIL PROTECTED] wrote: You can definitely do this with Zinc and Flex as I

Re: [flexcoders] Panel with transparent content area

2007-09-18 Thread Michael Schmalle
Hi, Set the border thicknesses to 0 and the border will dissapear. Peace, Mike On 9/18/07, kramus0 [EMAIL PROTECTED] wrote: Hi, I am struggle a bit with a really simple panel that I what to use as container for other components. This panel should have rounded corners and it should look

[flexcoders] mouseDownOutside

2007-09-18 Thread joaopccoelho
I'm trying to get mouseDownOutside to work but to no avail. It does get triggered if there is only a component poped up but as soon as I pop up another one, it doesn't get triggered anymore, i.e., if I click on the first component the second should detect a click outside of it and vice-versa, but

Re: [flexcoders] Need ideas on how to load and save room descriptions in xml

2007-09-18 Thread Dan Todor
Linked list, with IDs and left-right neighbours. maybe ? On 9/18/07, oneproofdk [EMAIL PROTECTED] wrote: I'm looking for help on how to describe a physical room in a xml file - so I can draw it in a flex container later. The task is to be able to describe any room for, where there can be x

[flexcoders] charts: X axis with two Y axes?

2007-09-18 Thread barry.beattie
X axis with two Y axes: I realise it's actually combining two charts into one with a common X axis but any idea how? X-axis: months of the year Left Y-axis: total rainfall per month Right Y-axis: av daily temp each month. anyone seen an example of this built in Flex? thanx barry.b

[flexcoders] Re: charts: X axis with two Y axes?

2007-09-18 Thread barry.beattie
disregard. What I'm after is a chart with Secondary Axes. Ely has an example of just this sort of thing. pls forgive the noise.

[flexcoders] Re: insert / delete problems using FDS with hibernate

2007-09-18 Thread targo_05
Thanks a lot Jeff, I have fds 2.0.1 so maybe you are right. I'll try the latest version and turn on the debug on the server. I'll let you know the results, Carlos --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: Hi Carlos, First of all, if you are not

RE: [flexcoders] asdocs for as3 and ant files

2007-09-18 Thread Stephen Gilson
The build.xml file lets you use ant to build ASDoc for a subset of the Flex classes. If you have ant installed, you can use it by changing to the asdoc directory, and running the command 'ant'. You may have to edit the build.properties file or mxml-manifest file to remove references to the

[flexcoders] image / png -- roll on alpha?

2007-09-18 Thread grimmwerks
I've got an image I'd like to function almost as a button - rollovers would trigger an effect, and clicking would trigger a function. Trouble is, it's a rotated image; if I bring it in unrotated, it's got an alpha that seems to trigger both the rolls and the clicks; is there a way NOT

Re: [flexcoders] Sandbox/Crossdomain problem on connecting Socket with webserver on port 6680

2007-09-18 Thread Rogerio Gonzalez
In my case, I opened 6680 and 6677 for use 6680 to the webserver, and 6677 to the Telnet server. For connect, I am using: var mySocket:Socket = new Socket(subdomain.domain.com,6677) Regards, Rogério On 9/18/07, Alex Harui [EMAIL PROTECTED] wrote: Hmm, maybe I missed something here…

Re: [flexcoders] mouseDownOutside

2007-09-18 Thread Roman Protsiuk
What do you mean popped up? Is it modal pop up? Or what? R. On 9/18/07, joaopccoelho [EMAIL PROTECTED] wrote: I'm trying to get mouseDownOutside to work but to no avail. It does get triggered if there is only a component poped up but as soon as I pop up another one, it doesn't get

Re: [flexcoders] Need ideas on how to load and save room descriptions in xml

2007-09-18 Thread Adam Dorritie
On 9/18/07, oneproofdk [EMAIL PROTECTED] wrote: I'm looking for help on how to describe a physical room in a xml file - so I can draw it in a flex container later. The task is to be able to describe any room for, where there can be x walls and x angles. One room can be very simple, has

[flexcoders] rollover effect /mousedown reset

2007-09-18 Thread grimmwerks
Argh - also having a problem - I want to have the swf on rollOver, zoom a bit, rollOut, zoomback. Fine. But upon click, it should turn off this function -- and reset itself; course, this ain't working: import mx.effects.*; import mx.effects.easing.*;

[flexcoders] Re: Panel with transparent content area [Solved]

2007-09-18 Thread kramus0
Hi, I think I found the solution. If I set the backgroundAlpha to 0.4 is seems to be equal with with the panel border alpha and the content area it's not shadowed anymore. Here is my full mxml that worked - maybe somebody else can use it as well. :-) Regards Markus mx:Panel x=337 y=94

Re: [flexcoders] Need ideas on how to load and save room descriptions in xml

2007-09-18 Thread Giles Roadnight
How about a list of coordinates and alist of walls? wall id=A fromVertex=AE to Vertex=AB wall id=B x1=0 y1=5000 x2=4000 y2=5000 wall id=C x1=4000 y1=5000 x2=4000 y2=1500 wall id=D x1=0 y1=0 x2=3500 y2=0 wall id=E x1=3500 y1=0 x2=4000 y2=1500 (The angled wall) vertex id=EA x=3500 y=0 / vertex

[flexcoders] Re: Need ideas on how to load and save room descriptions in xml

2007-09-18 Thread oneproofdk
I like the idea on describing where a wall anchors! The task is to make some preconfigured templates, where the user will be able to see a drawing of the template with each wall identified by A B C... and then a corresponding text input box, where they can input the length of that wall. Obviously

[flexcoders] Re: Reduce size of my module! Really boring....

2007-09-18 Thread danielvlopes
Hello Alex, i read your presentation and try find ant in your blog and i found only this (http://blogs.adobe.com/flexdoc/2007/01/two_new_tools_flex_ant_tasks_a.html). In examples used in your application you share code between modules using a external AS class called SharedCode extends ModuleBase

[flexcoders] Embedded font not showing correctly

2007-09-18 Thread candysmate
I have embedded TTF Wingdings (although Windows has it named as WINGDING.TTF) with: @font-face { src:url(/assets/WINGDING.TTF); fontFamily: Wingdings; font-weight:normal; unicodeRange: U+2717-U+2717; } I wish to display the cross shown in this font chart as character 251:

[flexcoders] How to see if method is implemented in class

2007-09-18 Thread j_lentzz
Hi, I've got a problem I'm trying to resolve concerning validating a page before submitting it to the server. I have a way to recursively get each child on the page. However, I can't figure out a way to see if the child has the validate() method implemented. Most of the components are extended

[flexcoders] Vector graphics serialization format?

2007-09-18 Thread Borek
Hi all, is there some Flex-supported format for vector graphics serialization? I mean, I can use something like graphics.drawRect(1,2,3,4); graphics.drawEllipse(...); // etc. while I would appreciate something like rectangle x=1 y=2 width=3 height=4 etc. It would seems logical to me to have

RE: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Mike Krotscheck
You could have your custom components implement a custom interface like IValidatable that requires the validate() function, and then check whether the class implements that interface by using the following: if( yourComponent is IValidatable) { // Your code here } Michael

[flexcoders] Multiple operations on a webservice

2007-09-18 Thread quantum_ohm
Hello everybody ! I've been struggling with this for two days so if anybody would have any idea... I'm tryin' to convert a date with this format: 2007-09-06T10:00:00 to : 2007,09,06 the problem I have is not about the formatting (I can do it), but where/how to put the function which does it ???

Re: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Michael Schmalle
Hi, Put your calling code in a try{} catch{} block, then you will not get the RTE. try { someObject.validate(); } catche (e:Error) { trace(someObject.className, Has no validate() method); } There are a couple other ways but, this is pretty clean and gets the job done. Peace, Mike On

RE: [flexcoders] Launch links in different windoe from TextArea?

2007-09-18 Thread Alex Harui
See the doc for flash.text.TextField#htmlText From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arpan srivastava Sent: Tuesday, September 18, 2007 7:00 AM To: Flex Coders Subject: [flexcoders] Launch links in different windoe from

[flexcoders] Embedded font thing...

2007-09-18 Thread Ed Capistrano
Ideas? Got one! is there any substitute or alternative to webdings font? Second embed the whole characters! Ed proud happy member Send instant messages to your online friends http://uk.messenger.yahoo.com

[flexcoders] Get data from dragDrop repeater component.

2007-09-18 Thread Ary
Hi Guys, i have a component that accept dragDrop(trashBin) operation, and i put this component inside a repeater component (repetition for certain amount of existing data) along with the dragdrop operation, dragsource(FileData) has some value from an Array, i manage to get the value from the

RE: [flexcoders] Re: Reduce size of my module! Really boring....

2007-09-18 Thread Alex Harui
On my blog I used batch.scripts for Unix shells like CygWin, which does in fact work on Windows I don't have any ANT examples, but you can certainly use Ant Tasks. Your SharedCode module looks fine. Good luck, -Alex From: flexcoders@yahoogroups.com

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread ben.clinkinbeard
someComponent.validate == null Remember, methods are properties too. --- In flexcoders@yahoogroups.com, j_lentzz [EMAIL PROTECTED] wrote: Hi, I've got a problem I'm trying to resolve concerning validating a page before submitting it to the server. I have a way to recursively get each

RE: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Alex Harui
If (validate in someObject) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j_lentzz Sent: Tuesday, September 18, 2007 7:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to see if method is implemented in class Hi,

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread j_lentzz
Thanks for all the ideas! I'll see which one works best for my app. Thanks again, John --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If (validate in someObject) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread j_lentzz
What is the syntax to do this? Just using validate in myObject returns an error about validate being an undefined property. John --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If (validate in someObject) From:

RE: [flexcoders] image / png -- roll on alpha?

2007-09-18 Thread Alex Harui
Can we see the image? I'm not sure I understand. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Tuesday, September 18, 2007 5:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] image / png -- roll on alpha?

[flexcoders] Get data from dragDrop repeater component.

2007-09-18 Thread Ary
Hi Guys, i have a component that accept dragDrop(trashBin) operation, and i put this component inside a repeater component (repetition for certain amount of existing data) along with the dragdrop operation, dragsource(FileData) has some value from an Array, i manage to get the value from the

[flexcoders] embedded swf and button press?

2007-09-18 Thread grimmwerks
How can a flex app get an event from a swf? Is it like the old Director way of getURL?

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Alex Harui
I've lost track. Can I see the whole source and what your data objects look like? Dump out what is in data, dataField, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Tuesday, September 18, 2007 12:49 AM To:

RE: [flexcoders] Listening for all creationComplete() events

2007-09-18 Thread Brian Holmes
Gordon, application's initialize handler didn't work the way I hoped. There were still components being created that I was definitely not picking up when the application was starting. I was able to pick them up with an ADD_TO_STAGE capture listener from the systemManager and after words the

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread j_lentzz
What is the syntax to do this? Just using validate in myObject returns an error about validate being an undefined property. John --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If (validate in someObject) From:

Re: [flexcoders] Can I use Flex to create flash widgets? that are embedded in HTML/JS web-app?

2007-09-18 Thread Tony Alves
Try this article by Ted Patrick: http://www.onflex.org/ted/2007/08/fxwidget-flex-swf-swfobject-custom-html.php Satish Kumar.M wrote: I want to use Flex for creating chart widgets. and embed those widgets in another HTML/JS web-app. Can I use Flex for that? I dont want to create a full-blown

RE: [flexcoders] Re: Loading code from swf (instantiating classes from external swf)

2007-09-18 Thread Alex Harui
That's the goal of modules. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Tuesday, September 18, 2007 1:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Loading code from swf (instantiating classes from

RE: [flexcoders] Sandbox/Crossdomain problem on connecting Socket with webserver on port 6680

2007-09-18 Thread Alex Harui
So, where can we go to see the crossdomain.xml file? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rogerio Gonzalez Sent: Tuesday, September 18, 2007 5:42 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

[flexcoders] How could I access a component from a skin

2007-09-18 Thread Carlos Rovira
Hi, I'm trying to change the focusSkin based in some variables in my custom component. The problem is how could I access from the updateDisplayList method to the component instance to retrieve the values in the variables. I was searching a way , and I don't get it. Anyone knows how could I do

[flexcoders] Add methods to RemoteObjects with ActionScript

2007-09-18 Thread rleuthold
Hi there, Does somebody know how to create and add methods to RemoteObjects in ActionScript ? In mxml i do it like this. mx:method name=getData result=getDataHandler(event) fault=faultHandler(event) / ... must be possible to do it in AS ... I couldn't find something in the doc's ... With

[flexcoders] Re: mouseDownOutside

2007-09-18 Thread joaopccoelho
Sorry forgot to explain that part, both components created with PopUpManager.createPopUp() but are not modal. --- In flexcoders@yahoogroups.com, Roman Protsiuk [EMAIL PROTECTED] wrote: What do you mean popped up? Is it modal pop up? Or what? R. On 9/18/07, joaopccoelho [EMAIL PROTECTED]

[flexcoders] Validating items in DataGrids

2007-09-18 Thread j_lentzz
Hi, I'm now trying to validating the contents of a datagrid and I was wondering if there is an established way to do this. It seems like I would need to get an instance of the itemEditor and somehow pass it the value on that row. Then I would either call a validator against that editor, or call

Re: [flexcoders] Re: Buttons in Flex !

2007-09-18 Thread Troy Gilbert
What if the transition is just a simple fade from one skin to the next. Does that make things any easier? The Button class has a transitions property, so why can't that be leveraged? As Alex mentioned, the transitions property won't help you. But, if all you want is a simple fade from one

RE: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Gordon Smith
if (validate in someObject) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Tuesday, September 18, 2007 8:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] How to see if method is implemented in class If

RE: [flexcoders] Add methods to RemoteObjects with ActionScript

2007-09-18 Thread Brian Holmes
var ro : RemoteObject = new RemoteObject(); var op:Operation = ro.getOperation(myOperationName); var token : AsyncToken = op.send(); I don't think you create them, once you create a remote object in action script you can just an operation

[flexcoders] Re: Reduce size of my module! Really boring....

2007-09-18 Thread danielvlopes
Ola Alex, I obtained to compile using ant with using link-report and load-extern together with rsl. My buidl.xml is this: ?xml version=1.0 encoding=UTF-8? project name=PainelAdmApp default=compile property name=flex.mxmlc location=C:\Arquivos de programas\Adobe\Flex Builder

RE: [flexcoders] Re: Reduce size of my module! Really boring....

2007-09-18 Thread Alex Harui
I would recommend dumping link reports from the modules and examining them to see what they share. If there's a significant amount of stuff or there are singleton managers or styles, they should go in the sharedcode module pretty much like the version you've showed herer.

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread j_lentzz
Ok. I see now. Very nice. Thanks a bunch. John --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: if (validate in someObject) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Tuesday,

RE: [flexcoders] Re: mouseDownOutside

2007-09-18 Thread Alex Harui
Probably need to show some code or a test case. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joaopccoelho Sent: Tuesday, September 18, 2007 9:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mouseDownOutside Sorry

RE: [flexcoders] Listening for all creationComplete() events

2007-09-18 Thread Alex Harui
systemManager will pick up app children plus popups and their children. Not sure why initialize handler wasn't soon enough From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian Holmes Sent: Tuesday, September 18, 2007 8:29 AM To:

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread Doug Lowder
Technically, if you plan to call the method wouldn't you also want to verify that it's a function? Something like: if (validate in someObject someObject[validate] is Function) I suppose it might depend on the possible instance types of someObject. --- In flexcoders@yahoogroups.com,

[flexcoders] Can't style a cursor with CSS, can you?

2007-09-18 Thread ben.clinkinbeard
Pretty sure its not possible but just looking for confirmation. Since CursorManager.setCursor() expects a class I assume thats the only way. Correct? Thanks, Ben

[flexcoders] Removing children when they have no id

2007-09-18 Thread donvoltz
Hi everyone, I am using the following code to dynamically add a number of labels to a panal. for each (var item:XML in dataStream){ var someLabel:Label = new Label(); someLabel.text = item..title; addChild(someLabel); } This works well, however, I am now up against a problem. Each of these

[flexcoders] multiple effects in one state transition

2007-09-18 Thread grimmwerks
I thought I could do this, but now it's throwing errors: mx:Transition fromState=_posterState toState=_learn mx:WipeRight duration=500 targets={[_paper_back, _paper_grid, _topleft_tape,_dv_tape]]} / mx:Parallel

[flexcoders] Re: Buttons in Flex !

2007-09-18 Thread scalenine
Like Alex mentioned, this will be something you'll be able to do in Flex 3. I've done it using the Flex Component Kit, Flash CS3 and Flex 3 to replicate what George Comninos demoed at 360Flex: http://www.colettas.org/?p=150 http://cruxy.com/stores/pubstoreDetailVideo.jsp?id=11450 It was pretty

RE: [flexcoders] Removing children when they have no id

2007-09-18 Thread Gordon Smith
Make someLabel an instance var of your component or application rather than a local var inside a method. An MXML tag declared with an id causes simply such an instance var to be autogenerated by the MXML compiler. - Gordon From: flexcoders@yahoogroups.com

RE: [flexcoders] Removing children when they have no id

2007-09-18 Thread Alex Harui
I'd keep an array of labels. But you can search as well by testing if getChildAt(i) is Label From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of donvoltz Sent: Tuesday, September 18, 2007 10:21 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Can't style a cursor with CSS, can you?

2007-09-18 Thread Michael Schmalle
Thats why for all of my custom components and managers I created a new CursorManager that wraps the mx one. In each of the managers or components I have; /* * The move cursor skin for the MoveManagerFX. */ moveCursorSkin:Embed(source=moveCursor.png); /* * The move

Re: [flexcoders] Adding buttons to an Accordion header

2007-09-18 Thread Doug McCune
Aight, check this out: http://dougmccune.com/blog/2007/09/18/using-complex-headers-with-the-flex-accordion/ Doug On 9/17/07, Doug McCune [EMAIL PROTECTED] wrote: I might try to do a full post about this soon, but you can try checking out the CanvasButton component in FlexLib. Basically this

  1   2   >