[flexcoders] Re: CRUD in XML

2007-01-08 Thread devisbalsemin
tanks for your help but it's possible to write xml only with ActionScript Thanks again for your help devis --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Look at this example. > > http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI > D=5

[flexcoders] netstream.publish in flexbuilder 2

2007-01-08 Thread arturotremendoni
Hello all! I have a (hopefully) minor problem in a flash media server - based Flex 2 app i'm writing. According to the FMS livedocs, the way to stop publishing a netStream on a netConnection to a FMserver is to call the publish method with false as a parameter. [ that is, netStream.publish(fa

RE: [flexcoders] indexed array of associative array: ideas to add elements to associative array?

2007-01-08 Thread Tracy Spratt
If I am understanding your question correctly: myData[0].series3 = value; Another way to think of an associative array is as a dynamic Object. Do you mean you need to search the indexed array to find the element where dataType == 3? You'll just need to do that in a for loop. Tracy

RE: [flexcoders] CRUD in XML

2007-01-08 Thread Tracy Spratt
Look at this example. http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI D=544 Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of devisbalsemin Sent: Saturday, January 06, 2007 7:49 AM To: flexcoders@yahoogr

[flexcoders] indexed array of associative array: ideas to add elements to associative array?

2007-01-08 Thread tinkiknit
Hello... Stuck on another issue here. Searched the archive but I didn't really see anything that I could use using AS3.0. I am quite a newbie to AS3.0, not a newbie to programming, but I'm stumped since I haven't done much with associative arrays. Here is what I have: indexed array of associat

RE: [flexcoders] Is it possible to have an invisible component?

2007-01-08 Thread Tracy Spratt
Absolutely. You can instantiate any custom AS class using a tag. The AS class need not extend anything, but often you will want event dispatching and such. The tag will probably have to be at the top-level, since the standard containers will not be set up to allow it as a child. Tracy

[flexcoders] Ending an Effect

2007-01-08 Thread David Steele
Hi, I'm applying the zoom effect to multiple UIComponents on a canvas. If I move the mouse quickly off one zoomed component and onto another, sometimes the first will not reverse to its original size. I believe this is because the isPlaying flag is true if *any* instances of the effect are curr

[flexcoders] 2.01 bug - Bug cutting text in the MXML editor with code folding on.

2007-01-08 Thread Daniel Wabyick
I just ran into a bug with the MXML editor when code folding is on. Just filed the bug, but I thought I would send this out to see if a) others have the issue, b) there appears to be a workaround. The bug occurs when cutting text in the MXML editor. To reproduce: 1) Create a new mxml app: http:

[flexcoders] Re: Flex and Maven2 managed project

2007-01-08 Thread Shailesh Mangal
I am planning to use Maven for my new flex project. Wondering if someone can share their experience of using maven folder structure, POM file, todo and not todo items, limitations etc -sxm --- In flexcoders@yahoogroups.com, Oliver Lietz <[EMAIL PROTECTED]> wrote: > > Am Montag, 18. Dezember 2006

Re: [flexcoders] FLV Thumbnail

2007-01-08 Thread Andrew D. Goodfellow
John, I don't do it in AS. I always process the flv on the fly (with caching of course) with an open source tool called ffmpeg ( http://sourceforge.net/projects/ffmpeg/) and load the thumbnail via url just like an external image. It's tricky to get it working, but once you do it works wonderfully

[flexcoders] [Inspectable] Function type

2007-01-08 Thread chuvakgu
Hi all, I want to add some [Inspectable] properties that are Functions. I also want to ensure that these are not just any functions, but functions that take arguments of specific types and have certain return type. How would I go about it?

[flexcoders] Dragging Custom Components?

2007-01-08 Thread s_hernandez01
Hey all, I have a datagrid and I put a custom component of a button on one column. The problem I have is setting the drag initiator... I programmed an AS3 function to set the initiator and when I insert the mouseDown property to call the function I get the error "Call to a possibly undefined metho

[flexcoders] Possible to use custom variables in flex library path?

2007-01-08 Thread Collin Peters
When adding a SWC to the "Library Path" in the project settings I would like to be able to use a variable similar to the ${FRAMEWORKS} variable. Our developers may have the code to the application in different spots and it would be handy to define an Eclipse level variable such as ${APP_SRC} to I

RE: [flexcoders] Re: Compiling modules

2007-01-08 Thread Roger Gonzalez
Just make a new project. You'll need to change the root tag from to for a MXML project, or change the base class of an ActionScript project from flash.display.Sprite to mx.modules.ModuleBase because FlexBuilder doesn't know about modules directly. (There is some odd asymmetry in the FB project

RE: [flexcoders] Re: Compiling modules

2007-01-08 Thread Brian Holmes
Would it be possible to post an example of how to use the mx.modules? I would assume that you add a instead of the Application tag and it would get compiled And then in your shell application you use the tag to point to your module. Is this correct or am I way off. I can't get it to work eithe

RE: [flexcoders] Dynamic LineChart; no line showing

2007-01-08 Thread Ely Greenfield
If you can post an example that doesn't require the server, I might be able to help. Try capturing the result into a variable in the application, and see if your example works that way. If it still doesn't work, post the sample and we can go from there. Ely. ___

Re: [flexcoders] remoting problemen after 2.0.1 installation

2007-01-08 Thread Simeon Bateman
Need to add an empty --context-root "" parameter to your compiler arguments. Take a look at this post http://weblogs.macromedia.com/flexteam/archives/2007/01/migrating_to_20.cfm simeon On 1/7/07, Webdevotion <[EMAIL PROTECTED]> wrote: I'm having problems connecting from any AS3 project si

RE: [flexcoders] Re: Ely's example of ItemRenderer cause tooltip to be always orange

2007-01-08 Thread Ely Greenfield
That's right. Ely. [esg] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vigen2000 Sent: Friday, January 05, 2007 4:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Ely's example of ItemRenderer cause tooltip to be al

[flexcoders] fds initialization sequence - chatadapter using hibernate

2007-01-08 Thread passive_thoughts
I have a custom chat adapter that uses hibernate to log all chat messages to the db. I use a hibernate.cfg.xml file that binds the hibernate SessionFactory to jndi (in jboss). On initialization of the chat adapter, it grabs the sessionfactory from the jndi and opens a new session. Took me a whil

Re: [flexcoders] Re: Docs included in 2.0.1 are broken

2007-01-08 Thread Dave Carabetta
That links work actually. You just have to remove the period at the end of it. Regards, Dave. Cynergy Systems, Inc. On 1/8/07, DannyT <[EMAIL PROTECTED]> wrote: Thanks Randy, although the link is currently not found. Dan On 08/01/07, jrunrandy <[EMAIL PROTECTED] > wrote: > > If you are

[flexcoders] Re: Use nested arraycollection in object as dataprovider

2007-01-08 Thread jamckinn2001
Needed to provide the entire arrayCollection as the dataProvider like this: "{mycustomer.customer_invoices[2].invoice_payments}"

Re: [flexcoders] Since flex 2.0.1

2007-01-08 Thread John Kirby
Dave - Thanks. I have solved my problems thanks to this link: Not sure this is only a Mac issue but I uninstalled then reinstalled and everything worked except I had to chan

[flexcoders] which fds to use on Max OSX?

2007-01-08 Thread fuad_kamal
sorry if this sounds like a dumb question, but really I'm still a newbie on Mac platform - the install docs for fds 2.0.1 says there's a java installer (cross platform) for fds - but on the downloads page the options are AIX, HP_UX, Linux, & Solaris. Which version should we be trying to run on Ma

[flexcoders] Google search and list of sites

2007-01-08 Thread Kenneth Sutherland
It's not really possible to search for flex 2 sites using Google so I was thinking that it would be great for flex developers to have a list of as many sites out there that allow you to see the source code. I know that there are a few examples on the adobe site, but I'd like to see more. Does any

RE: [flexcoders] Re: Docs included in 2.0.1 are broken

2007-01-08 Thread Stephen Gilson
There is a period at the end of that URL. Try this one: http://www.adobe.com/go/flex_documentation_zip Stephen From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of DannyT Sent: Monday, January 08, 2007 10:18 AM To: flexcoders@yahoogroups.com S

Re: [flexcoders] Re: Compiling modules

2007-01-08 Thread Oleg Filipchuk
Matt, thank you for clearing this issue. The Multiple-project model looks more convenient for me. But there is a question about One-project model - it looks like we can't have modules files in the folders as for Flex Builder it isn't possible to treat any mxml file placed anywhere except the root

Re: [flexcoders] Re: Docs included in 2.0.1 are broken

2007-01-08 Thread DannyT
Thanks Randy, although the link is currently not found. Dan On 08/01/07, jrunrandy <[EMAIL PROTECTED]> wrote: If you are not using Flex Builder, which has all Flex docs in the Help system, you can get a local copy of the Flex docs by downloading the ZIP file (~45 MB) at http://www.adobe.com/

RE: [flexcoders] Remoting after 2.0.1

2007-01-08 Thread Peter Farland
http://weblogs.macromedia.com/flexteam/archives/2007/01/migrating_to_20. cfm#more From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Webdevotion Sent: Monday, January 08, 2007 3:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Remoti

Re: [flexcoders] flexbuilder 2.0.1 css editor support

2007-01-08 Thread Paolo Bernardini
Thanks Igor, I knew it worked for as and mxml files but I used to press // in order to see code hint in css file, I thought I tried once and didn't work I guess I hit the wrong key ;). Anyway CTRL+SPACE works fine, thanks a lot On 1/8/07, Igor Costa <[EMAIL PROTECTED]> wrote: Paolo To su

[flexcoders] Flex 2.0.1: links to new feature documentation

2007-01-08 Thread Matt Horn
Here are direct links to the documentation in Flex 2.0.1 for major new features. This really should have made it into the SDK, Flex Builder, and FDS Release Notes. I think it's safe to say we'll get it right next time. :) *** SDK 2.0.1 new features ASDoc tool - http://livedocs.macrome

Re: [flexcoders] Max OS X Flex Builder 2.01 License Issue

2007-01-08 Thread Adam Dorritie
On 1/7/07, Joost Nuijten <[EMAIL PROTECTED]> wrote: > > Yeah, I agree. It's a bit outdated. This is what I found on the Adobe site: > I'm wondering how many folks are in my position. Adobe is kind enough to permit me to install the Flex Builder 2 with Charting software on my home computer as well

[flexcoders] How to pass an array argument to a web service? please help?

2007-01-08 Thread kieuhdung
Hello everybody, I want to pass an array (eg : a String array) to concat method of a web service as the following code : var ar : Array = new Array(); ar.push("Hello"); ar.push("World"); WS.concat(ar); // WS is correctly initialized and tested with other methods. But in the captured message SOA

Re: [flexcoders] Re: Docs included in 2.0.1 are broken

2007-01-08 Thread DannyT
http://www.adobe.com/support/documentation/en/flex/ seems to do the job :) On 08/01/07, DannyT <[EMAIL PROTECTED]> wrote: Thanks Randy, although the link is currently not found. Dan On 08/01/07, jrunrandy <[EMAIL PROTECTED] > wrote: > > If you are not using Flex Builder, which has all Flex

[flexcoders] FLV Thumbnail

2007-01-08 Thread john_69_11
I'm trying to generate an image thumbnail of an FLV and can't seem to find any way to do it. Only thing that people seem to be doing is creating a player for the flv, then pausing and stopping the stream - I want to grab an image of the one of the flv frames. I found a piece of code here: http:/

Re: [flexcoders] Since flex 2.0.1

2007-01-08 Thread Dave Carabetta
John, This link should give you all the info you need as far as what is changed and fixed in the new release: http://www.adobe.com/support/documentation/en/flex/2/releasenotes_flex201_sdk.html Further, and I'm not saying it will definitely fix your problems, but you may want to make sure you do

RE: [flexcoders] Possible bug introduced in 2.0.1

2007-01-08 Thread João Fernandes
No Igor, it’s not what I want, what I want is to add a control Bar in the new state. If you take a look at my code, from initial state to the newstate, I add a ControlBar to Panel1 and a button to the controlBar. For now I have a workaround, creating a controlBar in my initial state with no

Re: [flexcoders] Possible bug introduced in 2.0.1

2007-01-08 Thread Igor Costa
Isn't a bug or something related to. I did some wrong way or the Design mode did. Here's a re-done code of yours, I used the Design mode too. http://www.adobe.com/2006/mxml"; layout="absolute"> Regards. O

Re: [flexcoders] Since flex 2.0.1

2007-01-08 Thread John Kirby
I don't know the cause of these errors but I have my own recompile errors since moving to 2.0.1 (Mac). It would be nice if someone from Adobe would post documentation on what has changed in the API since the last release so we can all debug our "legacy" applications. I for one have an applic

RE: [flexcoders] Re: Compiling modules

2007-01-08 Thread Matt Horn
There is no explicit project type for modules in Flex Builder 2. To create a module in Flex Builder, you treat the module as an MXML application and compile it. There are two basic approaches: 1) One-project model: Create the modules in the same project as your application and add them to the ap

Re: [flexcoders] Customized NumericStepper

2007-01-08 Thread Daniel Freiman
checkValidValue() is marked private which means you can only access that function from within the same class as that function. As far as your subclass is concerned, the function doesn't exist which is why you are getting that error. Take a look at: http://livedocs.macromedia.com/flex/201/html/0

[flexcoders] Re: Compiling modules

2007-01-08 Thread brice.gervais
--- In flexcoders@yahoogroups.com, "phillips1021" <[EMAIL PROTECTED]> wrote: > > Great question. I've run into the same problem. How do you use Flex > Builder to compile just the module? > > The only work-around I've found so far is to right-click on the module > name in the navigator panel and

[flexcoders] Re: Docs included in 2.0.1 are broken

2007-01-08 Thread jrunrandy
If you are not using Flex Builder, which has all Flex docs in the Help system, you can get a local copy of the Flex docs by downloading the ZIP file (~45 MB) at http://www.adobe.com/go/flex_documentation_zip. This contains usage docs in PDF format and reference docs in ASDoc format. HTH Randy

[flexcoders] Re: RangeError: Error #2006 using menu !

2007-01-08 Thread droopyflex
the bug still remain in 2.0.1 update ! --- In flexcoders@yahoogroups.com, "Deepa Subramaniam" <[EMAIL PROTECTED]> wrote: > > Hello - > > > > We fixed a few bugs where this was happening in Menu and MenuBar. We were not correctly adding and removing the child menu instances to the SystemManager

Re: [flexcoders] flexbuilder 2.0.1 css editor support

2007-01-08 Thread Igor Costa
Paolo To support code Hint in the lastest version fo Flex 2.0.1 in External CSS file, just press like in 2.0, CTRL+SPACE after your tag or class you want to declare. Here's a short example of that Application { press CTRL + SPACE } Panel { press CTRL + SPACE } .myStyle { press CTRL+SPACE }

RE: [flexcoders] Re: Flex2 - Where to start

2007-01-08 Thread Dimitrios Gianninas
Ya if you come from just coding ASP/VBScript those 2 technologies ain't going to help learn OOP, they are really bad for that. Perhaps what you need is a beginners Java class to teach the OOP basics and that will make eveyrthing come to light when using ActionScript. I'm sure you can find some

[flexcoders] Possible bug introduced in 2.0.1

2007-01-08 Thread João Fernandes
Hi there, I was using states to introduce a controlBar inside a panel but once I switch states, my buttons are not positioned correctly but somewhere else. Here is a small code to reproduce the problem. This code was generated with design view. If you click on the first button to switch s

[flexcoders] Re: Rotating mx:Label is not working for me...any ideas??

2007-01-08 Thread tinkiknit
Deleting the bold reference for the fontWeight worked! my label showed up! Thanks! Christine

Re: [flexcoders] flexbuilder 2.0.1 css editor support

2007-01-08 Thread Robert W
I found that fb conflict with WTP css editor (WTP is eclipse subproject). But i can't use wtp css editor, not flex. Maybe eclipse log show you answer. rw Paolo Bernardini wrote: > I noticed that under flexbuilder (either stand-alone or plug-in > version) preference/Flex/Editors, in version 2.0 t

Re: [flexcoders] Re: Compiling modules

2007-01-08 Thread Oleg Filipchuk
Exactly, it isn't so hard to compile modules with command line, but it's all about the general usability of Flex Builder. Why it isn't properly documented? Or they think that one page about compiling modules using mxmlc is enough? There is no mention about compiling modules just inside of FB witho

[flexcoders] mx.controls.Image and AS

2007-01-08 Thread Janis Radins
hey ppl! I'm trying to build some project in Flex but I'm running into problems when I try to use Image component in pure AS'ish way. Somehow i tend to believe that http://localhost/image.gif"/> Should do completely the same as image = new Image(); image.source = "http://localhost/icon_users.gif"

[flexcoders] Remoting after 2.0.1

2007-01-08 Thread Webdevotion
I'm having problems connecting from any AS3 project since I installed 2.0.1 today on my localhost. Can anyone give me some pointers ? Working with CFMX 7.0.2. Tnx !

[flexcoders] Re: proxy callproperty problem

2007-01-08 Thread Webdevotion
My problem still stands, anyone ?

[flexcoders] local-trusted sandbox vs. "use-network"

2007-01-08 Thread mixersoft
I'm new to Flex and reading the docs now. I'm trying to build a desktop-client photo viewer app in flex that allows users to seamlessly view local JPGs and selectively upload to the web. At the same time, they should also be able to view JPGs already uploaded to the web. I know I want to deploy m

[flexcoders] togglebuttonbar and styles

2007-01-08 Thread Michelle Grigg
Greetings, I have a toggle button bar where some buttons need to be styled one way, and the rest styled another (ie, first 4 in a bar of 10 must have a blue background, while the rest should be yellow). The problem is, even though these styles are getting applied to the button (I've verified this

[flexcoders] Since flex 2.0.1

2007-01-08 Thread maikelsibbald
I've updated today to flex 2.0.1 And now I suddenly get these errors? doe anybody know what the problem is. TypeError: Error #1009: Cannot access a property or method of a null object reference. at org.panda.gpn.view.workspace.results::OverView/__admin_sort_xml_collectionChange()

[flexcoders] Since flex 2.0.1

2007-01-08 Thread maikelsibbald
I've updated today to flex 2.0.1 And now I suddenly get these errors? doe anybody know what the problem is. TypeError: Error #1009: Cannot access a property or method of a null object reference. at org.panda.gpn.view.workspace.results::OverView/__admin_sort_xml_collectionChange()

[flexcoders] Re: Compiling modules

2007-01-08 Thread phillips1021
Great question. I've run into the same problem. How do you use Flex Builder to compile just the module? The only work-around I've found so far is to right-click on the module name in the navigator panel and select Run As Flex Application. This command will create a .swf and .html files for the

[flexcoders] Compiling modules

2007-01-08 Thread Oleg Filipchuk
Hi, I have problem to compile module components. Maybe that's a trivial procedure but I do not know how to compile a particular module. I've made new project ModuleTest. There is moduletest.mxml application. And after I've create 2 modules components in the folder "modules". After that I have trie

Re: [flexcoders] RPC Pro's and Cons

2007-01-08 Thread Tom Chiverton
On Saturday 06 January 2007 18:57, Clint Modien wrote: > If you're just looking for RemoteObject support then there''s WebORB Pro > for 2K / phsyical. ColdFusion supports RemoteObject from Flex, as does PHP/Java. These may be free (PHP certainly is, for instance, and there are free/cheap CFML eng

Re: [flexcoders] Re: Flex 2 for Mac Release Coming Within 7 Days

2007-01-08 Thread Marcelo de Moraes Serpa
Hi Tom, Have you tried the various free offerings out there already ? Which one are you referring to? Marcelo. On 1/8/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: On Saturday 06 January 2007 12:09, Marcelo de Moraes Serpa wrote: > I'm on Ubuntu right now and I would be willing to pay the p

Re: [flexcoders] Re: Flex 2 for Mac Release Coming Within 7 Days

2007-01-08 Thread Tom Chiverton
On Saturday 06 January 2007 12:09, Marcelo de Moraes Serpa wrote: > I'm on Ubuntu right now and I would be willing to pay the price for a > native Linux version of Flex2 and Flash9 IDE as I don't really feel like > using Windows again. Have you tried the various free offerings out there already ?

Re: [flexcoders] flexbuilder 2.0.1 css editor support

2007-01-08 Thread Paolo Bernardini
I noticed that under flexbuilder (either stand-alone or plug-in version) preference/Flex/Editors, in version 2.0 there was Css Code, but now with version 2.0.1 it's gon and we only have ActionScript code, design code and mxml code. In 2.0 version when you were working with external css file, you c

Re: [flexcoders] Re: Flex 2 Updater Available for Download

2007-01-08 Thread Tom Chiverton
On Saturday 06 January 2007 00:55, Mac Martine wrote: > I have reported the broken link. For now, go to the same page, then click > ŒTrial Version¹ under ŒFlex Downloads¹ in the right-hand column. While we're on the subject, the downloaded SDk file doesn't give any indication its 2.0.1 as opposed

[flexcoders] Prevent canvas/container from resizing to content?

2007-01-08 Thread jerome_cordiez
Hello, well, the question is in the title^^... Is it possible to fix a canvas size so that it **doesn't** resize to its content? cheers, J.

[flexcoders] sort datagridcolumn on numeric field

2007-01-08 Thread amigo_fd
Hello, it looks like all data in a datagrid is treated as text. So if you sort a column with only numeric fields it is sorted on the value of the textual contect, instead of the numeric value, like this: 1095 111 1276 144 ... I already converted my webservice-result to numbers at loading, but sor

[flexcoders] Flex 2.0.1 on Eclipse 3.2.1 - cool

2007-01-08 Thread Angus Johnson
Hi All, I've just blogged notes that I took during my run through of setting up Flex Builder 2.0.1 with Eclipse 3.2.1. http://allthego.com. It might be helpful to someone. I am very happy to say that the 20 odd Flex projects that I had in Eclipse 3.1 all imported and compiled in Eclipse 3.2 with

<    1   2