[flexcoders] Re: SWC generates server error

2005-04-27 Thread eerkmans
great, thanks a lot ! the error is fixed now. Not many people work with SWC components it seems, so if you don't mind I'm asking you this other question that I havedo you happen to know why my SWC's screw up my flex interface? I've posted this problem as well: When I place my SWC file

[flexcoders] custom skins for flex button

2005-04-27 Thread eerkmans
Hi, I've got a problem with using custom skins in a flex button. I'm using the code below to export a flex button as an SWC component. This works fine, but when you give the button a width of, say 100 pixels, the corners get stretched out because it's just a single graphic symbol that is

[flexcoders] menubar event handling

2005-04-27 Thread nithya karthik
hai i have a menubar which contains a list of categories.. I want a tile of images to be displayed beneath the menubar on click of a particular menuitem.. the images have their source in an external XML file.. how should i do this? I am new to flex so kindly help me with this regards,

[flexcoders] URL/URI of my mxml page

2005-04-27 Thread Dzafer
Hi there, How can I retrieve the URL (or URI) string of my opened mxml page? Best regards, Dzafer Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your

RE: [flexcoders] URL/URI of my mxml page

2005-04-27 Thread Abdul Qabiz
You can use _url property of mx.core.Application.application to find the complete url of current mxml/swf file. In http://myserver/test.mxml mx.core.Application._url would return http://myserver/test.mxml.swf -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent:

RE: [flexcoders] menubar event handling

2005-04-27 Thread Abdul Qabiz
Hi Nithya, You can handle the change event of MenuBar. In change event, you can load xml file and show the images in TileList or some other components. ##MenuBarChangeEventExample.mxml## mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; backgroundColor=#FF mx:Script

RE: [flexcoders] how to add multi-language feature in flex page?

2005-04-27 Thread Abdul Qabiz
Hi, You can use ResourceBundle written by Benoit Hediards (http://groups.yahoo.com/group/flexcoders/message/8730) Also look at some of the possible ways, which Manish has put together on his blog (http://www.mannu.info/blog/2005/04/resource-bundles-in-flex.html) -abdul -Original

[flexcoders] Vertical Text- is it possible?

2005-04-27 Thread nithya karthik
Hai! I want the text to be aligned vertically like: S H O P P I N G Is it possible with flex? If yes, how? regards, nithya Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Groups Links To visit your group on the web, go

RE: [flexcoders] Data Model

2005-04-27 Thread Abdul Qabiz
Model is compile time object, which means you can only mention source on compile time. If you want to load different XML on runtime, you should use HTTPService instead. What I understand from your code is, you are loading an xml into a Model and binding Model to MenuBar's dataProvider. Following

RE: [flexcoders] Vertical Text- is it possible?

2005-04-27 Thread Abdul Qabiz
Hi Nithya, It's not there by default, but you can do it by keeping one character per line in a Label or TextArea or TextInput. You can write a simple VerticalLabel component that would do it for you. For example: Look code below or find attached files. Hope that helps -abdul 1)

RE: [flexcoders] binding error - from Flex?

2005-04-27 Thread Tom Fitzpatrick
Tracy - thanks for the suggestion. My problem is that I'm not really changing anything, just making a copy of the whole app folder, renaming it, and trying to compile it again from the new folder - so I don't really know where to put the extra code. I'm ready to try the file deletion

[flexcoders] Using Remoting with Flex and ColdFusion CFCs - Part 1

2005-04-27 Thread Dirk Eismann
Hi all, I just finished the first part of a series of articles that show how to use RemoteObjects with Flex and ColdFusion CFCs. The first part deals with the basic setup and how to use CFCs as unnamed and named RemoteObjects:

[flexcoders] Bounce effect-toggle effect

2005-04-27 Thread nithya karthik
hai! just try running the following code.. Actually it should make a vbox bounce from right to left on click and then bounce back to right.. but it doesnot.. It doesnot bounce back it only keeps moving left on evry click.. can u find where i have gone wrong? regrds, nithya ?xml version="1.0"

[flexcoders] problems with dropShadow

2005-04-27 Thread Duccio Del Ministro
Hi, i have a problem with dropShadow inside a component. In my class contructor i added an event listener: addEventListener( mouseDown, Delegate.create(this,myMouseDownHandler) ); My event listener (located in the same class) looks like this: public function myMouseDownHandler(event) :

[flexcoders] pop up window

2005-04-27 Thread nithya karthik
hai! I have a tile with images which on mouseover displays a vbox beneath.. I want a panel or a title window to pop up on click of the image.. the window must popup right over the image.. How should i do this? pls help me with some code.. ?xml version="1.0" encoding="utf-8"? mx:Application

[flexcoders] Newby: How to use Manage Sites

2005-04-27 Thread Libby Chantel
I'm new to Flex and keep having trouble with the Manage Sites thing in flexbuilder, so I was hoping someone could explain how MM intended for it to be used. I am doing flex tutorials and for each new tutorial, I am forced to create a new site. Then fb doesn't seem to remember it the next time I

[flexcoders] DataGrid Cell Validation

2005-04-27 Thread viraf_bankwalla
Hi, I have a datagrid with a cellrenderer. It does validation, however we would like prevent the user from moving to a new cell unless the validation has passed. How could I do so. Thanks. - viraf Yahoo! Groups Links * To visit your group on the web, go to:

[flexcoders] Setting icons in Buttons

2005-04-27 Thread rockmoyosa
I'm creating an array with Buttons, then a set the label and icon. When i display them, I only see the label and not the icon!! I tried: var buttonArray = new Array(ar_documents.length); for(var i=0;ibuttonArray.length;i++){ buttonArray[i] =

[flexcoders] Event Listeners; Flex internal question for flex gurus

2005-04-27 Thread AC
Hello I have a control which dynamically changes a given control (TextInput to ComboBox and visa versa) depending on the user selection. This happens numerous times within the life time applications lifetime. The dynamically created control gets event-listeners attached to it. When this

Re: [flexcoders] DataGrid Cell Validation

2005-04-27 Thread Jim Laing
The only way I think this would be possible is to use a subclassed DataGrid: You would override setFocusedCell() to check validation and stay if not valid.Otherwise, call super.setFocusedCell() Jim On 4/27/05, viraf_bankwalla [EMAIL PROTECTED] wrote: Hi, I have a datagrid with a

Re: [flexcoders] Vertical Text- is it possible?

2005-04-27 Thread Matthew Shirey
I'd like to know if there's a simple way to rotate a label placed on a canvas? M.On 4/27/05, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi Nithya,It's not there by default, but you can do it by keeping one character perline in a Label or TextArea or TextInput. You can write a simpleVerticalLabel

[flexcoders] Re: DataGrid Column updates

2005-04-27 Thread viraf_bankwalla
I ended off calling setValue on the column headerCell to update the header, and am triggering a modelChanged updateAll to get the grid to redraw. I will try setting the headerText and the invalidate() again in case I made an error. - viraf --- In flexcoders@yahoogroups.com, Matt Chotin

RE: [flexcoders] Bounce effect-toggle effect

2005-04-27 Thread Jason Szeto
Nithya, All effect triggers, like mouseDownEffect are styles. You need to access them using getStyle and setStyle. Instead of basketPanel[mouseDownEffect] = basketMoveRight; Use basketPanel.setStyle(mouseDownEffect, basketMoveRight); Jason From:

RE: [flexcoders] binding error - from Flex?

2005-04-27 Thread Tracy Spratt
The generated files I am talking about are under ..[flex-root]\WEB-INF\flex\generated| folder in the Flex server. There are several folders with generated names. It is safe to delete them. If you get the 32k error on one server but not another, that really sounds like a boundary condition. Try

RE: [flexcoders] Newby: How to use Manage Sites

2005-04-27 Thread Tracy Spratt
Below is an explanation of sites from an MM authority. The upshot is you want to have one site that corresponds to your Flex server. I have no experience with remote server setups. *** If you have nested sites, then sometimes Flex Builder will have trouble figuring out which site a

RE: [flexcoders] Re: DataGrid Column updates

2005-04-27 Thread Matt Chotin
If it works stick with it J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Wednesday, April 27, 2005 8:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGrid Column updates I ended off calling setValue on the column

RE: [flexcoders] Vertical Text- is it possible?

2005-04-27 Thread Abdul Qabiz
Yeah, you can use Label's _rotation property. But you would need to embed the font if you want to rotate a Label,TextInput or TextArea.. For example: ##RotateLabel.mxml## mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=425 height=400 mx:Style @font-face {

RE: [flexcoders] Setting icons in Buttons

2005-04-27 Thread Abdul Qabiz
Hi, Try defining newsIcon variable in application scope instead of inside a loopThat's is something I doubt... Compiler embeds the asset in the swf and assigns the symbol name(linkageID) to the variable. Since this variable is a local variable, it might not be working... Like:

Re: [flexcoders] Vertical Text- is it possible?

2005-04-27 Thread Matthew Shirey
Thanks, thats just what I needed! M.On 4/27/05, Abdul Qabiz [EMAIL PROTECTED] wrote: Yeah,you can use Label's_rotation property. But you would need to embed thefont if you want to rotate a Label,TextInput or TextArea..For example:##RotateLabel.mxml##mx:Application xmlns:mx=

RE: [flexcoders] Re: SWC generates server error

2005-04-27 Thread Roger Gonzalez
I think someone else already posted the answer. The Flash version of the framework classes are different than the Flex version. You need to register the Flex version of the classes into Flash (this is complicated, but see the docs, they're pretty extensive on this). All SWCs in your libpath

RE: [flexcoders] custom skins for flex button

2005-04-27 Thread Roger Gonzalez
Assuming you are compiling that component code in Flex, [Embed(source='your.swc', symbol='falseUp')] var falseUpSkin:String; the value after embedding will be as if you typed your version (the parse tree is modified). Yes, you could put the symbol name in explicitly, but the compiler won't

[flexcoders] MovieClip and Flex question

2005-04-27 Thread pilby1
I'm new at using movieclips with Flex, so if I may ask a basic question please. I'm trying to make a movieclip appear in my flex application, but for some reason, it's not working. Here is my code in the initialize handler of my flex app: var mcSplash = new MovieClip();

RE: [flexcoders] Newby: How to use Manage Sites

2005-04-27 Thread Sho Kuwamoto
I asked some of the folks from the Flex Builder team, and here's what I found out: * You should define a site for each "server", such as http://localhost:8700/flex/, or http://localhost:8700/samples/ * If you have multiple projects on each server, (i.e., multiple flex apps within /flex/

[flexcoders] FCS NetStream with Flex

2005-04-27 Thread kaibabsowats
I am trying to learn how to use FCS with Flex's mx:MediaPlayback. I can get it to play a Streaming FLV by just attaching a rmtp:// url to the setMedia function. But how do I then work with NetStream's onStatus events as NetStream is not used at all. How do I get the events from FCS about

RE: [flexcoders] MovieClip and Flex question

2005-04-27 Thread Roger Gonzalez
I'm new at using movieclips with Flex, so if I may ask a basic question please. I'm trying to make a movieclip appear in my flex application, but for some reason, it's not working. Here is my code in the initialize handler of my flex app: var mcSplash = new MovieClip();

[flexcoders] Re: FCS NetStream with Flex

2005-04-27 Thread kaibabsowats
Misspelled rmtp its suppose to be rtmp://fcsserver/application/instance/some.flv --- In flexcoders@yahoogroups.com, kaibabsowats [EMAIL PROTECTED] wrote: I am trying to learn how to use FCS with Flex's mx:MediaPlayback. I can get it to play a Streaming FLV by just attaching a rmtp:// url

[flexcoders] Segue is First to Provide Performance Testing Support for Macromedia Flex

2005-04-27 Thread Tarik Ahmed
Segue is First to Provide Performance Testing Support for Macromedia Flex; SilkPerformer Optimizes Performance of Flex Applications, Ensuring a Positive User Experience LEXINGTON, Mass.--(BUSINESS WIRE)--April 27, 2005--Segue Software (NASDAQ-SCM: SEGU), the leader in software quality

RE: [flexcoders] binding error - from Flex?

2005-04-27 Thread Tom Fitzpatrick
Tracy - thanks. Deleting the generated files did the trick. - Tom At 12:19 PM 4/27/2005, you wrote: The generated files I am talking about are under ..[flex-root]\WEB-INF\flex\generated| folder in the Flex server. There are several folders with generated names. It is safe to delete them. If

RE: [flexcoders] MovieClip and Flex question

2005-04-27 Thread Abdul Qabiz
If you want to know why we can't create an object of MovieClip using 'new' operator? This technote is worth reading: http://moock.org/asdg/technotes/movieclipDatatype/ -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005

[flexcoders] where to place a subClassedComponent.as file ?

2005-04-27 Thread sanjayd
I have subclassed 'DataGrid' to create my own class (this code resides in a file called 'FilterableDataGrid.as'): class acControls.FilterableDataGrid extends mx.controls.DataGrid { . . . } then, I use this class in my mxml file, like this: ?xml version=1.0 encoding=utf-8? mx:Application

RE: [flexcoders] where to place a subClassedComponent.as file ?

2005-04-27 Thread Matt Horn
I believe the class has to be in a sudirectory acControls. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjayd Sent: Wednesday, April 27, 2005 3:02 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Trying to grab handle to a child in a canvas

2005-04-27 Thread kredding.geo
I am having trouble grabbing a handle to a child inside a canvase. All children are created by using createChild myCanvas.createChild(mx.controls.TextArea,newTxtFld+i, {x:xLoc, y:yLoc}); I have a button that when pressed, I am trying to grab a handle to the last

RE: [flexcoders] Trying to grab handle to a child in a canvas

2005-04-27 Thread Tracy Spratt
That argument to createChild is not the same as the Flex id. Instead, add the id after you create the child var newChild:Object = myCanvas.createChild(.. newChild.id = newTxt+oldi; I believe that will work. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] NetStream instance in Media Components

2005-04-27 Thread kaibabsowats
Is there a instance of NetStream or PlayerNetStream in the Media Components? If not does the Media Components create some instance of the NetStream or PlayerNetStream some where else? The closest thing to FCS and Flex is: http://coenraets.com/viewarticle.jsp?articleId=90 In his

[flexcoders] SynergyFLEX Framework Presentation.

2005-04-27 Thread Scott Barnes
Hi All, Thought this *may* be of interest (shamless self-plug), but tommorow I am showcasing a framework I have been working on in FLEX. Its been given the name SynergyFLEX and hopefully others may find it of use. You can attend this presentation via http://www.macromedia.com/go/anzcommunity/

RE: [flexcoders] SynergyFLEX Framework Presentation.

2005-04-27 Thread Matt Chotin
Will it be recorded? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 4:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SynergyFLEX Framework Presentation. Hi All, Thought this *may* be of interest (shamless

RE: [flexcoders] NetStream instance in Media Components

2005-04-27 Thread Matt Chotin
Hmm, in the code I wrote the start event generally fired right around the time things were ready to go. Even if I called play(someNon0Time) start would fire when the buffer had reached the point that I was ready to play (I think). The instance is very buried in the code and not

RE: [flexcoders] flexwidth= flexhieght=

2005-04-27 Thread Gordon Smith
width=100% height=100% - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 6:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flexwidth= flexhieght= Now that flexwidth has been depreciated I am having

[flexcoders] Re: how to add multi-language feature in flex page?

2005-04-27 Thread loveewind
great ,thank you --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, You can use ResourceBundle written by Benoit Hediards (http://groups.yahoo.com/group/flexcoders/message/8730) Also look at some of the possible ways, which Manish has put together on

RE: [flexcoders] Bounce effect-toggle effect

2005-04-27 Thread nithya karthik
Thanks a lot. It worksJason Szeto [EMAIL PROTECTED] wrote: Nithya, All effect triggers, like mouseDownEffect are styles. You need to access them using getStyle and setStyle. Instead of basketPanel["mouseDownEffect"] = "basketMoveRight"; Use

[flexcoders] Is there a javascript flashObj.callFunction(), like setVariable?

2005-04-27 Thread Tracy Spratt
Title: Is there a javascript flashObj.callFunction(), like setVariable? Using javasript in a custom HTML wrapper, Is there flashObj.callFunction(), like there is a setVariable() method? Or will setVariable() work with a setter method? (Hmm, surely I can create a setter in mxml, right?)

RE: [flexcoders] Is there a javascript flashObj.callFunction(), l ike setVariable?

2005-04-27 Thread Matt Chotin
Title: Is there a javascript flashObj.callFunction(), like setVariable? I believe youre only allowed to call setVariable. And yes you can create a setter and do it that way. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Wednesday, April

RE: [flexcoders] Is there a javascript flashObj.callFunction(), l ike setVariable?

2005-04-27 Thread Abdul Qabiz
Hi Tracy, There is no callFunction(..) like method for flash activeX or plugin. But there is setVariable(..) method. Yes, you can set a variable or setter from Javascript using setVariable function. I have create a example, it allows you to execute flex function from javascript... It's very