Adobe Dreamweaver Forums



Last 10 THreads :         Adobe Flash 10 kills Wimpy (Last Post : midiwriter - Replies : 81 - Views : 949 )           »          How to align XML loading text to right (Last Post : Boxing Boom - Replies : 6 - Views : 7 )           »          Why is this not working!!! (Last Post : Boxing Boom - Replies : 8 - Views : 9 )           »          Referencing stage.stageWidth from a class (Last Post : 60Day - Replies : 2 - Views : 3 )           »          XML image gallery problem (Last Post : 2le - Replies : 3 - Views : 4 )           »          ProgressBar and myPlayer (Last Post : W_Bell - Replies : 0 - Views : 1 )           »          Kintana Dummy Page (Last Post : KiahMom - Replies : 2 - Views : 3 )           »          Re: Unable to Edit Text Captions (Last Post : cegrubb - Replies : 0 - Views : 1 )           »          Performing a search within multiple .as files (Last Post : Rothrock - Replies : 2 - Views : 3 )           »          left join won't work in query of query? (Last Post : Amm85 - Replies : 3 - Views : 4 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 10-01-2008, 02:57 PM
curious_Lee
 
Posts: n/a
Diggs:
Default Strange behavior in Flex Builder 3

I've noticed that at least in my copy of Flex Builder 3, the code-completion
feature doesn't seem to work entirely correctly. I was trying to define a
variable of type ListBaseContentHolder, but typing the dot "." after
listClasses brought up a list of available classes -- but not
ListBaseContentHolder!

var lb:mx.controls.listClasses. // --> could not see that class here.

All the online documentation said it was there, but Flex Builder wouldn't show
it. I typed it in manually,

var lb:mx.controls.listClasses.ListBaseContentHolder;

and it compiled just fine. Any thoughts on what might be going on here?



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-01-2008, 02:57 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Strange behavior in Flex Builder 3


"curious_Lee" <webforumsuser@macromedia.com> wrote in message
news:gbgp4o$ovm$1@forums.macromedia.com...
> I've noticed that at least in my copy of Flex Builder 3, the
> code-completion
> feature doesn't seem to work entirely correctly. I was trying to define a
> variable of type ListBaseContentHolder, but typing the dot "." after
> listClasses brought up a list of available classes -- but not
> ListBaseContentHolder!


I think that one is hidden somehow. I don't think they want you using it.
What's the goal? We might be able to tell you how to achieve it without
using it. The only time I ever used that class, I was doing something I
wouldn't do now that I know better.


Reply With Quote
  #3 (permalink)  
Old 10-01-2008, 02:57 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Strange behavior in Flex Builder 3


"curious_Lee" <webforumsuser@macromedia.com> wrote in message
news:gbgp4o$ovm$1@forums.macromedia.com...
> I've noticed that at least in my copy of Flex Builder 3, the
> code-completion
> feature doesn't seem to work entirely correctly. I was trying to define a
> variable of type ListBaseContentHolder, but typing the dot "." after
> listClasses brought up a list of available classes -- but not
> ListBaseContentHolder!


I think that one is hidden somehow. I don't think they want you using it.
What's the goal? We might be able to tell you how to achieve it without
using it. The only time I ever used that class, I was doing something I
wouldn't do now that I know better.


Reply With Quote


  #4 (permalink)  
Old 10-01-2008, 02:57 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Strange behavior in Flex Builder 3


"curious_Lee" <webforumsuser@macromedia.com> wrote in message
news:gbgp4o$ovm$1@forums.macromedia.com...
> I've noticed that at least in my copy of Flex Builder 3, the
> code-completion
> feature doesn't seem to work entirely correctly. I was trying to define a
> variable of type ListBaseContentHolder, but typing the dot "." after
> listClasses brought up a list of available classes -- but not
> ListBaseContentHolder!


I think that one is hidden somehow. I don't think they want you using it.
What's the goal? We might be able to tell you how to achieve it without
using it. The only time I ever used that class, I was doing something I
wouldn't do now that I know better.


Reply With Quote
  #5 (permalink)  
Old 10-01-2008, 02:57 PM
curious_Lee
 
Posts: n/a
Diggs:
Default Re: Strange behavior in Flex Builder 3

Thanks, Amy. Here's what the app needs to do: It has a DataGrid with an inline
ItemRenderer in one column. The ItemRenderer contains a read-only TextInput and
Browse and Upload buttons. The Browse button allows a user to select a file and
the Upload button enables a file upload. Each row represents an item that need
to have an image file associated with it.

I need to reference the ItemRenderer and its TextInput to display what file
was selected; in addition, each row will need to fire off a validation to
ensure files with the correct extension are selected. The ID column's value
from that row will be used as the filename on the server.

I found this article that partially explains how to reference the items in an
ItemRenderer: http://danonflex.com/readarticle.php?article_id=5

The problem: How do you detect which row's ItemRenderer fired off the Click
event -- in other words, which Browse button was clicked? And then how do you
find that row's TextInput within the ItemRenderer?

Thanks.

Reply With Quote
  #6 (permalink)  
Old 10-01-2008, 02:57 PM
curious_Lee
 
Posts: n/a
Diggs:
Default Re: Strange behavior in Flex Builder 3

Thanks, Amy. Here's what the app needs to do: It has a DataGrid with an inline
ItemRenderer in one column. The ItemRenderer contains a read-only TextInput and
Browse and Upload buttons. The Browse button allows a user to select a file and
the Upload button enables a file upload. Each row represents an item that need
to have an image file associated with it.

I need to reference the ItemRenderer and its TextInput to display what file
was selected; in addition, each row will need to fire off a validation to
ensure files with the correct extension are selected. The ID column's value
from that row will be used as the filename on the server.

I found this article that partially explains how to reference the items in an
ItemRenderer: http://danonflex.com/readarticle.php?article_id=5

The problem: How do you detect which row's ItemRenderer fired off the Click
event -- in other words, which Browse button was clicked? And then how do you
find that row's TextInput within the ItemRenderer?

Thanks.

Reply With Quote


  #7 (permalink)  
Old 10-01-2008, 02:57 PM
curious_Lee
 
Posts: n/a
Diggs:
Default Re: Strange behavior in Flex Builder 3

Thanks, Amy. Here's what the app needs to do: It has a DataGrid with an inline
ItemRenderer in one column. The ItemRenderer contains a read-only TextInput and
Browse and Upload buttons. The Browse button allows a user to select a file and
the Upload button enables a file upload. Each row represents an item that need
to have an image file associated with it.

I need to reference the ItemRenderer and its TextInput to display what file
was selected; in addition, each row will need to fire off a validation to
ensure files with the correct extension are selected. The ID column's value
from that row will be used as the filename on the server.

I found this article that partially explains how to reference the items in an
ItemRenderer: http://danonflex.com/readarticle.php?article_id=5

The problem: How do you detect which row's ItemRenderer fired off the Click
event -- in other words, which Browse button was clicked? And then how do you
find that row's TextInput within the ItemRenderer?

Thanks.

Reply With Quote
  #8 (permalink)  
Old 10-01-2008, 02:57 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Strange behavior in Flex Builder 3


"curious_Lee" <webforumsuser@macromedia.com> wrote in message
news:gbhd6g$j1t$1@forums.macromedia.com...
> Thanks, Amy. Here's what the app needs to do: It has a DataGrid with an
> inline
> ItemRenderer in one column. The ItemRenderer contains a read-only
> TextInput and
> Browse and Upload buttons. The Browse button allows a user to select a
> file and
> the Upload button enables a file upload. Each row represents an item that
> need
> to have an image file associated with it.
>
> I need to reference the ItemRenderer and its TextInput to display what
> file
> was selected; in addition, each row will need to fire off a validation to
> ensure files with the correct extension are selected. The ID column's
> value
> from that row will be used as the filename on the server.
>
> I found this article that partially explains how to reference the items in
> an
> ItemRenderer: http://danonflex.com/readarticle.php?article_id=5
>
> The problem: How do you detect which row's ItemRenderer fired off the
> Click
> event -- in other words, which Browse button was clicked? And then how do
> you
> find that row's TextInput within the ItemRenderer?


The item click event's event.target property will have a reference to the
actual row involved. If that doesn't work for you, you can generate a
custom event on from something happening in the renderer and pass whatever
info you need in that event.

HTH;

Amy


Reply With Quote
  #9 (permalink)  
Old 10-01-2008, 02:57 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Strange behavior in Flex Builder 3


"curious_Lee" <webforumsuser@macromedia.com> wrote in message
news:gbhd6g$j1t$1@forums.macromedia.com...
> Thanks, Amy. Here's what the app needs to do: It has a DataGrid with an
> inline
> ItemRenderer in one column. The ItemRenderer contains a read-only
> TextInput and
> Browse and Upload buttons. The Browse button allows a user to select a
> file and
> the Upload button enables a file upload. Each row represents an item that
> need
> to have an image file associated with it.
>
> I need to reference the ItemRenderer and its TextInput to display what
> file
> was selected; in addition, each row will need to fire off a validation to
> ensure files with the correct extension are selected. The ID column's
> value
> from that row will be used as the filename on the server.
>
> I found this article that partially explains how to reference the items in
> an
> ItemRenderer: http://danonflex.com/readarticle.php?article_id=5
>
> The problem: How do you detect which row's ItemRenderer fired off the
> Click
> event -- in other words, which Browse button was clicked? And then how do
> you
> find that row's TextInput within the ItemRenderer?


The item click event's event.target property will have a reference to the
actual row involved. If that doesn't work for you, you can generate a
custom event on from something happening in the renderer and pass whatever
info you need in that event.

HTH;

Amy


Reply With Quote


  #10 (permalink)  
Old 10-01-2008, 02:57 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Strange behavior in Flex Builder 3


"curious_Lee" <webforumsuser@macromedia.com> wrote in message
news:gbhd6g$j1t$1@forums.macromedia.com...
> Thanks, Amy. Here's what the app needs to do: It has a DataGrid with an
> inline
> ItemRenderer in one column. The ItemRenderer contains a read-only
> TextInput and
> Browse and Upload buttons. The Browse button allows a user to select a
> file and
> the Upload button enables a file upload. Each row represents an item that
> need
> to have an image file associated with it.
>
> I need to reference the ItemRenderer and its TextInput to display what
> file
> was selected; in addition, each row will need to fire off a validation to
> ensure files with the correct extension are selected. The ID column's
> value
> from that row will be used as the filename on the server.
>
> I found this article that partially explains how to reference the items in
> an
> ItemRenderer: http://danonflex.com/readarticle.php?article_id=5
>
> The problem: How do you detect which row's ItemRenderer fired off the
> Click
> event -- in other words, which Browse button was clicked? And then how do
> you
> find that row's TextInput within the ItemRenderer?


The item click event's event.target property will have a reference to the
actual row involved. If that doesn't work for you, you can generate a
custom event on from something happening in the renderer and pass whatever
info you need in that event.

HTH;

Amy


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 09:08 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk