Re: [flexcoders] updating an item renderer

2009-03-02 Thread claudiu ursica
The way I see it all the the item renderer is there only for display purposes. All the sock retrievals goes in to the provider, rr I mean the model which feeds the list provider. If you use binding the list will automatically display that changes. Now here-s something we do to avoid object c

RE: [flexcoders] Passing params (flashvars) to sub-applications

2009-03-02 Thread Tracy Spratt
This works fine for me, perhaps you are doing something wrong? Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Monday, March 02, 2009 7:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing params (flashva

RE: [flexcoders] Re: Sending POST requests to php script??Help

2009-03-02 Thread Tracy Spratt
You can, but you have to use Actionscript, not declarative mxml. Build the request object in an AS function, something like this: var oRequest:Object = {first:modelName.name.first, last:modelName.name.last, email:modelName.name.email} srv2.send(oRequest); and remove the entire tag. This

Re: [flexcoders] static function and getDefinitionByName

2009-03-02 Thread Sefi Ninio
It has a few private static members, and a few public static getter functions that manipulate the private members (no arguments on any of the functions). Nothing out of the ordinary. I get the fully qualified class name, and the static getter to be executed - at run time via XML. I use the class n

[flexcoders] flexlib and subversion

2009-03-02 Thread arieljake
i'm new to subversion, so i need some help understanding how to do this: I want to attach my local source to the flexlib repository on google code so i can detect changes to the library, but also... I want to attach my local source of flexlib to my own projects repository so that other developers

[flexcoders] Re: Was feedback on publishing poems, embedding images

2009-03-02 Thread brucewhealton
In the example I discussed recently, about publishing poems online using flex, I used images to hold the actual text of the poem. I thought initially, not sure why, that I had to use that to ensure the layout of the text. Obviously there are ways to use a '\n' to force a newline. However, let'

[flexcoders] Re: Feedback and ideas re: publishing a collection of poems

2009-03-02 Thread brucewhealton
I saw this component somewhere that had a poem that scrolled slowly automatically, like you would if you read a page and it doesn't all fit in the window, such as with this window where I am typing this. Now, if there was an automatically scrolling feature, it would be important for a reader to b

Re: [flexcoders] HandCursor (pointing version)

2009-03-02 Thread Sam Lai
I'm not sure that they look the same cross-platform and/or cross-browser. But if you're on Windows, they're in C:\Windows\Cursors. There's probably some app out there that converts .cur files to .pngs. 2009/3/3 djhatrick : > I am having bugs with handCursor, where can i find that little pointer >

[flexcoders] Actionscript question

2009-03-02 Thread elevight
I have created an empty actionscript class, and I'm trying to use metadata to change the background color: package { [SWF(backgroundColor="#ff")] import flash.display.Sprite; public class SampleClass extends Sprite { public function S

[flexcoders] Passing params (flashvars) to sub-applications

2009-03-02 Thread Richard Rodseth
I'm experimenting with loading sub applications using SWFLoader. I've read numerous posts about this, but for the life of me can't figure out how to pass flashvars to the sub application. In particular, the technique described here (the second one) doesn't work for me http://stackoverflow.com/ques

RE: [flexcoders] LCDS: Potential LCDS bug - Commit on one DataService(assembler), commits dirty data of another unrelated DataService

2009-03-02 Thread Jeff Vroom
It really sounds like somehow the DataStore's for each DataService are the same though, I don't see how they could have different "uids" in that case.Can you turn on the ? That should show what is happening... you can send that to me offlist (jvr...@adobe.com) and

[flexcoders] Re: Sending POST requests to php script??Help

2009-03-02 Thread fprihoda
I don't want to bind the object. The {...} was suggested in a previous post. I don't understand why I can't reference the object's value in the HTTPService request. Frank --- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > But you are using Object, and Object is not bindable and you ar

Re: [flexcoders] Modules Communication

2009-03-02 Thread Guy Morton
Have you read the section "Using interfaces for module communication" in the docs? That's been working for me.

Re: [flexcoders] jQuery for Flex - a Behavior Injection Framework

2009-03-02 Thread Sean Clark Hess
@Sam, Thanks for adding that link. Guess I shouldn't try to do fancy html emails for the first time when making important announcements :) @Michael - Thanks! I wouldn't say it would be a decaf *version* of anything :) It's supposed to play friendly with application frameworks. On Mon, Mar 2, 200

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-03-02 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, "Amy" wrote: > A quick scan of your code isn't revealing to me what you changed. > Could you add in comments that show where you've modified it? I'm getting close. I've got the lines graphing, but each line is on a different axis (I'll attach the code below).

RE: [flexcoders] Modules Communication

2009-03-02 Thread Alex Harui
Model-View (MV) or MVC architecture. The modules reference a central data model Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of thelordsince1984 Sent: Mo

RE: [flexcoders] static function and getDefinitionByName

2009-03-02 Thread Alex Harui
What does the class definition look like? I’m pretty sure I’ve used this successfully. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Sefi Ninio Sent:

RE: [flexcoders] Compressed swf

2009-03-02 Thread Alex Harui
The first bytes of a SWF will never be PK. A SWC will, but not a SWF. SWFs produced by Flex are compressed, but cannot be de-compressed by ZIP. Depending on how you built your SWF, there might be different sets of classes or classes that will be loaded via RSL and therefore not in the main SWF.

[flexcoders] Re: updating an item renderer

2009-03-02 Thread Amy
--- In flexcoders@yahoogroups.com, "flexrookie" wrote: > > hi amy, > the manager class approach is interesting, and sounds safe from a > memory-management perspective. thanks! > > you also wrote: > > > You could potentially set up your itemRenderers to > > register/unregister for these events i

[flexcoders] Help with a smarter custom LabelRenderer

2009-03-02 Thread sbeausol
Hello- I've been able to successfully implement Ely's Custom LabelRenderer for my own purposes (Custom LabelRenderer ) however I was hoping to make it smarter. In my app, I have a Line Chart with my primary piece of data being modified L

Re: [flexcoders] Re: Can't seem to get Myriad Pro to encode in Flex

2009-03-02 Thread Michael Wills
Hi Adrian, Did this ever get worked out? And by any chance did you publish your swf font to Flash 8? I seem to remember the docs saying Flex uses Flash 8 for swf fonts. I'll have to look that up to be sure if that's a requirement though. Oh and Flex can only transcode TTF files so yeah, OTF

Re: [flexcoders] jQuery for Flex - a Behavior Injection Framework

2009-03-02 Thread Michael Wills
I like the possibility of using it with Mate/Cairngorm. So then it would be the decaf versions of mate/cairngorm? :-) Seriously though this is quite cool. Sam Lai wrote: I think you forgot the link (or my phone's playing tricks with me). http://code.seanhess.net/?p=156 Nice work btw. I'm goi

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread Amy
--- In flexcoders@yahoogroups.com, "flexrookie" wrote: > > not an answer to my question, but a follow up for new itemrenderer > coders. i just changed my implementation of the renderer from a canvas > to a UIComponent, following alex harui's performance recommendation. Some suggestions: 1) Use

Re: [flexcoders] jQuery for Flex - a Behavior Injection Framework

2009-03-02 Thread Sam Lai
I think you forgot the link (or my phone's playing tricks with me). http://code.seanhess.net/?p=156 Nice work btw. I'm going to have to think about how it fits in with Flex and my current workflow, but I'll give it a shot in my new project :) On 3/3/09, Sean Clark Hess wrote: > jQuery for Flex

Re: [flexcoders] tree control finding patent node

2009-03-02 Thread Vivian Richard
thanks a lot!! On Mon, Mar 2, 2009 at 1:34 PM, Jim Hayes wrote: > This actually from a change event, but an itemClicked one is very > similar ... > (It presumes that you use xml as the dataprovider for the tree, and > listen for the event by adding 'change="onTreeChange(event)"' in your > tr

RE: [flexcoders] tree control finding patent node

2009-03-02 Thread Jim Hayes
This actually from a change event, but an itemClicked one is very similar ... (It presumes that you use xml as the dataprovider for the tree, and listen for the event by adding 'change="onTreeChange(event)"' in your trees attributes ) private function onTreeChange(event:ListEvent):void { var t

[flexcoders] tree control finding patent node

2009-03-02 Thread hworke
Hi, in a tree control if a leaf node if clicked how do I find out which folder it belongs to or which node is its parent? Regards...

Re: [flexcoders] Re: Help the Flex Team by taking our survey!

2009-03-02 Thread Guy Morton
in the multiple choice questions. it's not that it's wrong per se, just not very intuitive. On 03/03/2009, at 4:52 AM, Matt Chotin wrote: Which questions do you see that? On 2/28/09 9:43 PM, "Guy Morton" wrote: it doesn't accept something in the "other" section to be an answer in so

[flexcoders] LCDS: Potential LCDS bug - Commit on one DataService(assembler), commits dirty data of another unrelated DataService

2009-03-02 Thread Rajeev Goel
hi All, I am facing a weird issue in LCDS 2.6. There are two unrelated entities A and B, i.e. they dont' have any relationship defined in data-management-config.xml My application is MDI based and consists of multiple mini-apps. Steps: 1. User opens miniapp for entity A, makes it dirty, don't sa

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread flexrookie
not an answer to my question, but a follow up for new itemrenderer coders. i just changed my implementation of the renderer from a canvas to a UIComponent, following alex harui's performance recommendation. here's the updated renderer code (big thanks to peter ent's renderer post at http://weblog

[flexcoders] Compressed swf

2009-03-02 Thread smitade
swf files appear to be compressed - headers start with PK. I was comparing the swf filesizes of different flex frameworks Cairngorm, Mate, PureMVC, etc and found significant differences. Cairngorm, for example, was down to 11 KB. How does one compress your swf down to this size.

[flexcoders] jQuery for Flex - a Behavior Injection Framework

2009-03-02 Thread Sean Clark Hess
jQuery for Flex - a Behavior Injection Framework [...] I’ve just finished my pre-alpha version of a Behavior Injection framework for Flex. It adds support for functionality similar to jQuery for flex, along with support for a more complete CSS syntax. The approach

Re: [flexcoders] Re: Help the Flex Team by taking our survey!

2009-03-02 Thread Alan K
It all worked great for me. Alan

Re: [flexcoders] Re: Help the Flex Team by taking our survey!

2009-03-02 Thread Matt Chotin
Which questions do you see that? On 2/28/09 9:43 PM, "Guy Morton" wrote: it doesn't accept something in the "other" section to be an answer in some cases, which is a bit counter-intuitive. On 01/03/2009, at 10:01 AM, djhatrick wrote: Matt, i had a problem with the survey, it wouldn't le

[flexcoders] Re: updating an item renderer

2009-03-02 Thread flexrookie
hi amy, the manager class approach is interesting, and sounds safe from a memory-management perspective. thanks! you also wrote: > You could potentially set up your itemRenderers to > register/unregister for these events in the set data() > override for your renderer. -- can i ask, how would you

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread flexrookie
thanks amy, i found that info confirmed by alex harui's famous itemrenderer post, under recycling, here: http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html ~flexrookie --- In flexcoders@yahoogroups.com, "Amy" wrote: > > --- In flexcoders@yahoogroups.com, "flexrookie" wro

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread flexrookie
ok, new code, this time with IDs on dataProvider items for tracking. yes, i know there's no direct renderer-to-provider relationship. i now realize that the extra renderer instance is created for measurment (according to alex harui). but i'm still looking for an explanation on the multiple set data

[flexcoders] HandCursor (pointing version)

2009-03-02 Thread djhatrick
I am having bugs with handCursor, where can i find that little pointer png. So I can make my own cursor I would just clip one out of a screenshot, but screenshots hide the mouse :(

[flexcoders] Hand Cursor on Flex Menu

2009-03-02 Thread Parkash
Hello everyone, I am trying to add hand cursor on Flex menu can anyone guide me how to do this. Here is my code snippet. reportMenu = Menu.createMenu(null, xmlReportMenu, false); //reportMenu = Menu.createMenu(null, CMMModelLocator.getIns

[flexcoders] Re: Binding property of object in dataProvider

2009-03-02 Thread gwangdesign
Hi Garth, Thanks very much for the lead. I am currently following the "anonymous" object advice but would like to investigate more ObjectProxy approach later once I have more time. Just another quick question. It seems both approaches entail serializing objects in Flash Player at client side. Whi

[flexcoders] Rotate a custom Marker icon with Google Maps Flex API

2009-03-02 Thread Jean H. Chandler
Greetings ladies and gentlemen of Flex, My name is Jean. I'm something of a Flex newby, though I've done a few small Flex Apps successfully which are in deployment. Right now I'm trying to do a project involving the Google Maps API. Currently I have the API working in Flex, I'm testing out th

[flexcoders] Re: Image scaleContent="false" causes Security Sandbox Violation in AIR 1.5.x

2009-03-02 Thread Shigeru Nakagaki
Thanks, Alex :)

[flexcoders] Re: How to retrive info send as HashMap in ActionScript using blazeds RemoteObject

2009-03-02 Thread yossi.baram
Ok, I solved the issue, just by itterating through the Object key's and values's, Thanks --- In flexcoders@yahoogroups.com, "yossi.baram" wrote: > > Hi helper, > I Have a class in java and one of its properties is: > > private Map upperColumnHeaders; > > public HashMap getUpperColumnHeader

[flexcoders] How to retrive info send as HashMap in ActionScript using blazeds RemoteObject

2009-03-02 Thread yossi.baram
Hi helper, I Have a class in java and one of its properties is: private Map upperColumnHeaders; public HashMap getUpperColumnHeaders() { return upperColumnHeaders; } public void setUpperColumnHeaders(HashMap upperColumnHeaders) { this.upperColumnHeaders = upperColumnH

Re: [flexcoders] Passing parameter to swf

2009-03-02 Thread Adrian Williams
Hi Chandru, This is actually pretty easy...one the swfLoader.source, simply add the traditional "?" and "&" tabs to the source with the values you want to pass...then in your called swf, you access the passed values via the document.parameters.valueName i.e. Main App: var swf:SWFLoader

RE: [flexcoders] Passing parameter to swf

2009-03-02 Thread Kenneth Sutherland
You should check out this video tutorial http://www.webkitchen.be/2008/12/12/video-tutorial-make-flex-components- with-flash-cs4/ . Note I've tried doing this sort of stuff in CS3 and the exact same code can sometimes work and other times fail in CS3, and I do mean the exact same code. But since

Re: [flexcoders] flex component kit

2009-03-02 Thread Simon Bailey
All links are broken except Flex component kit on: http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex_skins e.g. http://www.adobe.com/go/flexskin_flash On 17 Jul 2008, at 19:06, Matt Chotin wrote: http://www.adobe.com/go/flex3_skinning Matt On 7/17/08 11:01 AM, "[p e r c e p t i c o

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread flexrookie
> ~flashrookie -- er... flexrookie (flash masta!) ; )

[flexcoders] Re: Menubar sub menu pop up orientation

2009-03-02 Thread Sefi Ninio
Hmm... No-one can think of a way? I have tried everything I can think of, but nothing makes the menu bar open upwards instead of downwards... I am desperate! Any help would be greatly appreciated. Thanks, Sefi On Sun, Mar 1, 2009 at 9:38 AM, Sefi Ninio wrote: > Bump... > > Anyone? > > > On Th

Re: [flexcoders] static function and getDefinitionByName

2009-03-02 Thread Sefi Ninio
Hi Alex. I actually tried that, it doesn't work... On Mon, Mar 2, 2009 at 8:13 AM, Alex Harui wrote: >ClassRef[“staticFunctionName”]() > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc. > > Blog: http://blogs.adobe.com/aharui > > > > *From:* flexcoders@

[flexcoders] Passing parameter to swf

2009-03-02 Thread chandruflex
Hi, I have a requirement where I have to send a String value as a parameter to a swf (created from Flash). If this is possible, can anybody let me know how this can be done? Example Usage: I want an animated button like thing in Flex. I would be given an swf file created in Flash, which looks lik

[flexcoders] Streaming media files over RTSP

2009-03-02 Thread chandruflex
Hi, I have a requirement to stream video files over the RTSP (Real Time Streaming Protocol), and display in the VideoDisplay component in Flex. Is the RTSP supported in Flex? - Chandru

[flexcoders] Modules Communication

2009-03-02 Thread thelordsince1984
Hi, suppose that i have a main application. The main application has plus panel, created at runtime, and every panel can load or unload a specific module.In ths scenario how can i achieve the communication between modules? Any suggestions? thanks in advance Lorenzo

Re: [flexcoders] Re: image snapshot in flex

2009-03-02 Thread Rob Kunkle
Err...sorry that was a typo. I've had trouble sending jpeg images to the server UNLESS they are base64 encoded. I'd like to send the data from the bytearray directly to the server, but for some reason it seems that flash is only allowing the first four bytes that identify the binary as a

Re: [flexcoders] Re: Getting ByteArray.uncompress() to work in Flash - looking for an example tex

2009-03-02 Thread David Adams
On Mon, Mar 2, 2009 at 5:13 PM, Bjorn Schultheiss wrote: > ASCompress supports GZIP > http://code.google.com/p/ascompress/ Thanks very much for the link, I've downloaded the code to experiment with. I have now managed to sort out that my server-side encoder is adding 5 bytes in front of the zipp