[flexcoders] Flex Module for IIS and Apache

2007-03-19 Thread John Barrett
Hi,
I am wondering if anybody has tried to install the flex module for IIS  Apache 
here.
I tried it on my mac with apache, but I could not get it to work.
I had some problems installing it, and I wonder if anybody could offer some 
help.

Here is some of the issues, basically the module writen in the hppd.conf file 
can't find the /flex/modules/mod_flex.so file.

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72catid=639threadid=1251889enterthread=y

Thanks,
John


  
 





 

Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/

2007-03-19 Thread Angus Johnson

no wavering on my part! ...though you might need to supply some Berocca at
your BOF Andrew ;)

On 19/03/07, Andrew Muller [EMAIL PROTECTED] wrote:


  And don't forget that both Mike Downey and Mike Chambers are
presenting an Apollo opening keynote at webDU here in Sydney on
Thursday so if you're in Australia and wavering perhaps now is the
time to book those tickets...

On 18 Mar 2007 22:32:26 -0700, Matt Chotin [EMAIL 
PROTECTED]mchotin%40adobe.com
wrote:







 give it a few hours before you start commenting on broken links, they're
 still working out some kinks :-) but have fun!

 
 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
 Behalf Of Bjorn Schultheiss
 Sent: Sunday, March 18, 2007 10:31 PM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: Re: [flexcoders] Apollo Now Live on Labs |
 http://labs.adobe.com/technologies/apollo/





 oh yeah boy!





 On 19/03/2007, at 3:54 PM, greg h wrote:







 http://labs.adobe.com/technologies/apollo/










--
--
Andrew Muller
http://www.webqem.com
 



Re: [flexcoders] My First Apollo App...fubar

2007-03-19 Thread Andrew Muller
1am!! It's 6pm Down Under - you're keen Brett, have fun with it mate -
I'm about to jump on a plane here but I'll keep an eye out for a
little bit longer.

On 18 Mar 2007 23:58:29 -0700, Brett [EMAIL PROTECTED] wrote:






 Andrew,

  Ahh thanks for the reply, works great now. I can continue on your
  article now, even though its 1am :)
  


-- 
---
Andrew Muller
http://www.webqem.com


Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/

2007-03-19 Thread Andrew Muller
Hehe, perhaps that's something that Mr Barnes could also offer to supply...

On 19 Mar 2007 00:01:50 -0700, Angus Johnson [EMAIL PROTECTED] wrote:






 no wavering on my part! ...though you might need to supply some Berocca at
 your BOF Andrew ;)

 On 19/03/07, Andrew Muller  [EMAIL PROTECTED] wrote:
 
 
 
 
 
 
  And don't forget that both Mike Downey and Mike Chambers are
  presenting an Apollo opening keynote at webDU here in Sydney on
  Thursday so if you're in Australia and wavering perhaps now is the
  time to book those tickets...
 
  On 18 Mar 2007 22:32:26 -0700, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
  
  
  
  
  
   give it a few hours before you start commenting on broken links, they're
   still working out some kinks :-) but have fun!
  
   
   From: flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] On
   Behalf Of Bjorn Schultheiss
   Sent: Sunday, March 18, 2007 10:31 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Apollo Now Live on Labs |
   http://labs.adobe.com/technologies/apollo/
  
  
  
  
  
   oh yeah boy!
  
  
  
  
  
   On 19/03/2007, at 3:54 PM, greg h wrote:
  
  
  
  
  
  
  
   http://labs.adobe.com/technologies/apollo/
  
  
  
  
  
  
  
  
  
 
  --
  --
  Andrew Muller
  http://www.webqem.com
 



  


-- 
---
Andrew Muller
http://www.webqem.com


[flexcoders] Mistake on Adobe's Page for Flex builder?

2007-03-19 Thread John Barrett
Hi,
I just checked the adobe's education page for Flex Builder, and it says that it 
cost $99.00?
I am a student at the University of Hawaii.

Before I get too excited about it, is this a mistake?

I am totally newbie, and trying to get flex to work without flex builder is 
difficult for me. I know that FB helps in getting you up to speed with flex, 
and so I hope that this is not a mistake on the pricing. Also, I tried to get 
flex and ColdFusion to work together, but with no luck.

Thanks in advance for any help,
John
 

  
 





 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

Re: [flexcoders] My First Apollo App...fubar

2007-03-19 Thread Brett
Andrew,

Going smoothly now. Having lots of fun ^_^  My work tomorrow...err  
today probably won't be so fun though. haha

Ahh I also notice that Apollo apps now seem to work with vertical  
mouse scrolling on Mac! Awesome!

*puts on cranky Mac guy hat* But still not horizontal scrolling  
*grumble grumble*

Keep up the great work guys, I'm really digging Flex and now Apollo.


[flexcoders] Cant get consumer Subtopic or Selector to work and its driving me crazy

2007-03-19 Thread neil_durbin
I've tried every example i've found dealing with flex messaging to 
filter the messages i'm sending from a coldfusion component to flex.  
When I use the selector tag, no matter what I put in the message 
always goes through.  And with the suptopic its just the opposite, no 
matter what I put in the messages never get through.  Any help or 
advice would be much appreciated.  Cheers!



[flexcoders] Re: DataGrid multiple selection without CNTL key

2007-03-19 Thread Frank
Sorry, I meant to thank you, Alex.

Frank


--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 I suppose you could subclass DG and override selectItem().
 
  
 
 -Alex
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Paul DeCoursey
 Sent: Sunday, March 18, 2007 6:58 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: DataGrid multiple selection without CNTL key
 
  
 
 What do you mean not intuitive?!? That is how the built in HTML
 selection list works.
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Frank bayamos@ wrote:
 
  Is it possible to modify the behavior of the DataGrid so that user can
  make multiple selections without holding down the CNTL key?
  
  I'm converting an Ajax app to Flex, and the HTML component I am
  replacing does not require the holding down of the control key to make
  multiple selections.
  
  It's not intuitive to force the user to hold down the CNTL key to make
  multiple selections, specially when you are coming from a HTML web
 app.
  
  Or should I be using another component?
  
  Frank
 





Re: [flexcoders] Using Flex Components in an Actionscript Project

2007-03-19 Thread Yotam Laufer

Hi Alex,

Thanks for your reply. I've looked all over the net for a place which has
some kind of reference on how to do this. The only link from Mike Chambers'
blog is broken.

Since there is no multiple inheritance in Actionscript I can only extend
Application or SystemManager. I would really appreciate a code snippet on
how to get on with this.

Best regards,
Yotam.


Re: [flexcoders] Re: select some items only

2007-03-19 Thread Ciarán
Hi,

Could you bind the selectable property of the control to a
corresponding property of the objects in your dataProvider? In effect
something like:

... id=list selectable={list.selectedItem.selectable} ...

Seems like the hassle-free way of dealing with it...

-Ciarán



On 3/16/07, Paul DeCoursey [EMAIL PROTECTED] wrote:
 I have the same problem except in a datagrid.  I eventually gave up
 because I could not find a solution. I'll admit I didn't spend much
 time on it, a few hours maybe.  My initial idea was that I could
 preventDefault on the itemClick event and that would stop it from
 being selected, but that didn't work.  I also tried to update the
 selectedItems removing the items that I didn't want to allow selection
 on, and that failed.  I was hoping to look at it more next week, I had
 a deadline today and had to move on to more important things.



 --- In flexcoders@yahoogroups.com, metalbeard [EMAIL PROTECTED] wrote:
 
  Hi There,
 
  Is there any way that we can disable the selection for only some
  specific items inside a tree.
 
  Am trying to make the selectable property of the tree =false when the
  mouse rolls over the unwanted item then make it ture when it is rolled
  out but that didn't work.
 
  Do you have any ideas?
 





 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






[flexcoders] Programming Challenge - finding nodes in an array with a value near a number

2007-03-19 Thread grae_hall
So I've got a programming challenge.

I've got audio/video streaming in, and I've got an XML document 
converted to an Array (each node is an index of the array), each 
value in the array in the contains a cuepoint in Ms.

What's the most efficient way to find the cuepoints in the array 
which are within range (with a fuzziness of say +/- 50ms) of the 
current position of the playhead on my audio/video?

At the moment I've simply got a for (var i:Number = 0; i  
cuePoints.length; i++) {}

That's not really a robust way to check the array of cuepoints for 
matching values of the current media's playhead position - as the 
more cuepoints in the array, the lower the chance is of finding 
matches accurately.

So to reiterate - say my media's playhead is at a position of 2300Ms.
My swf is 30FPS - and in my onEnterFrame for the mediaplayer in that 
SWF I check to see if there are any cue points (with values of say, 
2250, 2300, 2325) within range of the current playhead position.

I'm hunting for the most efficient way to achieve that.

I've got some ideas - which will work ok - but this has to be a 
common programming challenge - and there has to be a more efficient 
way than a loop through an array reading all cue point values that 
are within range of my current playhead's position.

Have at it - homies.


Grae Hall
Senior Art Director
Singleton Ogilvy Interactive



Re: [flexcoders] ID3 v2+ parser available for albumart

2007-03-19 Thread João Fernandes
The Mighty Ben Stucki may have what you need.

http://blog.benstucki.net/?id=24

João Fernandes


[flexcoders] Re: Create Controls like in the FlexBuilder Design mode

2007-03-19 Thread de.newsight
The controls need to be visible, so that the set visible to false made
no sense in this point.

--- In flexcoders@yahoogroups.com, Nick Collins [EMAIL PROTECTED] wrote:

 have you tried setting visible to false ?
 
 On 3/15/07, Artur Kordowski [EMAIL PROTECTED] wrote:
 
 For a current project I have to create an dynamic formular
designer,
  with which the User can create it own formular. The prototype work
well, but
  when I create a new control and add it's into the stage, it is full
  accssesible. I would like to suppress in this case the user
interaction for
  the created control. I tried to set the control to enabled=false,
but there
  is now way to set the disabledColor to alpha 0, or somthing else,
that the
  control looks like in the Design mode of the Flex Builder.
 
  Have any one do somting else befor or have an idea how I can made it?
 
  Best, Artur
 
   
 





Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)

2007-03-19 Thread Paul Andrews
I must be old - I was thinking where I'd heard of Apollo before (besides 
mythology and the space program) and I remembered there used to be a range 
of unix servers called Apollo. Now I've completely lost 95% of this list..

OK, mind barf is now over..

Paul
- Original Message - 
From: Mike Chambers [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, March 18, 2007 6:24 PM
Subject: Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)


 Yes. We also really like the Apollo name, but for various reasons we
 cannot use it as the final name.

 Apollo is just a code name, and will not be the final name.

 mike chambers

 [EMAIL PROTECTED]

 Brendan Meutzner wrote:


 So Rich, I think this poll/campaign is unfortunately going to futile.
 Although they're still keeping mum about the final name, Kevin Lynch
 assured the attendees at Apollo Camp last night that the name was 'very
 cool'

 I guess we just need to stay tuned...


 Brendan



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links



 



[flexcoders] Urgent call for Flex Portlet (Flex Taglibs) specialists (James Ward, help!)

2007-03-19 Thread johan.wasserman
I have tried and tried, fried my brain, and I am desperate.

I firstly wrote a simple portlet and tried to present a flex page on 
JBoss portal, unsuccessfull because of the -
java.lang.NullPointerException
at flex.server.j2ee.cache.CacheKeyUtils.generateJspCacheKe 
(CacheKeyUtils.java:68)

OR
generateSwfCacheKey(CacheKeyUtils.java:54) if I try to show the mxml 
file directly, without going through the taglib.

- error.

Then, with effort, learned how another portal server works, I 
inastalled and configured Jetspeed 2, and after trying just about 
every trick in the book, had to give up and realised the same -
java.lang.NullPointerException
at flex.server.j2ee.cache.CacheKeyUtils.generateJspCacheKey
(CacheKeyUtils.java:68)

- error haunting me.

I have a simple, yet urgent requirement, I need to make Flex 
applications available as portlets, on (prefferably) an Appache 
opensource portal server.

PLEASE will SOMEONE help me?!

I'll send my JBoss and / or Jetspeed 2 installation, zipped, so you 
can have the full config and everything I have done, I'll send the 
MySQL databases for these portal servers, ANYTHING, just say what you 
need.

The only common denominator is that both these portal servers are 
based on Apache Tomcat

PLEASE PLEASE ASSIST.



Re: [flexcoders] Programming Challenge - finding nodes in an array with a value near a number

2007-03-19 Thread Ralf Bokelberg

If your array is sorted, you could try to use binary search.
I guess Google can help you to find an example for it.
Cheers
Ralf

On 19 Mar 2007 01:47:12 -0700, grae_hall [EMAIL PROTECTED] wrote:


  So I've got a programming challenge.

I've got audio/video streaming in, and I've got an XML document
converted to an Array (each node is an index of the array), each
value in the array in the contains a cuepoint in Ms.

What's the most efficient way to find the cuepoints in the array
which are within range (with a fuzziness of say +/- 50ms) of the
current position of the playhead on my audio/video?

At the moment I've simply got a for (var i:Number = 0; i 
cuePoints.length; i++) {}

That's not really a robust way to check the array of cuepoints for
matching values of the current media's playhead position - as the
more cuepoints in the array, the lower the chance is of finding
matches accurately.

So to reiterate - say my media's playhead is at a position of 2300Ms.
My swf is 30FPS - and in my onEnterFrame for the mediaplayer in that
SWF I check to see if there are any cue points (with values of say,
2250, 2300, 2325) within range of the current playhead position.

I'm hunting for the most efficient way to achieve that.

I've got some ideas - which will work ok - but this has to be a
common programming challenge - and there has to be a more efficient
way than a loop through an array reading all cue point values that
are within range of my current playhead's position.

Have at it - homies.

Grae Hall
Senior Art Director
Singleton Ogilvy Interactive

 





--
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35


[flexcoders] Overriding a read-only property

2007-03-19 Thread Nahid Mahfuza Alam

Hello,

I need to modify the percentRect property (e.g.; x, y,width,height of
percentRect) of DownloadProgressBar class. I have a class that extends the
DownloadProgressBar class. But within my class (the subclass), assigning any
value like percentRect.x=150 doesn't work as percentRect is a
read-onlypreperty. The documentation says that I need to override
percentRect to change it. But how to override a property?

Please help me out of this.

Regards,

Nahid


[flexcoders] Re: Auto-expand Treenodes - ValidateNow - THANKS!!

2007-03-19 Thread polestar11
I've also been having serious problems with tree nodes: auto-expanding
child nodes and setting (highlighting) a selected node.
MyTree.validateNow() was the answer to getting all of this working.

What I did to get it working was:
1) Search my dataProvider for a particular item (returning an XMLList)
Eg: var selectedNode:XMLList =
MyTree.dataProvider.descendants().(attribute(title) == [EMAIL PROTECTED])
2) MyTree.selectedItem = selectedNode
3) MyTree.validateNow()
4) MyTree.expandItem( MyTree.selectedItem, true )

Cheers
Tracy

--- In flexcoders@yahoogroups.com, codemonkey666 [EMAIL PROTECTED]
wrote:

 validateNow
 
 Thank you very much Jonas! I have been trying to get this
 (auto-expand) working for a while now, and there was a timing issue.
 The key is Tree.validateNow(). Ahh





RE: [flexcoders] Best way to graphical assets into Flex

2007-03-19 Thread Giles Roadnight
Great, thanks. I've only got Flash 8 trial at the moment and the AS3 preview
won't work with the trial.

 

I've been hesitating to get studio 8 because it'll be out of date soon with
Studio 9. Does anyone know when Studio 9 will come out.

 

I don't suppose I'd get a free upgrade to 9 if I bought 8 now?

 

Thanks

 

Giles Roadnight

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: 16 March 2007 22:19
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Best way to graphical assets into Flex

 

Code in Player 8 (and earlier) SWFs cannot be easily accessed from Flex.
The only way to communicate is via LocalConnection.

 

If you can port to the CS3 release of Flash Authoring.  Then create a SWC
and you have a class that you can use in Flex.

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Giles Roadnight
Sent: Friday, March 16, 2007 3:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Best way to graphical assets into Flex

 

Hi All

I have a flash project as a banner here:

http://www.caterpillar-designs.com/

The caterpillar (which appears after a few seconds) is capable of a
lot more than walking across the banner, he can walk to where you
click and I want to add some very basic AI to him (he's called Cecil!).

I would really like to move the project to Flex though as there is
quite a bit of code behind the smile and it'll be a lot easier to
manage in flex, hopefully it might run a bit quicker as well.

What is the best way of getting the body segments into flex? At the
moment the movie clips have blank movie clips in them at the points
where the next segment should attach. It would be handy to transfer
these markers to flex.

Woudl the best way be to use runtime sharing in a swf with jsut the
segments in and embed them like that? Will I be able to use the
markers within Flex?

 



[flexcoders] Application background colour during pre-loader

2007-03-19 Thread Giles Roadnight
Hi All

I've built this image gallery here:

http://www.caterpillar-designs.com/index.cfm?go=app.gallery

which is just about working as I want now aside from a few tweaks.

One thing I can't seem to fix though is the background colour of the
swf when it is loading. At the moment you get a grey flash as the
prelaoder works then the background goes white.

How do I change this? My application tag has this at the moment:

 backgroundGradientColors=[#ff, #ff]

thanks



[flexcoders] Apollo is here!! Sample Applications and Tutorials

2007-03-19 Thread Rich Tretola

Apollo is finally available for all to see.  I have spent a good deal of
time creating samples and tutorials to help people get into Apollo.  Please
use these as they should prove very helpful:

http://blog.everythingflex.com/apollo/

http://blog.everythingflex.com/apollo/applications-apollo/

http://blog.everythingflex.com/apollo/tutorials-apollo/

Rich


[flexcoders] Re: Datagrid Button Renderer Performance

2007-03-19 Thread Nick Durnell
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 updateDL gets called incase you want to change the font color based on
 the selection highlight.
 

Thanks for clearing this up, Alex.

I don't have row selection enabled on my datagrids so I do not need 
this constant redrawing of renderers - is there any easy way to 
override it or turn it off?

In fact I've been doing a little more testing and this behaviour has an 
even bigger impact on performance than I thought - it looks like every 
column renderer in every row is redrawn when a single row updates - 
presumably for the same reason as above?  So if I have a very modest 
datagrid with 25 visible rows each with 8 columns this means 200 cells 
(buttons, text, whatever) are redrawn whenever a single row is updated 
in the data provider?  This is a big problem for me as my data 
represents real time prices and can change very frequently.  It also 
explains why performance decreases when more rows are visible at once - 
even if the rate of row updates remains the same.

Thanks for your input,

Nick.




RE: [flexcoders] Re: using videoDisplay with netstream (FMS)

2007-03-19 Thread Stephen Gilson
There is an example in the doc showing this:
 
http://livedocs.adobe.com/flex/201/html/controls_059_20.html
 
Was that helpful?
 
Stephen



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of John Wilker
Sent: Friday, March 16, 2007 10:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: using videoDisplay with netstream (FMS)



nobody? I searched and found a few references but none were clear enough
(my failing, not the poster's)

Thanks


On 3/15/07, John Wilker  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

So I've got a videDisplay component and I want to talk to FMS.
I've got code to get my rtmp path for the media figured out. What I
can't figure out is how to get my netstream to the VideoDisplay.
Probably something I'm missing? source wants a Str. netstream is video. 

Any help, GREATLY appreciated

-- 
John Wilker
Vice President Software Development/Writer
Red Omega Solutions, Inc.
www.johnwilker.com http://www.johnwilker.com  /
www.red-omega.com http://www.red-omega.com 

Everything changes, nothing remains without change. ~Buddha
c.483 bc 




-- 
John Wilker
Vice President Software Development/Writer
Red Omega Solutions, Inc.
www.johnwilker.com http://www.johnwilker.com  / www.red-omega.com
http://www.red-omega.com 

Everything changes, nothing remains without change. ~Buddha c.483 bc 

 


RE: [flexcoders] Re: Custom VScrollBar class assigned to a container !

2007-03-19 Thread Alex Harui
That's a toughie.  We haven't made that easy to do.  I know others have
tried it. Not sure if they finished or gave up.

 

I think you have to set horizontalScrollPolicy=on and set up the
scrollbars in createChildren.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pitziilu
Sent: Friday, March 16, 2007 1:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Custom VScrollBar class assigned to a
container !

 

ANYBODY ??

 



RE: [flexcoders] xml document not well-formed?

2007-03-19 Thread Alex Harui
Are you getting a compile error?  If so, I start deleting parts of the
XML until it stops complaining and then examine what made the
difference.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Morphis
Sent: Friday, March 16, 2007 9:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] xml document not well-formed?

 

I'm trying to load XML data into a list.. I can see the data in the
Eclipse Console and it looks well-formed to me..
locations
default
locationid4131/locationid
cityFootown/city
stateidAL/stateid
location123 Hwy, Footown, AL/location
stateALABAMA/state
mgrnameHams,Johnny C/mgrname
c_schedulestatusid-1/c_schedulestatusid
/default
/locations

I'm trying to access it like this...

mx:List borderStyle=none
id=defaultlocs
dataProvider={MyModel.getInstance().DALocationsXML.default}

 



RE: [flexcoders] CursorManager, PopupManager - internal state across module load?

2007-03-19 Thread Alex Harui
This is the shared code issue explained in my presentation at 360Flex.
You can find out more on my blog at blogs.adobe.com/aharui

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of david_mccraw123
Sent: Friday, March 16, 2007 9:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CursorManager, PopupManager - internal state
across module load?

 

Hi,

I've run into an issue where, after loading a module, calling
CursorManager.setBusyCursor() inside that module causes an exception
(Error #1009: Cannot access a property or method of a null object
reference). The same happens with Alert.show (in
PopupManager.createPopup).

First I moved the setBusyCursor() call into a button click(), to be
sure the module had loaded completely - but this had no effect.

If, however, I call setBusyCursor() then removeBusyCursor() in the
/module loader/ mxml file (on ready event), the module button can then
also set the cursor without error. Similarly, an Alert in the module
loader (on ready event) allows alerts within the module.

To muddy the waters further, if I load the module at the start of the
application, it works okay - it's just when I re-load it that the
error starts occurring.

I was hoping someone might have run into a similar problem, or have
any pointers toward finding a solution.

Thanks,

Dave

 



RE: [flexcoders] Fascinating problem hiding columns in a DataGrid

2007-03-19 Thread Alex Harui
Lots of hidden column, column resize issues were fixed in an update due
out soon.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Demling
Sent: Friday, March 16, 2007 8:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fascinating problem hiding columns in a DataGrid

 

While a problem for me, I find the following behavior fascinating and
inexplicable; so here's a good challenge for any Flexlock Holmes out
there (full code is below - 26 lines, fairly simple):

I have a DataGrid that's using a RemoteObject as its dataProvider, and
I initialize the 'visible' propery of its first dataGridColumn to
false. On startup, this column (labelled Name) is hidden - so
far, so good.

Next I click my GetData button to invoke the RemoteObject's service,
and poof! The column becomes visible - even though the debugger
verified that its visible property remains false!

So now I click my HideName Button, which forcibly sets the visible
property of this Name column to false. The debugger verifies that
its false before I click it, and its false after I click it. Still,
the column remains visible.

So just for the heck of it I click my ShowName Button, which
forcibly sets the visible property of the Name column to true. The
debugger verifies that the value is changed to true - and as an added
bonus, it increases the width of the Name column from 50 to 100! Okay...

Finally, I click the HideName Button, and *this* time it works - the
Name column is now hidden, having worked only after I forced its
visible prpoerty to true immediately beforehand.

I can replicate this ad nauseum (calling the RemoteObject service
makes the hidden column visible without setting visible to true;
forcing the visible value to false works only after forcing it to
true), but it only happens when the dataProvider is remoteObject, and
the forcing of the visible value only shows the column when done via
Buttons (it does not work directly in code right after calling the
RemoteObject service).

Full code is below. I tracked every single Name column variable
through the debugger, and nothing changes, except for visible and
width as noted above. I did track down the moment that the ShowName
button expands the column width (in Button.as, line 2050, function
focusOutHandler), but I don't know enough about Flex yet to know why
that would enable column hiding; or why the call to RemoteObject is
revealing my invisible column in the first place, for that matter.

Started out just wanting to hide some DataGrid columns, but went
pretty far down the rabbit hole. Thanks for any input!

-Peter Demling
Lexington, MA

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
layout=absolute

mx:RemoteObject id=srv destination=employees/

mx:DataGrid id=myDataGrid
dataProvider={srv.getEmployees.lastResult}
mx:columns
mx:DataGridColumn visible=false
headerText=Name dataField=name /
mx:DataGridColumn
headerText=Group dataField=group/
/mx:columns
/mx:DataGrid

mx:Button label=Get Data click=srv.getEmployees();
x=10 y=170/ 
mx:Button label=Hide name column 
click=myDataGrid.columns[0].visible=false; 
y=230 x=10/ 
mx:Button label=Show name column
click=myDataGrid.columns[0].visible=true;
y=200 x=10/

/mx:Application

 



RE: [flexcoders] Trace Output Stopped Working

2007-03-19 Thread Peter Farland
Either a non-debug version of the Flash Player was installed over your
debug player, or you lost your mm.cfg file in your OS user directory?



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Whitelock
Sent: Friday, March 16, 2007 10:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Trace Output Stopped Working



Yesterday for some mysterious reason the trace() statement stopped
sending data to the console. Event a simple statement like
trace(Here) did nothing (and yes, I was in debug mode). I tried
restarting Eclipse, rebooting the computer, etc. and nothing helped.
Finally I uninstalled the Flex plug-in, trashed Eclipse and all
Eclipse workspace preferences and reinstalled everything cleanly from
scratch. That fixed the problem ... or so I thought.

This morning I started working and tossed a trace statement into some
code I'm working on and again there was no output in the console. The
only thing that shows up is:

[SWF] /cmq/FTApp-debug.swf - 715,093 bytes after decompression

I don't want to have to continually reinstall Eclipse and Flex
everyday as it's a bit time consuming. Anyone have an idea of what's
going on and how to get trace statements working again? Thanks!

Paul



 


RE: [flexcoders] Re: using videoDisplay with netstream (FMS)

2007-03-19 Thread Stephen Gilson
There is an example in the doc showing this:
 
http://livedocs.adobe.com/flex/201/html/controls_059_20.html
 
Was that helpful?
 
Stephen



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of John Wilker
Sent: Friday, March 16, 2007 10:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: using videoDisplay with netstream (FMS)



nobody? I searched and found a few references but none were clear enough
(my failing, not the poster's)

Thanks


On 3/15/07, John Wilker  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

So I've got a videDisplay component and I want to talk to FMS.
I've got code to get my rtmp path for the media figured out. What I
can't figure out is how to get my netstream to the VideoDisplay.
Probably something I'm missing? source wants a Str. netstream is video. 

Any help, GREATLY appreciated

-- 
John Wilker
Vice President Software Development/Writer
Red Omega Solutions, Inc.
www.johnwilker.com http://www.johnwilker.com  /
www.red-omega.com http://www.red-omega.com 

Everything changes, nothing remains without change. ~Buddha
c.483 bc 




-- 
John Wilker
Vice President Software Development/Writer
Red Omega Solutions, Inc.
www.johnwilker.com http://www.johnwilker.com  / www.red-omega.com
http://www.red-omega.com 

Everything changes, nothing remains without change. ~Buddha c.483 bc 

 


[flexcoders] E4X - Copy attributes

2007-03-19 Thread pgp.coppens
Hello,

I would like to copy a number of attributes from one element to a second
element, but I can't find a way to achieve it

To set the scene, something like

var x1:XML = x1 a1='a1' a2='a2'/;
var x2:XML=x2/;

for each (var a:XML in [EMAIL PROTECTED]) {
   [EMAIL PROTECTED] = a;
}
Obviously the code above does not work, and in the situation I would
need it, the input elements and attributes are not known at compile
time.

Does anyone know if it is possible in a generic way to copy attributes
from a first element to a second using E4X and how to do it?

Thanks!

Peter

PS If anyone has any good links or reference to E4X material I would
also be interested. Something in between the w3schools level and the E4X
spec.



[flexcoders] Re: why doesnt this work?

2007-03-19 Thread male_salmon
I'm getting the same error as well. It seems (at least to me) to be
reading the index range of the rawChildren property. Don't know if
that's true or not but I just can't get it to work right.

--- In flexcoders@yahoogroups.com, Matt Wicks [EMAIL PROTECTED] wrote:

 I tried this - and its very strange
 
 
 this line
 
 trace (container.getChildAt(container.numChildren-1).name )
 
 works fine
 
 but this
 container.swapChildrenAt(index,container.numChildren-1)
 
 gives me a supplied index is out of range error
 
 ???
 On 15 Mar 2007, at 15:21, Paul DeCoursey wrote:
 
  try swapChildrenAt instead of swapChildren.
 
  --- In flexcoders@yahoogroups.com, Matt Wicks matt@ wrote:
  
   does anyone have any idea why this doesn't work?
  
   passing in a displayObkectContainer (container) and the  
  displayObject
   I want to rise to the top (objectToMove)
  
   for (var i:int =0; icontainer.numChildren; i++) {
   if (container.getChildAt(i) == objectToMove) {
   index=i
  
   }
   }
   if (index == container.numChildren) {
   return //already at the top
   } else {
   container.swapChildren(container.getChildAt
   (index),container.getChildAt(container.numChildren-1))
   }
  
   the odd thing is that I can get both container.getChildAt(index) and
   getChildAt(container.numchildren-1) but
  
   I get an error on the swapchildren line saying that The supplied
   DisplayObject must be a child of the caller.
  
   something odd going on ... suggestions appreciated
  
  
   Matt
  
 
 
 





Re: [flexcoders] Overriding a read-only property

2007-03-19 Thread Johannes Nel

public override function get name():type
{

return super.name;
}
public function set name(value:Type):void
{
do what you want
}

On 3/19/07, Nahid Mahfuza Alam [EMAIL PROTECTED] wrote:



Hello,

I need to modify the percentRect property (e.g.; x, y,width,height of
percentRect) of DownloadProgressBar class. I have a class that extends the
DownloadProgressBar class. But within my class (the subclass), assigning any
value like percentRect.x=150 doesn't work as percentRect is a 
read-onlypreperty. The documentation says that I need to override
percentRect to change it. But how to override a property?

Please help me out of this.

Regards,

Nahid
 





--
j:pn
http://www.lennel.org


[flexcoders] Re:FMS streams, need an flv file?

2007-03-19 Thread Larry Larson
If there is no .FLV, what kind of file are you streaming?

I am not sure it is impossible, but I've consumed a lot of FMS  
streams and never used anything but a .FLV.

Curious about what you are trying to do..

Larry Larson
nyc


[flexcoders] Re: The complete component communication solution for Flex. ALON DP.

2007-03-19 Thread lrhazi
Hi there,

This sounds cool. just a typo, throughout the document: antonymous
should be autonomous right?

As in: Autonomous Linking Object Network Design Pattern

Mohamed~






[flexcoders] About DisplayShelf component...

2007-03-19 Thread lrhazi

I thought it would be easy to use DisplayShelf to display something
other than pictures. I tried to make it display a custom component of
mine, which displays some info using various standard flex components,
like VBox,HBox,Label the root component being Canvas.

Anyways... The very first item displays in full... except for my
styles are not applied... though they look like they are applied to
the reflection part of the item! I can the colors and even
drop-shadows in the reflections :)

The remaining items all have their text components (Label) truncated!
Instead of: Monday, 25th Feb, I see Mo... with the full text in
the tooltip!!!

Is it possible to use DisplayShelf component to display any custom
components instead of Images? How do you get it to work right?  any
advice highly appreciated.

Thanks.
Mohamed~







[flexcoders] Rubyamf 0.8.7 Alpha, Community Involvement

2007-03-19 Thread aaron smith


Hey Everyone , I'm going to keep this short.

I've had it Rubyamf in my pocket for few months. Being able to develop it
here and there. I've made a big push the last week to get it to this stage.
If you're not aware of it, which i'm sure you're not. It's a Flash remoting
alternative.

:Features:
Written in Ruby of coarse.
A complete application gateway for flash remoting
Servers are commandline configurable at startup
Webrick standalone servlet, run rubyamf anywhere
LightTPD support on Mac. Windows support will be in beta
fcgi and cgi gateway
Flash 8
Flash 9
Remote Object for Flex 2
RemoteClass meta tag for Object mappings in AS3
Rails Integration

What's the deal with community involvement? Testing, tutorials and
questions. I'm doing my best with testing and doumentation. But I'm only one
person. It would killer if the flash community would punish it. Break it all
you want. Where are it's weak points? And, where are it's strong points of
course.

Also, because I've been working on getting it to this point, I haven't had
time to make some tutorials. There is quite a bit of documentation over here
http://www.rubyamf.org . That has basics of starting the server, services
location plus much more. I have more work to do to get it into beta, and
completely supporting windows with LightTPD and mongrel as well.

So if anyone has any time to check this out, and help out, write some
stuff. Ask questions, find bugs.. etc.. Would be greatly appreciated.

Let's make Rubyamf a stable and reliable choice for Flash remoting in
production environments.

Thanks.

-Aaron Smith
homepage: http://www.rubyamf.org
forums: http://rubyforge.org/forum/?group_id=2801
lists: http://rubyforge.org/mailman/listinfo/rubyamf-discussion



Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)

2007-03-19 Thread DannyT

So they can't use the name Apollo but there has already been some time,
effort, design, marketing and publishing gone into that name. Might that
mean it'll be a double barrelled name that includes Apollo, e.g.
ApolloWeaver or some such...

On 18 Mar 2007 11:25:08 -0700, Mike Chambers [EMAIL PROTECTED] wrote:


  Yes. We also really like the Apollo name, but for various reasons we
cannot use it as the final name.

Apollo is just a code name, and will not be the final name.

mike chambers

[EMAIL PROTECTED] mesh%40adobe.com

Brendan Meutzner wrote:


 So Rich, I think this poll/campaign is unfortunately going to futile.
 Although they're still keeping mum about the final name, Kevin Lynch
 assured the attendees at Apollo Camp last night that the name was 'very
 cool'

 I guess we just need to stay tuned...


 Brendan
 





--
http://danny-t.co.uk


RE: [flexcoders] Center PopUp on Window not Application

2007-03-19 Thread jason.proulx
I think it's based on the parent that you specify when you add your
window to In the first place

 

i.e.

PopUpManager.addPopUp(myWindow, myParent);

PopUpManager.centerPopUp(myWindow);

 

If you specify:

Var myParent:DisplayObject = Application.application as DisplayObject;

 

When you center the window, it should center in relation to the parent.

 

If you were to specify:

Var myParent:DisplayObject = myOtherWindow;

 

It should center in relation to myOtherWindow.

 

http://livedocs.adobe.com/flex/2/langref/mx/managers/PopUpManager.html

 

Jay Proulx

[EMAIL PROTECTED]



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nextadvantage
Sent: March 16, 2007 11:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Center PopUp on Window not Application

 

Anyone have some code to center a title window on window size vs
application center... thx Aaron

 



Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)

2007-03-19 Thread Rich Tretola

ApolloWeaver is just painful to say.  I hope they do better than that. :-)


[flexcoders] Re: DataGrid multiple selection without CNTL key

2007-03-19 Thread Paul DeCoursey
Just to satisfy my curiosity, how does your current app work?  how
does selection and de-selection work?  How do you select ranges?

--- In flexcoders@yahoogroups.com, Frank [EMAIL PROTECTED] wrote:

 Sorry, I did not want to get into a religious war ;-)
 
 It's just that my current app does not need the ctrl key to be pressed
 and there is no training involved if you do not have to teach people
 to hold down the control key.
 
 Frank
 
 
 --- In flexcoders@yahoogroups.com, Paul DeCoursey paul@ wrote:
 
  What do you mean not intuitive?!?  That is how the built in HTML
  selection list works.
  
  --- In flexcoders@yahoogroups.com, Frank bayamos@ wrote:
  
   Is it possible to modify the behavior of the DataGrid so that
user can
   make multiple selections without holding down the CNTL key?
   
   I'm converting an Ajax app to Flex, and the HTML component I am
   replacing does not require the holding down of the control key
to make
   multiple selections.
   
   It's not intuitive to force the user to hold down the CNTL key
to make
   multiple selections, specially when you are coming from a HTML web
 app.
   
   Or should I be using another component?
   
   Frank
  
 





[flexcoders] E4X. Delete descendant nodes with matching attribute.

2007-03-19 Thread Greg McCreath
Hi All,
 
I'm wall bangin' over how to remove nodes from an entire XML object
where attributes have a certain value:
 
Example XML is :
 
root
additions type=group addedCount=2/
page label=Page
group1 type=group addedCount=3/
Stuff4 label=Stuff4/
Stuff5 label=Stuff5/
Stuff6 label=Stuff6/
slot1 type=separator addedCount=3/
Stuff1 label=Stuff1
stuff1 type=separator addedCount=0/
/Stuff1
Stuff2 label=Stuff2
stuff2 type=group addedCount=0/
/Stuff2
Stuff3 label=Stuff3/
/page
help label=Help/
/root

I'd just like to delete all nodes in the entire structure that have
(say) attribute type=group.  I do like E4X, I think it is very elegant
 just the docs are very light and the examples are few an' far
between.
 
All assistance appreciated.
 
Greg.
 


This email and any files transmitted with it may be confidential and are 
intended solely for the use of the individual or entity to whom they are 
addressed. This email may contain personal information of individuals, and be 
subject to Commonwealth and/or State privacy laws in Australia. This email is 
also subject to copyright. If you are not the intended recipient, you must not 
read, print, store, copy, forward or use this email for any reason, in 
accordance with privacy and copyright laws. If you have received this email in 
error, please notify the sender by return email, and delete this email from 
your inbox. 


Re: [flexcoders] Mistake on Adobe's Page for Flex builder?

2007-03-19 Thread Matt Chotin
Educational price of FB is $99.  Have fun!

Matt


- Original Message -
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Mon Mar 19 00:11:28 2007
Subject: [flexcoders] Mistake on Adobe's Page for Flex builder?

Hi,
I just checked the adobe's education page for Flex Builder, and it says that it 
cost $99.00?
I am a student at the University of Hawaii.

Before I get too excited about it, is this a mistake?

I am totally newbie, and trying to get flex to work without flex builder is 
difficult for me. I know that FB helps in getting you up to speed with flex, 
and so I hope that this is not a mistake on the pricing. Also, I tried to get 
flex and ColdFusion to work together, but with no luck.

Thanks in advance for any help,
John

 

  
  http://www.johnbarrett.net/Assets/images/movinggreenwave.gif 




Bored stiff? http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com  Loosen 
up...
Download and play hundreds of games for free 
http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com  on Yahoo! Games.

 


[flexcoders] Re: E4X - Copy attributes

2007-03-19 Thread Geoffrey Williams
You want to use brackets not braces and use the name () method.

for each (var a : XML in [EMAIL PROTECTED]) {
[EMAIL PROTECTED] ()] = a;
}

--- In flexcoders@yahoogroups.com, pgp.coppens 
[EMAIL PROTECTED] wrote:

 Hello,
 
 I would like to copy a number of attributes from one element to a 
second
 element, but I can't find a way to achieve it
 
 To set the scene, something like
 
 var x1:XML = x1 a1='a1' a2='a2'/;
 var x2:XML=x2/;
 
 for each (var a:XML in [EMAIL PROTECTED]) {
[EMAIL PROTECTED] = a;
 }
 Obviously the code above does not work, and in the situation I would
 need it, the input elements and attributes are not known at compile
 time.
 
 Does anyone know if it is possible in a generic way to copy 
attributes
 from a first element to a second using E4X and how to do it?
 
 Thanks!
 
 Peter



[flexcoders] Re:FMS streams, need an flv file?

2007-03-19 Thread Jeff Houser

 I'm working with John on the project.  

 We are supposed to be streaming FLVs, but the Content Delivery
Network sometimes returns rmtp URLs that contain a direct reference to
an flv file.  Sometimes it returns URLs that don't contain a direct
reference.  

 In this case, I understand that Content Delivery Network is just a
fancy term for We outsourced our FMS hosting


--- In flexcoders@yahoogroups.com, Larry Larson [EMAIL PROTECTED] wrote:

 If there is no .FLV, what kind of file are you streaming?
 
 I am not sure it is impossible, but I've consumed a lot of FMS  
 streams and never used anything but a .FLV.
 
 Curious about what you are trying to do..
 
 Larry Larson
 nyc





[flexcoders] Apollo Alpha SDK Available to download

2007-03-19 Thread Nicolas Boulet-Lavoie
Here's the e-mail I received from Adobe, 9 minutes ago (I feel like
its Christmas again!!) :

Adobe(R)
+++

Hi, you are receiving this email because you asked to be notified 
when the product code-named Apollo alpha was available for download.

You don't have to wait any longer, as we have just posted a pre-release 
Alpha build on Adobe Labs.

The first alpha release is focused at Flex(TM) based applications, and 
we anticipate the next beta release will be targeted at HTML based
applications. While this is an alpha, and not all features are
implemented, you may run into bugs, but there is plenty of
functionality for you to play with. 

You can find more information, and download the runtime, SDK and
applications from:
http://www.adobe.com/go/apollo

If you run into any issues, or have any questions about developing 
applications for Apollo, post them in the Apollo forum:
http://www.adobe.com/go/apolloforums

Time to have some fun...

mike chambers
Apollo Team 


Good work guys!
Nicolas



[flexcoders] Apollo Project Wizard Error

2007-03-19 Thread sam5654295
I've updated Flex Builder 2 to 2.0.1.  I get this when I try to used
the New Apollo Project Wizart:  

Plug-in com.adobe.flexbuilder.apollo was unable to load class
com.adobe.flexbuilder.apollow.ui.wizards.ApolloProjectWizard

Does anyone have any idea about what's going on with this?

--Sam



[flexcoders] Printing error with acrobat professional 7

2007-03-19 Thread wifi19

hie.

I've made a basic datagrid printing ( to print with page 3000 line's 
datagrid

when i print to adobe pdf printer i get timeout error !

can you help me ?

my script :

  public function doPrint():void {

var printJob:FlexPrintJob = new FlexPrintJob();
if (printJob.start()) {
// Create a FormPrintView control as a child of the 
current view.
var thePrintView:FormPrintView = new FormPrintView();
Application.application.addChild(thePrintView);

//Set the print view properties.
thePrintView.width=printJob.pageWidth;
thePrintView.height=printJob.pageHeight;
thePrintView.prodTotal = prodTotal;
// Set the data provider of the FormPrintView 
component's data grid
// to be the data provider of the displayed data grid.
thePrintView.myDataGrid.dataProvider = 
myDataGrid.dataProvider;
// Create a single-page image.
thePrintView.showPage(single);
// If the print image's data grid can hold all the 
provider's rows, 
// add the page to the print job. 
if(!thePrintView.myDataGrid.validNextPage)
{
printJob.addObject(thePrintView);
}
// Otherwise, the job requires multiple pages.
else
{
// Create the first page and add it to the print 
job.
thePrintView.showPage(first);
printJob.addObject(thePrintView);
thePrintView.pageNumber++;
// Loop through the following code until all 
pages are queued.
while(true)
{
// Move the next page of data to the top of 
the print grid.
thePrintView.myDataGrid.nextPage();
thePrintView.showPage(last);
// If the page holds the remaining data, or 
if the last page 
// was completely filled by the last grid 
data, queue it for printing.
// Test if there is data for another 
PrintDataGrid page.
if(!thePrintView.myDataGrid.validNextPage) 
{
// This is the last page; queue it and 
exit the print loop.
printJob.addObject(thePrintView);
break;
}
else
// This is not the last page. Queue a middle 
page. 
{
thePrintView.showPage(middle);
printJob.addObject(thePrintView);
thePrintView.pageNumber++;
}
}
}
// All pages are queued; remove the FormPrintView 
control to free memory.
Application.application.removeChild(thePrintView);
}
// Send the job to the printer.
printJob.send();
}



Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)

2007-03-19 Thread DannyT

haha thanks Rich! That wasn't a serious suggestion, but the only example i
could think of. I'm sure they've got something in mind that is better than
that.

On 19/03/07, Rich Tretola [EMAIL PROTECTED] wrote:


  ApolloWeaver is just painful to say.  I hope they do better than that.
:-)


 





--
http://danny-t.co.uk


[flexcoders] Re: using itemRenderer with List, how can I set the icon?

2007-03-19 Thread Greg Morphis
Can anyone offer any help with this please?

On 3/16/07, Greg Morphis [EMAIL PROTECTED] wrote:
 Normally List has a iconFunction, I'm using an itemRenderer to give
 the list items a custom background color.. When I do this the icon
 doesn't show.. is there anyway around this?
 Thanks



[flexcoders] Re: Urgent call for Flex Portlet (Flex Taglibs) specialists (James Ward, help!)

2007-03-19 Thread johan.wasserman
Is there a point to posting questions and calls for assistance here?

Where are all the really good guys out there that can actually solve 
some challanging issues to get Flex used in more and more 
applications?

I really need assistance, what's going to happen next?  Let my client 
choose other technology or try to get this Flex thing to work?  I'll 
implement the solution, no matter what the technology, but I am proud 
of Flex and would like to see it work, how about you?

--- In flexcoders@yahoogroups.com, johan.wasserman 
[EMAIL PROTECTED] wrote:

 I have tried and tried, fried my brain, and I am desperate.
 
 I firstly wrote a simple portlet and tried to present a flex page 
on 
 JBoss portal, unsuccessfull because of the -
 java.lang.NullPointerException
 at flex.server.j2ee.cache.CacheKeyUtils.generateJspCacheKe 
 (CacheKeyUtils.java:68)
 
 OR
 generateSwfCacheKey(CacheKeyUtils.java:54) if I try to show the 
mxml 
 file directly, without going through the taglib.
 
 - error.
 
 Then, with effort, learned how another portal server works, I 
 inastalled and configured Jetspeed 2, and after trying just about 
 every trick in the book, had to give up and realised the same -
 java.lang.NullPointerException
   at flex.server.j2ee.cache.CacheKeyUtils.generateJspCacheKey
 (CacheKeyUtils.java:68)
 
 - error haunting me.
 
 I have a simple, yet urgent requirement, I need to make Flex 
 applications available as portlets, on (prefferably) an Appache 
 opensource portal server.
 
 PLEASE will SOMEONE help me?!
 
 I'll send my JBoss and / or Jetspeed 2 installation, zipped, so you 
 can have the full config and everything I have done, I'll send the 
 MySQL databases for these portal servers, ANYTHING, just say what 
you 
 need.
 
 The only common denominator is that both these portal servers are 
 based on Apache Tomcat
 
 PLEASE PLEASE ASSIST.





[flexcoders] Cairngorm for Apollo?

2007-03-19 Thread João Fernandes
I think the subject says all, will be a cairngorm version for Apollo?

Thanks,

João Fernandes


RE: [flexcoders] Cairngorm for Apollo?

2007-03-19 Thread Dimitrios Gianninas
There doesn't need to be, you build apps in Flex that can either deploy on the 
web or on the desktop (via Apollo). So since Cairngorm is for Flex, there 
doesn't need to be.
 
Dimitrios Gianninas
Developer
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Monday, March 19, 2007 10:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm for Apollo?



I think the subject says all, will be a cairngorm version for Apollo?

Thanks,

João Fernandes


 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



Re: [flexcoders] Application background colour during pre-loader

2007-03-19 Thread Peter Baird
You need to declaritively set the backgroundColor property directly in the
application tag (not in css file).

So:

mx:Application backgroundColor=#FF ...


On 3/19/07 5:41 AM, Giles Roadnight [EMAIL PROTECTED] wrote:

 Hi All
 
 I've built this image gallery here:
 
 http://www.caterpillar-designs.com/index.cfm?go=app.gallery
 
 which is just about working as I want now aside from a few tweaks.
 
 One thing I can't seem to fix though is the background colour of the
 swf when it is loading. At the moment you get a grey flash as the
 prelaoder works then the background goes white.
 
 How do I change this? My application tag has this at the moment:
 
  backgroundGradientColors=[#ff, #ff]
 
 thanks
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 

/ \®   PETER BAIRD
888/   \888Sr. User Experience Consultant
88/  /  \88Adobe Consulting | Adobe Systems, Inc
8/  /8\  \8275 Grove St. Newton, MA
/  /888\  \Office: 617.219.2126
  \8\  Cell: 617.803.6804



[flexcoders] Re: using itemRenderer with List, how can I set the icon?

2007-03-19 Thread ben.clinkinbeard
Did you extend ListItemRenderer?


--- In flexcoders@yahoogroups.com, Greg Morphis [EMAIL PROTECTED] wrote:

 Can anyone offer any help with this please?
 
 On 3/16/07, Greg Morphis [EMAIL PROTECTED] wrote:
  Normally List has a iconFunction, I'm using an itemRenderer to give
  the list items a custom background color.. When I do this the icon
  doesn't show.. is there anyway around this?
  Thanks
 





Re: [flexcoders] Cairngorm for Apollo?

2007-03-19 Thread Brian Dunphy
I think that the Flex 2 based Cairngorm will work fine if you intend
to develop on the Apollo platform with the Flex SDK.

Brian

On 19 Mar 2007 07:24:54 -0700, João Fernandes
[EMAIL PROTECTED] wrote:






 I think the subject says all, will be a cairngorm version for Apollo?

  Thanks,

  João Fernandes
  


-- 
Brian Dunphy


RE: [flexcoders] Application background colour during pre-loader

2007-03-19 Thread Giles Roadnight
Great, thanks.

 

I was setting that property before but it didn't seem to affect the
background colour one the application had initialised.

 

 

Giles Roadnight

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Baird
Sent: 19 March 2007 14:43
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Application background colour during pre-loader

 

You need to declaritively set the backgroundColor property directly in the
application tag (not in css file).

So:

mx:Application backgroundColor=#FF ...

On 3/19/07 5:41 AM, Giles Roadnight [EMAIL PROTECTED]
mailto:giles%40roadnight.name  wrote:

 Hi All
 
 I've built this image gallery here:
 
 http://www.caterpillar-designs.com/index.cfm?go=app.gallery
 
 which is just about working as I want now aside from a few tweaks.
 
 One thing I can't seem to fix though is the background colour of the
 swf when it is loading. At the moment you get a grey flash as the
 prelaoder works then the background goes white.
 
 How do I change this? My application tag has this at the moment:
 
 backgroundGradientColors=[#ff, #ff]
 
 thanks
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 

/ \R PETER BAIRD
888/ \888 Sr. User Experience Consultant
88/ / \88 Adobe Consulting | Adobe Systems, Inc
8/ /8\ \8 275 Grove St. Newton, MA
/ /888\ \ Office: 617.219.2126
\8\ Cell: 617.803.6804

 



[flexcoders] Re: Custom VScrollBar class assigned to a container !

2007-03-19 Thread pitziilu
ok. then... let's try to do it so everyone know how to do it.. or if
it's even possible. :D

I will make an example.. and paste the errors here :) maybe we could
find a way... 

thank you very much!



--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 That's a toughie.  We haven't made that easy to do.  I know others have
 tried it. Not sure if they finished or gave up.
 
  
 
 I think you have to set horizontalScrollPolicy=on and set up the
 scrollbars in createChildren.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of pitziilu
 Sent: Friday, March 16, 2007 1:34 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Custom VScrollBar class assigned to a
 container !
 
  
 
 ANYBODY ??





[flexcoders] livedrag

2007-03-19 Thread gboro54
When you enable live drag in a divided box is there a way to change 
the color of the knob or make it disapear all together??? If so how 
can this be done(without just covering the knob up with an object 
ofcourse)...Thanks



RE: [flexcoders] O'Reilly's Programming Flex 2 book

2007-03-19 Thread Merrill, Jason
Cool - I saw that one on Amazon - that you on the left?
 

Jason Merrill 
Bank of America  
Global Technology  Operations 
Learning  Leadership Development 
eTools  Multimedia Team 


 




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola
Sent: Friday, March 16, 2007 1:03 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] O'Reilly's Programming Flex 2 book



I have this one:

http://www.amazon.com/gp/product/0470102675/002-4312150-6440857?ie=UTF8;
tag=everythingfle-20linkCode=xm2camp=1789creativeASIN=0470102675
http://www.amazon.com/gp/product/0470102675/002-4312150-6440857?ie=UTF8
tag=everythingfle-20linkCode=xm2camp=1789creativeASIN=0470102675 
But it is still only a word document on my local machine. :-(

It is due out in May as well.

Rich



On 3/16/07, Merrill, Jason  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 



Does anyone have this book yet?  
 
O'Reilly Press
Programming Flex 2: The Comprehensive Guide to Creating
Rich Media Applications with Adobe Flex 
by Kazoun, Lott
 
(watch the wrap)

http://www.amazon.com/Programming-Flex-Comprehensive-Creating-Applicatio
ns/dp/059652689X/ref=pd_bxgy_b_img_b/002-8098935-6484806
http://www.amazon.com/Programming-Flex-Comprehensive-Creating-Applicati
ons/dp/059652689X/ref=pd_bxgy_b_img_b/002-8098935-6484806 
 
What are your thoughts?  Ok, good, or great?

Jason Merrill 
Bank of America  
Global Technology  Operations 
Learning  Leadership Development 
eTools  Multimedia Team 

 

 








-- 
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com http://www.EverythingFlex.com  



 



Re: [flexcoders] Cairngorm for Apollo?

2007-03-19 Thread João Fernandes
I know that current cairngorm works fine with Apollo but at MAX they 
mentioned that the roadmap was also extend it to support Apollo, so, I 
guess is somehow to use some Apollo specific API.

João Fernandes


[flexcoders] Re: DataGrid multiple selection without CNTL key

2007-03-19 Thread Frank
Lets say there are 2 DataGrids side-by-side:

DataGrid 1 - This is where the multi-select list is.  There 2
categories of items, each under a slider with it's own multi-select
DataGrid.

DataGrid 2 - This list displays the result of the selections from both
categories.  The DataGrid has buttons at the bottom which allow the
user to order them as they please.

The user selects items on the left from each slider by just clicking
on them and they appear on the right list.  The right list keeps the
users' order, even as the user adds/removes items.

Frank




--- In flexcoders@yahoogroups.com, Paul DeCoursey [EMAIL PROTECTED] wrote:

 Just to satisfy my curiosity, how does your current app work?  how
 does selection and de-selection work?  How do you select ranges?
 
 --- In flexcoders@yahoogroups.com, Frank bayamos@ wrote:
 
  Sorry, I did not want to get into a religious war ;-)
  
  It's just that my current app does not need the ctrl key to be pressed
  and there is no training involved if you do not have to teach people
  to hold down the control key.
  
  Frank
  
  
  --- In flexcoders@yahoogroups.com, Paul DeCoursey paul@ wrote:
  
   What do you mean not intuitive?!?  That is how the built in HTML
   selection list works.
   
   --- In flexcoders@yahoogroups.com, Frank bayamos@ wrote:
   
Is it possible to modify the behavior of the DataGrid so that
 user can
make multiple selections without holding down the CNTL key?

I'm converting an Ajax app to Flex, and the HTML component I am
replacing does not require the holding down of the control key
 to make
multiple selections.

It's not intuitive to force the user to hold down the CNTL key
 to make
multiple selections, specially when you are coming from a HTML web
  app.

Or should I be using another component?

Frank
   
  
 





[flexcoders] Re: Application background colour during pre-loader

2007-03-19 Thread shawn.gibson
I did this using a compiler directive which changes the blue-grey to 
whatever you want, including the preloader etc. You change the 
properties of your project and add the colour you want to use. I 
found it in the Flex documentation.

But it sounds like you already found a way that works:)

Shawn

--- In flexcoders@yahoogroups.com, Giles Roadnight [EMAIL PROTECTED] 
wrote:

 Great, thanks.
 
  
 
 I was setting that property before but it didn't seem to affect the
 background colour one the application had initialised.
 
  
 
  
 
 Giles Roadnight
 
  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Peter Baird
 Sent: 19 March 2007 14:43
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Application background colour during pre-
loader
 
  
 
 You need to declaritively set the backgroundColor property 
directly in the
 application tag (not in css file).
 
 So:
 
 mx:Application backgroundColor=#FF ...
 
 On 3/19/07 5:41 AM, Giles Roadnight [EMAIL PROTECTED]
 mailto:giles%40roadnight.name  wrote:
 
  Hi All
  
  I've built this image gallery here:
  
  http://www.caterpillar-designs.com/index.cfm?go=app.gallery
  
  which is just about working as I want now aside from a few 
tweaks.
  
  One thing I can't seem to fix though is the background colour of 
the
  swf when it is loading. At the moment you get a grey flash as the
  prelaoder works then the background goes white.
  
  How do I change this? My application tag has this at the moment:
  
  backgroundGradientColors=[#ff, #ff]
  
  thanks
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
  Yahoo! Groups Links
  
  
  
 
 / \R PETER BAIRD
 888/ \888 Sr. User Experience Consultant
 88/ / \88 Adobe Consulting | Adobe Systems, Inc
 8/ /8\ \8 275 Grove St. Newton, MA
 / /888\ \ Office: 617.219.2126
 \8\ Cell: 617.803.6804





[flexcoders] [Apollo] Slow rendering of maps

2007-03-19 Thread Sreejith Unnikrishnan
I was running the Maptacular application and I noticed that the map 
tiles was loading very slowly than it would on a browser. Also, the 
images seem to be ghost-imaged in the window, I mean, while you pan 
there images don't refresh quickly.

Is there a downside to trying to loading images with Apollo? Or is it 
just a performance problem that will be looked into?

~sree


[flexcoders] Re: Fascinating problem hiding columns in a DataGrid

2007-03-19 Thread Peter Demling
Thanks, Michael - this initially didn't work, but it made me realize
why some previous attempts of mine also failed: since RemoteObject is
my dataProvider, I have to wait until the (asynchronous) call to this
service completes, before doing any overrides in code after the
service call; my earlier attempts changed the visible property
immediately after the code line that invoked the RemoteObject - i.e.,
I had assumed the call was synchronous.

So I set the result property of the RemoteObject to hideName(),
with hideName() declared as follows (same thing your code does):

private function hideName():void {
myDataGrid.columns[0].visible = true; 
myDataGrid.columns[0].visible = false;
}

There's still an annoying screen flicker (as the column is very
briefly visible), but it's a workaround.  Glad to also hear that the
next patch will fix this.

Thanks again!  This is a great forum.

-Peter Demling
 Lexington, MA

--- In flexcoders@yahoogroups.com, Michael Imhoff [EMAIL PROTECTED] wrote:

 Hi Peter,
 
  
 
 I recently posted about a very similar issue that might be of some help.
 Please take a look at

http://michael.omnicypher.com/2007/03/issues-with-datagrid-column-visibility
 .html and let me know if that does the trick.
 
  
 
 Hope this helps,
 
 Michael
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sanjaypmg
 Sent: Friday, March 16, 2007 1:43 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Fascinating problem hiding columns in a
DataGrid
 
  
 
 Hi,
 
 I have done the same using remote object but didnt face this sort of 
 problem. I am making the columns visible/invisible on the basis of 
 value coming frm the database...
 
 Thanks
 Sanjay
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com,
 Peter Demling pdemling@ 
 wrote:
 
  While a problem for me, I find the following behavior fascinating 
 and
  inexplicable; so here's a good challenge for any Flexlock Holmes 
 out
  there (full code is below - 26 lines, fairly simple):
  
  I have a DataGrid that's using a RemoteObject as its dataProvider, 
 and
  I initialize the 'visible' propery of its first dataGridColumn to
  false. On startup, this column (labelled Name) is hidden - so
  far, so good.
  
  Next I click my GetData button to invoke the RemoteObject's 
 service,
  and poof! The column becomes visible - even though the debugger
  verified that its visible property remains false!
  
  So now I click my HideName Button, which forcibly sets the 
 visible
  property of this Name column to false. The debugger verifies 
 that
  its false before I click it, and its false after I click it. 
 Still,
  the column remains visible.
  
  So just for the heck of it I click my ShowName Button, which
  forcibly sets the visible property of the Name column to true. 
 The
  debugger verifies that the value is changed to true - and as an 
 added
  bonus, it increases the width of the Name column from 50 to 100! 
 Okay...
  
  Finally, I click the HideName Button, and *this* time it works - 
 the
  Name column is now hidden, having worked only after I forced its
  visible prpoerty to true immediately beforehand.
  
  I can replicate this ad nauseum (calling the RemoteObject service
  makes the hidden column visible without setting visible to true;
  forcing the visible value to false works only after forcing it to
  true), but it only happens when the dataProvider is remoteObject, 
 and
  the forcing of the visible value only shows the column when done 
 via
  Buttons (it does not work directly in code right after calling the
  RemoteObject service).
  
  Full code is below. I tracked every single Name column variable
  through the debugger, and nothing changes, except for visible and
  width as noted above. I did track down the moment that 
 the ShowName
  button expands the column width (in Button.as, line 2050, function
  focusOutHandler), but I don't know enough about Flex yet to know 
 why
  that would enable column hiding; or why the call to RemoteObject is
  revealing my invisible column in the first place, for that matter.
  
  Started out just wanting to hide some DataGrid columns, but went
  pretty far down the rabbit hole. Thanks for any input!
  
  -Peter Demling
  Lexington, MA
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.
 http://www.adobe.com/2006/mxml com/2006/mxml
  layout=absolute
  
  mx:RemoteObject id=srv destination=employees/
  
  mx:DataGrid id=myDataGrid
  dataProvider={srv.getEmployees.lastResult}
  mx:columns
  mx:DataGridColumn visible=false
  headerText=Name dataField=name /
  mx:DataGridColumn
  headerText=Group dataField=group/
  /mx:columns
  /mx:DataGrid
  
  mx:Button label=Get Data click=srv.getEmployees();
  x=10 y=170/ 
  mx:Button label=Hide name column 
  click=myDataGrid.columns[0].visible=false; 
  y=230 x=10/ 
  mx:Button label=Show name column
 

[flexcoders] E4X perf?

2007-03-19 Thread Kirk Marple
I've heard several difference rumors/myths about the performance of using
XML with E4X in AS3.

 

I was hoping I could get some more real-world feedback from the folks here.

 

We're considering two options:

- return XML from REST web service, parse into value objects (using E4X),
store VOs in model, databind VOs to view, edit VOs, serialize back to XML,
invoke REST web service to update

- return XML from REST web service, store XML in model, databind XML to
view, edit XML, invoke REST web service to update

 

Are there major perf differences between the two options?


Are there other reasons to go with one vs the other?  

Since Cairngorm promotes the usage of VOs, I'd been originally heading down
that route, but then started feeling like we could get everything we need
with E4X and native XML.

 

Thoughts/comments?



Thanks for the input,

Kirk

 

 



[flexcoders] Re: HTTP Header with navigateToUrl

2007-03-19 Thread Paul DeCoursey
Was this ever solved?  I am having the same issue... my headers are
not being transfered to the server reliably.

--- In flexcoders@yahoogroups.com, Harald Dehn [EMAIL PROTECTED] wrote:

 Hi, 
 
  
 
 I am trying to submit a custom http-header with the navigateToUrl
 function. Unfortunately my custom header SessionID will not
transferred to
 the iis. Where is my mistake?
 
  
 
 Thanks for any help,
 
 Harald
 
  
 
  
 
 Code:
 
  
 
 var urlReq:URLRequest = new URLRequest(Order.ashx?cmd=print);
 
  
 
   urlReq.method = URLRequestMethod.GET;
 
   urlReq.requestHeaders = [new URLRequestHeader(SessionID,
 1234567)];
 
  
 
   navigateToURL(urlReq);
 
  
 
  
 
  
 
  
 
 Http Request:
 
  
 
 HTTP_CONNECTION:Keep-Alive
 
 HTTP_ACCEPT:*/*
 
 HTTP_ACCEPT_ENCODING:gzip, deflate
 
 HTTP_ACCEPT_LANGUAGE:de
 
 HTTP_HOST:www.project-fe.net
 
 HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
.NET CLR
 1.1.4322; .NET CLR 2.0.50727)
 
 HTTP_UA_CPU:x86
 
 Connection: Keep-Alive
 
 Accept: */*
 
 Accept-Encoding: gzip, deflate
 
 Accept-Language: de
 
 Host: www.project-fe.net
 
 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
 1.1.4322; .NET CLR 2.0.50727)





[flexcoders]Apollo Training Videos by Mike Chambers free at Lynda.com

2007-03-19 Thread dorkie dork from dorktown

Apollo Training videos by Mike Chambers are free on Lynda.comhttp://lynda.com/

http://movielibrary.lynda.com/html/modPage.asp?ID=378

Join Mike Chambers, Adobe's Senior Product Manager for Developer Relations,
as he gives an exclusive, hands-on glimpse of the alpha version Apollo: a
powerful new development tool from Adobe. Web developers fluent in Flash,
Flex, HTML, JavaScript, and Ajax have been promised a smooth transitional
tool for building cross-platform desktop and hybrid web/desktop
applications, and Mike shows just how Apollo fulfills this promise.

In honor of the free posting of alpha software by Adobe on Adobe
Labshttp://labs.adobe.com/,
lynda.com is making this online training totally free to the community. Stay
tuned for a full-fledged training course once Apollo is finalized and for
sale.


Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/

2007-03-19 Thread dorkie dork from dorktown

Apollo Training videos by Mike Chambers are available free on
Lynda.comhttp://lynda.com/

http://movielibrary.lynda.com/html/modPage.asp?ID=378

Join Mike Chambers, Adobe's Senior Product Manager for Developer Relations,
as he gives an exclusive, hands-on glimpse of the alpha version Apollo: a
powerful new development tool from Adobe. Web developers fluent in Flash,
Flex, HTML, JavaScript, and Ajax have been promised a smooth transitional
tool for building cross-platform desktop and hybrid web/desktop
applications, and Mike shows just how Apollo fulfills this promise.

In honor of the free posting of alpha software by Adobe on Adobe
Labshttp://labs.adobe.com/,
lynda.com is making this online training totally free to the community. Stay
tuned for a full-fledged training course once Apollo is finalized and for
sale.


On 3/19/07, Angus Johnson [EMAIL PROTECTED] wrote:


no wavering on my part! ...though you might need to supply some Berocca at
your BOF Andrew ;)

On 19/03/07, Andrew Muller  [EMAIL PROTECTED] wrote:

   And don't forget that both Mike Downey and Mike Chambers are
 presenting an Apollo opening keynote at webDU here in Sydney on
 Thursday so if you're in Australia and wavering perhaps now is the
 time to book those tickets...

 On 18 Mar 2007 22:32:26 -0700, Matt Chotin [EMAIL 
PROTECTED]mchotin%40adobe.com
 wrote:
 
 
 
 
 
 
 
  give it a few hours before you start commenting on broken links,
 they're
  still working out some kinks :-) but have fun!
 
  
  From: flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.com[mailto:flexcoders@yahoogroups.comflexcoders%40yahoogroups.com]
 On
  Behalf Of Bjorn Schultheiss
  Sent: Sunday, March 18, 2007 10:31 PM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] Apollo Now Live on Labs |
  http://labs.adobe.com/technologies/apollo/
 
 
 
 
 
  oh yeah boy!
 
 
 
 
 
  On 19/03/2007, at 3:54 PM, greg h wrote:
 
 
 
 
 
 
 
  http://labs.adobe.com/technologies/apollo/
 
 
 
 
 
 
 
 
 

 --
 --
 Andrew Muller
 http://www.webqem.com






[flexcoders] Issue Drag and drop of Flex 2 Chart with Javascript in IE (See demo) Post 2

2007-03-19 Thread Claude Hussenet
 
 I am building an application using the excellent Flex 2 Chart 
framework.
  I have currently an issue when I drag and drop a flex chart in IE 
using Javascript.
  
  In order to pinpoint the issue,I created a simple demo with 2 
charts samples from Adobe.
  
  The demo is located at :
  http://claudehussenet.com/flex/jqueryFlash.html
 
 After the drag and drop,I have to click the chart in order to see it.
  The same code works in Firefox but the states of the chart are lost.

  So,to summarize.
 In IE,the chart does not show up until I click on it.
 In Firefox,the states of the chart are lost.(New Instance of the
chart ? 

  The problem is not specific to the jQuery Flash Plugin that I use 
in the demo.
I was getting the same issue using the HTML code generated by Flex   
builder.
  
  Thank you very much for your help.
  
  Claude Hussenet
 




[flexcoders] Datagrid column width bug? flex 2.0.1

2007-03-19 Thread munene_uk
in my application i can toggle a certain number of columns' visibility
through this code:

 private function displayOptions(item:Number):void
 {


  var visible:Boolean;

 if(dg.columns[item].visible==true)
 {
 dg.columns[item].visible=false;


 }
else if(dg.columns[item].visible==false)
{
dg.columns[item].visible=true;


}

 }

mx:Canvas x=-1 y=150 width=709 height=24
 mx:CheckBox x=0 y=0 label=First name
click=displayOptions(1)/
 mx:CheckBox x=92 y=0 label=DOB
click=displayOptions(3)/
 mx:CheckBox x=176 y=0 label=Address1
click=displayOptions(4)/
 mx:CheckBox x=260 y=0 label=Address2
click=displayOptions(5)/
 mx:CheckBox x=344 y=0 label=Address3
click=displayOptions(6)/
 mx:CheckBox x=428 y=0 label=Postcode
click=displayOptions(7)/
   /mx:Canvas





the display options are just a bunch of checkboxes similar to this
example http://ext.stuff.googlepages.com/TestTable.html
http://ext.stuff.googlepages.com/TestTable.html

now the issue is whenever i turn off a columns visibility and then turn
it on again the same column's width size decreases.
if i repeat this several times on the same column the width gradually
decreases.
after hours of wracking my head round i noticed that this anomally would
only occur if  my datagrid has a set width(mine is set as a percentage)

otherwise without setting the width the toggle works fine.

is this a bug or is there a way to restore the hidden column's width
when shown?







[flexcoders] Re: Browser Print - Print Preview for Flex apps

2007-03-19 Thread mjharris73
Apparently, IE supports printing of Flex content.  Its just Firefox
which prints the blank page.  We don't want to put a print button on
each page of our app, so i'm hoping the flash player group will be
able to find out why printing from Mozilla doesn't work.

Mike


--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote:

 Hi,
 
 You can use the PrintJob or FlexPrintJob API to allow printing. It's
good to
 provide print button in your application.
 
 I am not sure, Flash Player has hooks for Print command from browser. I
 would love to see that in future version of Flash Player.
 
 Probably, hook for text-size from Browser etc.
 
 -abdul
 
 On 16 Mar 2007 19:49:02 -0700, mjharris73 [EMAIL PROTECTED] wrote:
 
We are developing a flex webapp -- ie, an HTML page containing
only a
  swf file. While running our app, if the user selects the Browser's
  File | Print Preview option, all you see is the blank (parent) HTML
  page. The current status of the SWF is not displayed.
 
  Is there a way to print the current page in the Flex app?
 
   
 





[flexcoders] Affinitiz V3.2: english version released!

2007-03-19 Thread Benoit Hediard
Hi everyone!

 

A quick message to inform you that we just launched the English version of
our platform (even if the English is certainly not perfect yet.).

Affinitiz is a web publishing platform that allows you to easily share all
your contents on Internet (text, pictures, video, audio, opinions, polls,
events...), on private communities or public blogs.

Our V1.0 (focused on private communities) was originally launched in 2001,
in French language only.

 

The main publishing/manager app is based on Flex2, may be one of the most
advanced public-facing Flex 2 app on the market (it took me more than 2
years to develop this new version ;) ).

We also have some small Flex2 apps on the public/blog pages : photo
slideshows, polls, comments, audio/video player.

Ex. :
http://www.affinitiz.com/space/fredtrip/content/best-of-paysages_8149D124-DC
C4-4977-A4BF-1985EB672743

 

In fact, this V3.0 is fully based on the Adobe Engagement platform : Flex 2
+ ColdFusion 7 + Flash Media Server 2 (and soon to come Apollo)!

 

To access it : http://www.affinitiz.com (have a look at the 5 min guided
tour that shows the most important features).

On the Web2.0 market, the two most similar recently release platforms are
Marc Andreessen's Ning or SixAppart Vox Groups.

 

We definitely know that it is still far from perfect. so your feedbacks are
welcome.

 

Have fun!

 

Benoit Hediard

#affinitiz.com

 



[flexcoders] Checkbox in Datagrid to Select Items

2007-03-19 Thread subeesh a
Hi All,

Can anyone help me with this 

If i place chek boxes in datagrid column by inline item renderer how can il put 
al the items in the datagrid in wich the check boxes are ticked to an array.

Thanks 

Subeesh



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

[flexcoders] programmatically adding a new column to the datagrid

2007-03-19 Thread Mark McCray

Hey there,
I'm adding columns to the columns array for a datagrid without any  
difficulty. Except for when i try to specify the Header Renderer.


We're building a new column object by writing AS code like :

newColumn.dataField = columnObj.dataField;
newColumn.wordWrap = columnObj.wordWrap;

And we push this onto the columns array and that works fine.



But how do i say that i want the header renderer for the new column  
to be the one that's defined in cmpHeader.mxml in the current  
directory?

Things like the following don't work:

var myHeaderRenderer:DataGridItemRenderer = new DataGridItemRenderer 
(cmpHeader.mxml);

newColumn.headerRenderer = myHeaderRenderer;

-- or --

newColumn.headerRenderer = cmpheader.mxml;

-- or --

newColumn.headerRenderer = cmpHeader;


Thanks!
marky



[flexcoders] logout user after cookie expires (state change)

2007-03-19 Thread TCash21
Hi all,
I'm using PHP + Flex, and I'm pretty new to using sessions and session
data.  I've figured out how to create a cookie, make it expire, etc...

I need to check the session ID with every HTTPService request, and if
it's not valid, log the user out (make a state change in Flex). 

Also, if the cookie expires, I need the user to be logged out.

Does anyone know how I can check this and trigger a state change (to
logged out state)?  

Thanks



RE: [flexcoders] logout user after cookie expires (state change)

2007-03-19 Thread Duke, Alfred W [YOH Contractor for Sprint]
using onreadystatechange



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of TCash21
Sent: Monday, March 19, 2007 11:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] logout user after cookie expires (state change)



Hi all,
I'm using PHP + Flex, and I'm pretty new to using sessions and session
data. I've figured out how to create a cookie, make it expire, etc...

I need to check the session ID with every HTTPService request, and if
it's not valid, log the user out (make a state change in Flex). 

Also, if the cookie expires, I need the user to be logged out.

Does anyone know how I can check this and trigger a state change (to
logged out state)? 

Thanks



 


RE: [flexcoders] Re: Unbelievably embarassing question - making components talk (and modules) amongst

2007-03-19 Thread Tracy Spratt
First, bigImage.source={data.piclink}; will not work.  You cannot
use binding braces in AS code. 

 

Second, where is the data object you reference in that line?

 

I suspect you really want something like:

public function thumbChanged(event:Event):void {

  var xmlData:xml = XML(event.target.selectedItem);

  var sPicLink:String = [EMAIL PROTECTED];
  Application.application.galleries_module1.imagetabs.bigImage.source =
sPicLink;
 
Application.application.galleries_module1.thumbloader.thumbService.send(
);

 

Tracy



 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of shawn.gibson
Sent: Sunday, March 18, 2007 1:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Unbelievably embarassing question - making
components talk (and modules) amongst

 

OK well I'm I guess one or two lines from making the 'simple' version 
work. When I hard-code the following in my thumbChanged method, it 
works...well if loading the same image no matter what thumb you click 
means it works LOL:

Application.application.galleries_module1.imagetabs.bigImage.source=a
ssets/galleries/CD2.jpg;

But when I try to grab the proper {data.piclink} which corelates to 
the thumblink after clicking (i.e., the right image in the XML file), 
I get, well, nothing, not even an error LOL...but no image 
either...it DOES make the broken image link go blip, but it doesn't 
load. Here's what I am trying to do, but please keep in mind, with 
this sort of thing, I still have absolutely no idea what I'm doing 
yet (the source code in the HBox works, but my thumbChanged method is 
frying):

mx:Script
![CDATA[

import mx.containers.HBox;//???
import mx.core.Application;
//import mx.core.Application;

[Bindable]
public var selectedThumb:XML;

// Event handler for the Tree control change event.
public function thumbChanged(event:Event):void {

Application.application.galleries_module1.imagetabs.bigImage.s
ource={data.piclink};

Application.application.galleries_module1.thumbloader.thumbSer
vice.send();

//Application.application.galleries_module1.imagetabs.bigImage
.source={data.piclink};
//selectedHBoxItem=HBox(event.target).selectedThumb 
as XML;
//Application.application.thumbService.lastResult.galle
ry.piece.piclink.url=selectedThumb.piclink;
// parentDocument.thumbloader.thumbService.send();
//Application.application.thumbService.send();
};

]]

/mx:Script

mx:HBox click=thumbChanged(event);
id=thumbbox width=100% height=100% 
verticalAlign=middle verticalGap=0
verticalScrollPolicy=off horizontalAlign=center 
backgroundColor=#00 backgroundAlpha=0.0
mx:Image id=img source={data.thumblink} 
horizontalAlign=center verticalAlign=middle height=75%/
/mx:HBox
/mx:Canvas

As usual, the source is available if I'm clear as mud...I'd really 
appreciate any help here, because I've spent all weekend on it and 
I'm just totally lost: 

http://www.shawngibson.com/faceitphoto.ca/shawn/index.html
http://www.shawngibson.com/faceitphoto.ca/shawn/index.html 

(click the Galleries button, anything else will probably blow up...)

Shawn

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Tracy Spratt [EMAIL PROTECTED] wrote:

 Yes, also Application.application will give you a reference to the
 top-level application. As I said in my other post, there are many 
ways.
 
 Tracy
 
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of shawn.gibson
 Sent: Thursday, March 15, 2007 6:15 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Re: Unbelievably embarassing question - making
 components talk (and modules) amongst
 
 
 
 I'm sure it goes deeper than this (if you'll pardon the pun), but 
if 
 you add 'parentDocument' to your parent (i.e., 
 parentDocument.thumbloader.etc you get the kind of thing I'm 
hoping, 
 at least for component-to-component-from-within-the-same-module.
 
 I typed the name of the error message into the help screen. Go 
 figure :S
 
 Shawn
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com  mailto:flexcoders%
40yahoogroups.com
 , shawn.gibson shawn.gibson@ 
 wrote:
 
  Thanks to Tracy's earlier help, I was able to get at least the 
ugly 
  (i.e., my) version of HTTPService going (and I'll revisit it to 
  Tracy's specs one I figure this here problem out), but in order 
for 
  me to do it, I had to de-compartmentalize all my code. In other 
  words, I have originally been using an approach where each 
  major 'page' was a module loaded into a state of my main app, and 
  each major chunk of a module was made of a custom component (the 
  entire Tree, it's code, the little stuff; or the entire thumbnail 
  with all it's itemrendering in a HorizontalList...etc)- nice 
  separation of code, easy to understand in 6 months, and no 6,000 
 line 
  files. 

RE: [flexcoders] logout user after cookie expires (state change)

2007-03-19 Thread Duke, Alfred W [YOH Contractor for Sprint]
Tanya,
You can all of this using AJAX with flex



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of TCash21
Sent: Monday, March 19, 2007 11:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] logout user after cookie expires (state change)



Hi all,
I'm using PHP + Flex, and I'm pretty new to using sessions and session
data. I've figured out how to create a cookie, make it expire, etc...

I need to check the session ID with every HTTPService request, and if
it's not valid, log the user out (make a state change in Flex). 

Also, if the cookie expires, I need the user to be logged out.

Does anyone know how I can check this and trigger a state change (to
logged out state)? 

Thanks



 


RE: [flexcoders] programmatically adding a new column to the datagrid

2007-03-19 Thread Alex Harui
newColumn.headerRenderer = new ClassFactory(myHeaderRenderer);

 

MXMLC generates this code for you when you say
headerRenderer=myHeaderRenderer in MXML.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark McCray
Sent: Monday, March 19, 2007 9:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] programmatically adding a new column to the
datagrid

 

Hey there,

I'm adding columns to the columns array for a datagrid without any
difficulty. Except for when i try to specify the Header Renderer.

 

We're building a new column object by writing AS code like :

 

newColumn.dataField = columnObj.dataField;

newColumn.wordWrap = columnObj.wordWrap;

 

And we push! this onto the columns array and that works fine.

 

 

 

But how do i say that i want the header renderer for the new column to
be the one that's defined in cmpHeader.mxml in the current directory?

Things like th! e following don't work:

 

var myHeaderRenderer:DataGridItemRenderer = new
DataGridItemRenderer(cmpHeader.mxml);

newColumn.headerRenderer = myHeaderRenderer;

 

-- or --

 

newColumn.headerRenderer = cmpheader.mxml;

 

-- or --

 

newColumn.headerRenderer = cmpHeader;

 

 

Thanks!

marky! 

 

 



RE: [flexcoders] generated html wraper to pass args to swf?

2007-03-19 Thread Tracy Spratt
You pass values into the swf loading in the FlashPlayer using
flashvars.

 

If you are using the wrapper generated by Flex Builder, then look at the
code of that html.  You will see that the Flash Player is actually
intantiated in code in a .js file, in order to avoid the IE7 click to
use prompt.  All yo need to do to add your values is to add/edit the
flashvars line in the call to the AC_FL_RunContent() function.  Here is
one of mine:

flashvars,'dataSourceUrl=' + _sDataSourceUrl + 'assetsUrl=' +
_sAssetsUrl + '',

 

If you are writing your own html wrapper, use similar techniques on your
own.

 

Tracy



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of v.cekvenich
Sent: Sunday, March 18, 2007 11:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] generated html wraper to pass args to swf?

 

I can pass pam to swt using some.swf?arg=23?arg2=3 and that works.

but if some.swf is wraped in html (and it has to be in my case), how 
do i edit the generated html to pass that arg?
ex some.html?arg=23?arg2=3 passed to the swf?

tia,
.V

 



[flexcoders] Re: Date format - internal and external

2007-03-19 Thread darylgmyers
Still need help:

I have to assume that this functionality is needed all the time when 
using Flex with a database application.  I must be overlooking the 
solution.

I have a currency field which is retrived via a remoting service and 
the data is 123.45.  When I display it in a form I need to format it as 
$123.45.  I have done that with the currencyformatter.  But now when I 
need to return the data to the server I want the raw data (unformatted) 
as 123.45. 



--- In flexcoders@yahoogroups.com, darylgmyers [EMAIL PROTECTED] 
wrote:

 I have a VO which contains a date field formatted as 2007-01-01.  
This 
 is how the HTTP service retrieves the data.  I want to format the 
date 
 as 01/01/2007 in the display but keep the internal date 2007-01-01 so 
 that I can send the VO back for update.  What is the best way to keep 
 the internal date formatted one way and the external date formatted 
 another.
 
 This same issue will come into play with currency fields, etc.





RE: [flexcoders] Re: Urgent call for Flex Portlet (Flex Taglibs) specialists (James Ward, help!)

2007-03-19 Thread Matt Chotin
your first email arrived 5 hours earlier than this in the middle of the
night for most folks in north america, so give folks a little time :-)
I'll see if anyone on the enterprise team knows anything.
 
Matt



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of johan.wasserman
Sent: Monday, March 19, 2007 7:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Urgent call for Flex Portlet (Flex Taglibs)
specialists (James Ward, help!)



Is there a point to posting questions and calls for assistance here?

Where are all the really good guys out there that can actually solve 
some challanging issues to get Flex used in more and more 
applications?

I really need assistance, what's going to happen next? Let my client 
choose other technology or try to get this Flex thing to work? I'll 
implement the solution, no matter what the technology, but I am proud 
of Flex and would like to see it work, how about you?

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, johan.wasserman 
[EMAIL PROTECTED] wrote:

 I have tried and tried, fried my brain, and I am desperate.
 
 I firstly wrote a simple portlet and tried to present a flex page 
on 
 JBoss portal, unsuccessfull because of the -
 java.lang.NullPointerException
 at flex.server.j2ee.cache.CacheKeyUtils.generateJspCacheKe 
 (CacheKeyUtils.java:68)
 
 OR
 generateSwfCacheKey(CacheKeyUtils.java:54) if I try to show the 
mxml 
 file directly, without going through the taglib.
 
 - error.
 
 Then, with effort, learned how another portal server works, I 
 inastalled and configured Jetspeed 2, and after trying just about 
 every trick in the book, had to give up and realised the same -
 java.lang.NullPointerException
 at flex.server.j2ee.cache.CacheKeyUtils.generateJspCacheKey
 (CacheKeyUtils.java:68)
 
 - error haunting me.
 
 I have a simple, yet urgent requirement, I need to make Flex 
 applications available as portlets, on (prefferably) an Appache 
 opensource portal server.
 
 PLEASE will SOMEONE help me?!
 
 I'll send my JBoss and / or Jetspeed 2 installation, zipped, so you 
 can have the full config and everything I have done, I'll send the 
 MySQL databases for these portal servers, ANYTHING, just say what 
you 
 need.
 
 The only common denominator is that both these portal servers are 
 based on Apache Tomcat
 
 PLEASE PLEASE ASSIST.




 


[flexcoders] Re: logout user after cookie expires (state change)

2007-03-19 Thread TCash21
Any chance it's possible without using AJAX?


--- In flexcoders@yahoogroups.com, Duke, Alfred W [YOH Contractor for
Sprint] [EMAIL PROTECTED] wrote:

 Tanya,
 You can all of this using AJAX with flex
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of TCash21
 Sent: Monday, March 19, 2007 11:24 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] logout user after cookie expires (state change)
 
 
 
 Hi all,
 I'm using PHP + Flex, and I'm pretty new to using sessions and session
 data. I've figured out how to create a cookie, make it expire, etc...
 
 I need to check the session ID with every HTTPService request, and if
 it's not valid, log the user out (make a state change in Flex). 
 
 Also, if the cookie expires, I need the user to be logged out.
 
 Does anyone know how I can check this and trigger a state change (to
 logged out state)? 
 
 Thanks





RE: [flexcoders] Checkbox in Datagrid to Select Items

2007-03-19 Thread Tracy Spratt
When the user clicks a checkbox in the itemRenderer, the renderer must update a 
selected property on the dataProvider item with the value of the checkbox 
selected property.  This is required.  Editable renderers must be driven from 
the dataProvider.

 

Then, you can loop through the dataProvider, test for the value of the selected 
property, then put the data into the array.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of subeesh 
a
Sent: Monday, March 19, 2007 11:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Checkbox in Datagrid to Select Items

 

Hi All,

 

Can anyone help me with this 

 

If i place chek boxes in datagrid column by inline item renderer how can il put 
al the items in the datagrid in wich the check boxes are ticked to an array.

 

Thanks 

 

Subeesh 

 



Here’s a new way to find what you're looking for - Yahoo! Answers 
http://us.rd.yahoo.com/mail/in/yanswers/*http:/in.answers.yahoo.com/  

 



[flexcoders] Re: Unbelievably embarassing question - making components talk (and modules) amongst

2007-03-19 Thread shawn.gibson
Yikes, I never saw this. I think I am linking to these things wrong. 
I just subscribed to the digest because I was getting hundreds of 
emails. 

Thanks Tracy, I spent the whole weekend on this, got nowhere. I will 
have this up and running ASAP, hopefully. Here's where I ended up at 
the end, but your code makes a lot of sense...I couldn't figure out 
how to deal with the XML part considering I was trying to grab it 
from somewhere else, and then throw it somewhere else:

...OK nevermind I guess I un-src'ed the srcview:(

Also, in effort to homogenize my efforts, I also made the 2 
different HTTPService XML files (galleriesData.xml 
and 'alltheindividualgalleries'.xml) E4X with attributes per node as 
opposed to many nodes, and the logic is much more clear now. I'll 
post what I have when I get home:)

I think your code is exactly the right idea. As always, I appreciate 
it very much:) You take cheques?

Shawn

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] 
wrote:

 First, bigImage.source={data.piclink}; will not work.  You 
cannot
 use binding braces in AS code. 
 
  
 
 Second, where is the data object you reference in that line?
 
  
 
 I suspect you really want something like:
 
 public function thumbChanged(event:Event):void {
 
   var xmlData:xml = XML(event.target.selectedItem);
 
   var sPicLink:String = [EMAIL PROTECTED];
   
Application.application.galleries_module1.imagetabs.bigImage.source =
 sPicLink;
  
 
Application.application.galleries_module1.thumbloader.thumbService.se
nd(
 );
 
  
 
 Tracy
 
 
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of shawn.gibson
 Sent: Sunday, March 18, 2007 1:39 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Unbelievably embarassing question - 
making
 components talk (and modules) amongst
 
  
 
 OK well I'm I guess one or two lines from making the 'simple' 
version 
 work. When I hard-code the following in my thumbChanged method, it 
 works...well if loading the same image no matter what thumb you 
click 
 means it works LOL:
 
 
Application.application.galleries_module1.imagetabs.bigImage.source=
a
 ssets/galleries/CD2.jpg;
 
 But when I try to grab the proper {data.piclink} which corelates 
to 
 the thumblink after clicking (i.e., the right image in the XML 
file), 
 I get, well, nothing, not even an error LOL...but no image 
 either...it DOES make the broken image link go blip, but it 
doesn't 
 load. Here's what I am trying to do, but please keep in mind, with 
 this sort of thing, I still have absolutely no idea what I'm doing 
 yet (the source code in the HBox works, but my thumbChanged method 
is 
 frying):
 
 mx:Script
 ![CDATA[
 
 import mx.containers.HBox;//???
 import mx.core.Application;
 //import mx.core.Application;
 
 [Bindable]
 public var selectedThumb:XML;
 
 // Event handler for the Tree control change event.
 public function thumbChanged(event:Event):void {
 
 Application.application.galleries_module1.imagetabs.bigImage.s
 ource={data.piclink};
 
 Application.application.galleries_module1.thumbloader.thumbSer
 vice.send();
 
 //Application.application.galleries_module1.imagetabs.bigImage
 .source={data.piclink};
 //selectedHBoxItem=HBox(event.target).selectedThumb 
 as XML;
 //Application.application.thumbService.lastResult.galle
 ry.piece.piclink.url=selectedThumb.piclink;
 // parentDocument.thumbloader.thumbService.send();
 //Application.application.thumbService.send();
 };
 
 ]]
 
 /mx:Script
 
 mx:HBox click=thumbChanged(event);
 id=thumbbox width=100% height=100% 
 verticalAlign=middle verticalGap=0
 verticalScrollPolicy=off horizontalAlign=center 
 backgroundColor=#00 backgroundAlpha=0.0
 mx:Image id=img source={data.thumblink} 
 horizontalAlign=center verticalAlign=middle height=75%/
 /mx:HBox
 /mx:Canvas
 
 As usual, the source is available if I'm clear as mud...I'd really 
 appreciate any help here, because I've spent all weekend on it and 
 I'm just totally lost: 
 
 http://www.shawngibson.com/faceitphoto.ca/shawn/index.html
 http://www.shawngibson.com/faceitphoto.ca/shawn/index.html 
 
 (click the Galleries button, anything else will probably blow 
up...)
 
 Shawn
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , Tracy Spratt tspratt@ wrote:
 
  Yes, also Application.application will give you a reference to 
the
  top-level application. As I said in my other post, there are 
many 
 ways.
  
  Tracy
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 ] On
  Behalf Of shawn.gibson
  Sent: Thursday, March 15, 2007 6:15 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com 
  Subject: [flexcoders] Re: Unbelievably embarassing question - 
making
  components talk (and modules) amongst
  
  
  
  I'm sure it goes deeper than this (if 

RE: [flexcoders] Checkbox in Datagrid to Select Items

2007-03-19 Thread Alex Harui
FWIW, by writing even more code, you can avoid the looping.  You'd have to have 
a known central registry that customized checkboxes notify when clicked.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy 
Spratt
Sent: Monday, March 19, 2007 10:58 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Checkbox in Datagrid to Select Items

 

When the user clicks a checkbox in the itemRenderer, the renderer must update a 
selected property on the dataProvider item with the value of the checkbox 
selected property.  This is required.  Editable renderers must be driven from 
the dataProvider.

 

Then, you can loop through the dataProvider, test for the value of the selected 
property, then put the data into the array.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of subeesh 
a
Sent: Monday, March 19, 2007 11:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Checkbox in Datagrid to Select Items

 

Hi All,

 

Can anyone help me with this 

 

If i place chek boxes in datagrid column by inline item renderer how can il put 
al the items in the datagrid in wich the check boxes are ticked to an array.

 

Thanks 

 

Subeesh 

 



Here’s a new way to find what you're looking for - Yahoo! Answers 
http://us.rd.yahoo.com/mail/in/yanswers/*http:/in.answers.yahoo.com/  

 



RE: [flexcoders] Re: Date format - internal and external

2007-03-19 Thread Tracy Spratt
The formatter should just format the display, using a renderer or a
labelfunction.  The underlying data in the dataProvider will still be a
plain number.

Tracy



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of darylgmyers
Sent: Monday, March 19, 2007 11:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Date format - internal and external

 

Still need help:

I have to assume that this functionality is needed all the time when 
using Flex with a database application. I must be overlooking the 
solution.

I have a currency field which is retrived via a remoting service and 
the data is 123.45. When I display it in a form I need to format it as 
$123.45. I have done that with the currencyformatter. But now when I 
need to return the data to the server I want the raw data (unformatted) 
as 123.45. 

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, darylgmyers [EMAIL PROTECTED] 
wrote:

 I have a VO which contains a date field formatted as 2007-01-01. 
This 
 is how the HTTP service retrieves the data. I want to format the 
date 
 as 01/01/2007 in the display but keep the internal date 2007-01-01 so 
 that I can send the VO back for update. What is the best way to keep 
 the internal date formatted one way and the external date formatted 
 another.
 
 This same issue will come into play with currency fields, etc.


 



Re: [flexcoders] Checkbox in Datagrid to Select Items

2007-03-19 Thread subeesh a
Thanks Tracy,

That was a great help. Can u please explain in detail in how can i update the 
dataprovider

Subeesh


- Original Message 
From: Tracy Spratt [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, 19 March, 2007 10:29:16 PM
Subject: RE: [flexcoders] Checkbox in Datagrid to Select Items

When the user clicks a checkbox in the itemRenderer, the renderer must update a 
“selected” property on the dataProvider item with the value of the checkbox 
selected property.  This is required.  Editable renderers must be driven from 
the dataProvider.
 
Then, you can loop through the dataProvider, test for the value of the selected 
property, then put the data into the array.
 
Tracy
 



From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf 
Of subeesh a
Sent: Monday, March 19, 2007 11:06 AM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] Checkbox in Datagrid to Select Items
 
Hi All,
 
Can anyone help me with this 
 
If i place chek boxes in datagrid column by inline item renderer how can il put 
al the items in the datagrid in wich the check boxes are ticked to an array.
 
Thanks 
 
Subeesh 
 



Here’s a new way to find what you're looking for - Yahoo! Answers 




__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

[flexcoders] Re: Date format - internal and external

2007-03-19 Thread darylgmyers
What about when the data has been changed by the user?  The 
TextInput.text is now the formatted data.  How do I access the raw 
data and keep my model up to date with the raw data? 

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 The formatter should just format the display, using a renderer or a
 labelfunction.  The underlying data in the dataProvider will still 
be a
 plain number.
 
 Tracy
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of darylgmyers
 Sent: Monday, March 19, 2007 11:45 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Date format - internal and external
 
  
 
 Still need help:
 
 I have to assume that this functionality is needed all the time 
when 
 using Flex with a database application. I must be overlooking the 
 solution.
 
 I have a currency field which is retrived via a remoting service 
and 
 the data is 123.45. When I display it in a form I need to format it 
as 
 $123.45. I have done that with the currencyformatter. But now when 
I 
 need to return the data to the server I want the raw data 
(unformatted) 
 as 123.45. 
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , darylgmyers darylgmyers@ 
 wrote:
 
  I have a VO which contains a date field formatted as 2007-01-01. 
 This 
  is how the HTTP service retrieves the data. I want to format the 
 date 
  as 01/01/2007 in the display but keep the internal date 2007-01-
01 so 
  that I can send the VO back for update. What is the best way to 
keep 
  the internal date formatted one way and the external date 
formatted 
  another.
  
  This same issue will come into play with currency fields, etc.
 





[flexcoders] Re: Date format - internal and external

2007-03-19 Thread darylgmyers
What about when the data has been changed by the user?  The 
TextInput.text is now the formatted data.  How do I access the raw 
data and keep my model up to date with the raw data? 

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 The formatter should just format the display, using a renderer or a
 labelfunction.  The underlying data in the dataProvider will still 
be a
 plain number.
 
 Tracy
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of darylgmyers
 Sent: Monday, March 19, 2007 11:45 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Date format - internal and external
 
  
 
 Still need help:
 
 I have to assume that this functionality is needed all the time 
when 
 using Flex with a database application. I must be overlooking the 
 solution.
 
 I have a currency field which is retrived via a remoting service 
and 
 the data is 123.45. When I display it in a form I need to format it 
as 
 $123.45. I have done that with the currencyformatter. But now when 
I 
 need to return the data to the server I want the raw data 
(unformatted) 
 as 123.45. 
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , darylgmyers darylgmyers@ 
 wrote:
 
  I have a VO which contains a date field formatted as 2007-01-01. 
 This 
  is how the HTTP service retrieves the data. I want to format the 
 date 
  as 01/01/2007 in the display but keep the internal date 2007-01-
01 so 
  that I can send the VO back for update. What is the best way to 
keep 
  the internal date formatted one way and the external date 
formatted 
  another.
  
  This same issue will come into play with currency fields, etc.
 





[flexcoders] Re: ComboBox URLs

2007-03-19 Thread danj520
Hi Alex,
Thank you for your great help...one question..how would I pass
appName.selectedItem.url as a string to the HTTPService?

--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 I would expect you would set it up something like this:
 
  
 
 mx:ComboBox id=appName styleName=glass width=161
 change=dispatchFilter();
 mx:dataProvider
 mx:Array
 mx:Object label=All url=http://a.b.com/somehttpservice?filter=all;
 /
 mx:Object label=Cellular Mobile
 url=http://a.b.com/somehttpservice?filter=cellularmobile; /
 
 ...
 /mx:Array
 /mx:dataProvider
 /mx:ComboBox
 
 
 
 private function dispatchFilter():void
 
 {
 
 trace(appName.selectedItem.url); // use this url to fetch the XML
 
 }
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of danj520
 Sent: Sunday, March 18, 2007 11:02 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ComboBox  URLs
 
  
 
 I tried this, but I'm not sure it will work as you suggested. Here's
 what I have for populating the ComboBox and the change event. 
 
 mx:ComboBox id=appName styleName=glass width=161
 change=dispatchFilter();
 mx:dataProvider
 mx:Array
 mx:StringAll/mx:String
 mx:StringCellular Mobile/mx:String
 mx:String12.5V HF SSB/mx:String
 mx:String28V HF SSB/mx:String
 mx:String50V HF SSB/mx:String
 mx:StringCellular Base Station/mx:String
 /mx:Array
 /mx:dataProvider
 /mx:ComboBox
 
 private function dispatchFilter():void
 {
 var event:ProductFilterEvent = 
 new ProductFilterEvent(filter, thumbBeingPressed);
 dispatchEvent(event);
 currentState = showingThumbnails;
 }
 If I choose any option, the dispatchFilter function will filter the
 data based on the option criteria, and it's not what I want, what I
 want is the URL defined for the HTTPService so I can load a new XML
 file on the fly. What I think I need is a different change= function
 to do that. Hopefully, this is not too confusing. Thank you again
 kindly for your time. 
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Alex Harui aharui@ wrote:
 
  Assuming you know the mapping of combobox items to URLs, you can
  populate the array as follows:
  
  
  
  mx:Array
  
  mx:Object label=choice 1 url=http://a.b.com/url1
 http://a.b.com/url1  /
  
  mx:Object label=choice 2 url=http://a.b.com/url2
 http://a.b.com/url2  /
  
  mx:Object label=choice 3 url=http://a.b.com/url3
 http://a.b.com/url3  /
  
  /mx:Array
  
  
  
  The combo box will display choice 1, choice 2, or choice3. When
  an option is selected, selectedItem.url is the url.
  
  
  
  -Alex
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of danj520
  Sent: Sunday, March 18, 2007 10:05 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] ComboBox  URLs
  
  
  
  I hope someone can help. I have a ComboBox that has a list of options.
  When an option is selected, I would like a corresponding XML file to
  be loaded. I assume I have to declare a string variable to assign the
  URL. The ComboBox dataProvider is hard-coded with an mx:Array, but
  I'm stuck on how to assign the URL from the option selected. I
  appreciate any help I can get. I'm familiar with how to load the data
  with HTTPService. Thanks in advance...
 





[flexcoders] LiveDocs Offline

2007-03-19 Thread lostinrecursion
Is anyone else experiencing issues accessing LiveDocs for all Adobe 
technologies today? So far, I am having issues with CF and Flex.

I am receiving page not found errors and strange loading of the docs.

I did a Google and can't believe that if it is the case, we have not 
been notified somehow.

-LIR



Re: [flexcoders] Cairngorm for Apollo?

2007-03-19 Thread Rich Tretola

Perhaps something built in to manage windows?

On 19 Mar 2007 08:02:44 -0700, João Fernandes 
[EMAIL PROTECTED] wrote:


  I know that current cairngorm works fine with Apollo but at MAX they
mentioned that the roadmap was also extend it to support Apollo, so, I
guess is somehow to use some Apollo specific API.

João Fernandes
 





--
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com


[flexcoders] data grids and font formating

2007-03-19 Thread gboro54
Data grids are very column oriented it seems but i need to do more 
work with indivuidal cells and rows. I want the text of certain parts 
of a row to be different for a different value depending on the user 
input.(i.e lets set the value 1 means arhived i want the whole row to 
become italized.) I have been messing around with text formating but 
does anyone have any sugstions on what to do



RE: [flexcoders] Datagrid column width bug? flex 2.0.1

2007-03-19 Thread Alex Harui
There are a number of column width bugs fixed in an updater due out
soon.

 

-Alex

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of munene_uk
Sent: Monday, March 19, 2007 8:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid column width bug? flex 2.0.1

 

in my application i can toggle a certain number of columns' visibility
through this code:

private function displayOptions(item:Number):void
{


 var visible:Boolean;

if(dg.columns[item].visible==true)
{
 ! ;   dg.columns[item].visible=false;


}
   else if(dg.columns[item].visible==false)
   {
   dg.columns[item].visible=true;
   
   nb! sp;   
nbs! p;   }
   
}

mx:Canvas x=-1 y=150 width=709 height=24
mx:CheckBox x=0 y=0 label=First name
click=displayOptions(1)/
mx:CheckBox x=92 y=0 label=DOB
click=displayOptions(3)/
mx:CheckBox x=176 y=0 label=Address1
click=displayOptions(4)/mx:CheckBox x=260
y=0 label=Address2 click=displayOptions(5)/
mx:CheckBox x=344 y=0 label=Address3
click=displayOptions(6)/
mx:CheckBox x=428 y=0 label=Postcode
click=displayOptions(7)/
  /mx:Canvas





the display options are just a bunch of checkboxes similar to this
example http://ext.stuff.googlepages.com/TestTable.html
http://ext.stuff.googlepages.com/TestTable.html  

now the issue is whenever i turn off a columns visibility and then turn
it on again the same column's width siz! e decreases.
if i repeat this several times on the same col! umn the width gradually
decreases.
after hours of wracking my head round i noticed that this anomally would
only occur if  my datagrid has a set width(mine is set as a percentage)

otherwise without setting the width the toggle works fine.

is this a bug or is there a way to restore the hidden column's width
when shown?




 



[flexcoders] Re: LiveDocs Offline

2007-03-19 Thread mtthwnthnyhys
Yes!!  It seems intermittent though... I get the Flex 2 Language Reference (at 
the moment) 
but not the Programming AS3 book.  Says: Page Does Not Exist.  Later, when I 
reload the 
same page, it'll work fine. WEIRDNESS!

If it helps at all, I'm on one of those new-fangled Intel MacBook Pros, looking 
at the web 
through Safari.  Just hang in there, keep trying.

//Matt


--- In flexcoders@yahoogroups.com, lostinrecursion [EMAIL PROTECTED] wrote:

 Is anyone else experiencing issues accessing LiveDocs for all Adobe 
 technologies today? So far, I am having issues with CF and Flex.
 
 I am receiving page not found errors and strange loading of the docs.
 
 I did a Google and can't believe that if it is the case, we have not 
 been notified somehow.
 
 -LIR





[flexcoders] Re: Apollo Project Wizard Error

2007-03-19 Thread sam5654295
Be sure that you update FB before in the FB extensions.



[flexcoders] Converting AS3 class into XML

2007-03-19 Thread tungchau81
Hi,
I need to convert an AS3 class into XML based on all the public/private 
properties that the AS3 class has. However, I have not been able to 
find a way or any API that allow me traverse through all properties 
that a class has. This should be a generic way that can be applied to 
any AS3 class.

I did look at the XMLTools.as file written by Michael J. Prichard. 
However, it seems to work with AS2 only. 

Any advice is greatly appreciated. 

Regards,
Tung Chau



[flexcoders] How to DataBind to DateField when Null Values come into play??

2007-03-19 Thread Mike Anderson
Hello All,

What is the proper way to bind Data to a DateField?

I ask this, because I get an error when I bind a Variable contained
within a ValueObject (which contains a Null Value), to a DateField
Control.

Is it safe to say, that this DateField doesn't act like a TextField?  Do
I require a regular Variable cast as a Date to serve as a
go-between, when transferring the ValueObject data to the DateField?

I hope I am properly asking this question :)

Thanks in advance for your help,

Mike


[flexcoders] error with HTTPService

2007-03-19 Thread danj520
Hello,
I'm trying to bind the returned results from a ComboBox to a url in
HTTPService. Flex returns a Value must be quoted error with this
statement:

mx:HTTPService id=productService url={appName.SelectedItem.url}
result=productServiceResultHandler(event)
showBusyCursor=true/

Here's my code for theComboBox.

mx:ComboBox id=appName styleName=glass width=161
change=productService.send();
mx:dataProvider
mx:Array
mx:Object label=”12.5V HF SSB”
url=”data/125-hf-ssb.xml?filter=12vhgssb”/
mx:Object label=”28V HF SSB”
url=”data/28v-hf-ssb.xml?filter=28vhfssb”/
mx:Object label=”50V HF SSB”
url=”data/50v-hf-ssb.xml?filter=50vhfssb”/
mx:Object label=”Cell Basestation”
url=”data/cell-basestation.xml?filter=cellbasestation”/
mx:Object label=”Cellular Mobile”
url=”data/cellular-mobile.xml?filter=cellularmobile”/
mx:Object label=”DME TACAN”
url=”data/dme-tacan.xml?filter=dme-tacan”/

/mx:Array
/mx:dataProvider
/mx:ComboBox
Can't seem to find much in the docs about this, except that url must
be quoted. What am I doing wrong? Thanks in advance.



  1   2   >