Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

flexcoders · RIA Development with Adobe Flex

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 12330
  • Category: Development
  • Founded: Mar 17, 2004
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 10489 - 10518 of 165743   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#10489 From: "b.devis@..." <b.devis@...>
Date: Tue Mar 1, 2005 8:58 am
Subject: Re: help me, please, to make things clear
devis_balsemin
Send Email Send Email
 
Hi Matt,
i have made your correct but flex throws always this worning

flex correct:
<mx:Binding source="{PfVO(vopf[0].stagione.cdc_stag)==undefined
?'':PfVO(vopf[0].stagione.cdc_stag)}" destination="cdc_art.text" />

warning
"Changes to unknown property, stagione, will not be detected" ?????? but
code work well!

There si non method with the name editField
vopf.editField(0, “de50pf”, "CIAO")

Can you help me please
Devis






Matt Chotin ha scritto:

> 1) I think test.mxml looks OK.
>
> 2) The problem is that you are returning an array of PfVO but
> referring to vopf as an individual PfVO. Do this instead:
>
> function onResult(result) {
>
> vopf = result;
>
> }
>
> {PfVO(vopf[0]).stagione.cdc_stag …}
>
> So anywhere you had vopf[0] I think you really need PfVO(vopf[0]).whatever
>
> Method Lista may not be found because maybe the vo you are passing is
> not of the right type? Make sure vo is really an individual PfVO.
>
> 3) You can use editField on an array of the returned objects because
> all Arrays have the DataProvider mixed in.
>
> vopf.editField(0, “stagione”, xxxx)
>
> Hope this helps,
>
> Matt
>
> ------------------------------------------------------------------------
>
> *From:* b.devis@... [mailto:b.devis@...]
> *Sent:* Monday, February 28, 2005 3:49 AM
> *To:* Flex Coders
> *Subject:* [flexcoders] help me, please, to make things clear
>
> I have attached a small project, I don't know very well flash remoting,
> but I am trying to use to integrate me to it with a j2ee architecture.
> I wanted to ask you two things out of politeness,
> 1)se look the file Test.mxml, according to you it is all right as I
> approach for popolore one "Pojo ActionScrtipt"
> 2)Ma the true problem, is that flex when I try to use the class pojo
> "vopf[0]. stagione.cdc_stag" it lifts me some wornings telling me that
> cdc_Stag is not a known type,
> but he works well the same,??? about you it's a bug????
> Last very important thing, is that in the function
> "function Aggiorna(vo:PfVO):Void
> {
> Campionario.Lista(vo);
> }
> "
> flex throws "Method Lista not found", but the think that macaws to
> problem with to cast?
>
> 3) is it possible to use editField with a class "pojo ActionScript", can
> you explain me as?
> Khan you give me your help, also of the suggestions, on as to resolve
> these problems
> Thanks thousand to everybody
> Devis
>
>
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here
>
<http://us.ard.yahoo.com/SIG=129l289th/M=298184.6018725.7038619.3001176/D=groups\
/S=1705007207:HM/EXP=1109730538/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.\
com/Default?mqso=60190075>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/flexcoders/
>     * To unsubscribe from this group, send an email to:
>       flexcoders-unsubscribe@yahoogroups.com
>       <mailto:flexcoders-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

#10490 From: Ketan Bengali <b.ketan@...>
Date: Tue Mar 1, 2005 11:31 am
Subject: ViewStack container
bal_ketan
Send Email Send Email
 
Hi ,

I have 3 diff. pages in a ViewStack container.
I want to reset some values when one of the
page in the viewstack is displayed everytime.

By using which event or any method or way should I achieve this?

--
Regards,

Ketan Bengali
Multimedia Programmer

#10491 From: Manish Jethani <manish.jethani@...>
Date: Tue Mar 1, 2005 11:33 am
Subject: Re: DATAPROVIDER LENGTH
manish_jethani
Send Email Send Email
 
gevgelija50 wrote:

> I have two grids(source and destination) and I am using drag-and-
> drop to populate the destination grid.
>
> I have this working and items are "moved" (sort-of) over to the
> grid. During debugging, I browsed to see the items available in the
> dataProvider for the grid. Items are there but the length of the
> dataProvider is = 0 ??

if the length is 0 then it won't show any items.  can you post some
sample code to demonstrate the problem?  are you querying the property
of the grid's dataprovider directly using myDataGrid.dataProvider.length?

#10492 From: Manish Jethani <manish.jethani@...>
Date: Tue Mar 1, 2005 11:38 am
Subject: Re: ViewStack container
manish_jethani
Send Email Send Email
 
Ketan Bengali wrote:

> I have 3 diff. pages in a ViewStack container.
> I want to reset some values when one of the
> page in the viewstack is displayed everytime.
>
> By using which event or any method or way should I achieve this?

  From the docs:

change --  Broadcast when the selected child container changes. The
event object's target property is a reference to the object that
broadcast the event, namely this container. The type property is the
type of the event, change. The newValue property is the zero-based index
of the child container that is becoming selected. The prevValue property
is the zero-based index of the child container that was previously
selected.

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/ViewStack.html#ev\
ents

#10493 From: "Willem Engelbrecht" <willemengelbrecht@...>
Date: Tue Mar 1, 2005 12:12 pm
Subject: Re: MVC Framework for flex
willemengelbrecht@...
Send Email Send Email
 
Do you have a link or the source of the Flex application
written in ARP

Thanks
Willem Engelbrecht


On Sun, 27 Feb 2005 10:49:41 +1100
  Robin Hilliard <robin@...> wrote:
>
> On 26/02/2005, at 1:44 AM, Abdul Qabiz wrote:
> >  There is another RIA framework called "Ariaware" made
> by Aral. Not
> > sure, if
> >  it works with Flex, but it's good for Flash no doubt.
>
> Yes, Aral has a sample Flex application written in ARP,
> and we've used
> Cairngorm on a Flash project - they mainly differ in the
> way the views
> interact with the controller - Aral has strong views
> against view
> helpers and embedding any code in mxml files.
>
> Robin
>



> http://www.rocketboots.com.au
> Professional Services for Macromedia Development Teams
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

______________________________________________________________
http://www.webmail.co.za the South African FREE email service

#10494 From: "Miguel Diaz Valenzuela" <kyrkovisan@...>
Date: Tue Mar 1, 2005 12:21 pm
Subject: alert specified place
kyrkovisan
Send Email Send Email
 
hi coders, here i´m again

I have to specify 'x' and 'y' value to display an alert
I want to display an alert message but if I don´t set a specific place
in screen

sorry for my very poor english

#10495 From: Matt Chotin <mchotin@...>
Date: Tue Mar 1, 2005 1:58 pm
Subject: RE: help me, please, to make things clear
m_chotin
Send Email Send Email
 
You're casting the wrong thing here, you need to move the casting
parentheses after vopf[0].

<mx:Binding source="{PfVO(vopf[0]).stagione.cdc_stag==undefined
?'':PfVO(vopf[0]).stagione.cdc_stag}" destination="cdc_art.text" />

Where you declare vopf make sure it's now an Array

var vopf : Array;

Based on the Java you sent I think that vopf will be an array, therefore it
will automatically have an editField.  Vopf[0] will be your instance of a
PfVO

Matt

-----Original Message-----
From: b.devis@... [mailto:b.devis@...]
Sent: Tuesday, March 01, 2005 3:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] help me, please, to make things clear


Hi Matt,
i have made your correct but flex throws always this worning

flex correct:
<mx:Binding source="{PfVO(vopf[0].stagione.cdc_stag)==undefined
?'':PfVO(vopf[0].stagione.cdc_stag)}" destination="cdc_art.text" />

warning
"Changes to unknown property, stagione, will not be detected" ?????? but
code work well!

There si non method with the name editField
vopf.editField(0, "de50pf", "CIAO")

Can you help me please
Devis






Matt Chotin ha scritto:

> 1) I think test.mxml looks OK.
>
> 2) The problem is that you are returning an array of PfVO but
> referring to vopf as an individual PfVO. Do this instead:
>
> function onResult(result) {
>
> vopf = result;
>
> }
>
> {PfVO(vopf[0]).stagione.cdc_stag ...}
>
> So anywhere you had vopf[0] I think you really need PfVO(vopf[0]).whatever
>
> Method Lista may not be found because maybe the vo you are passing is
> not of the right type? Make sure vo is really an individual PfVO.
>
> 3) You can use editField on an array of the returned objects because
> all Arrays have the DataProvider mixed in.
>
> vopf.editField(0, "stagione", xxxx)
>
> Hope this helps,
>
> Matt
>
> ------------------------------------------------------------------------
>
> *From:* b.devis@... [mailto:b.devis@...]
> *Sent:* Monday, February 28, 2005 3:49 AM
> *To:* Flex Coders
> *Subject:* [flexcoders] help me, please, to make things clear
>
> I have attached a small project, I don't know very well flash remoting,
> but I am trying to use to integrate me to it with a j2ee architecture.
> I wanted to ask you two things out of politeness,
> 1)se look the file Test.mxml, according to you it is all right as I
> approach for popolore one "Pojo ActionScrtipt"
> 2)Ma the true problem, is that flex when I try to use the class pojo
> "vopf[0]. stagione.cdc_stag" it lifts me some wornings telling me that
> cdc_Stag is not a known type,
> but he works well the same,??? about you it's a bug????
> Last very important thing, is that in the function
> "function Aggiorna(vo:PfVO):Void
> {
> Campionario.Lista(vo);
> }
> "
> flex throws "Method Lista not found", but the think that macaws to
> problem with to cast?
>
> 3) is it possible to use editField with a class "pojo ActionScript", can
> you explain me as?
> Khan you give me your help, also of the suggestions, on as to resolve
> these problems
> Thanks thousand to everybody
> Devis
>
>
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here
>
<http://us.ard.yahoo.com/SIG=129l289th/M=298184.6018725.7038619.3001176/D=gr
oups/S=1705007207:HM/EXP=1109730538/A=2593423/R=0/SIG=11el9gslf/*http://www.
netflix.com/Default?mqso=60190075>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/flexcoders/
>     * To unsubscribe from this group, send an email to:
>       flexcoders-unsubscribe@yahoogroups.com
>       <mailto:flexcoders-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>





Yahoo! Groups Links

#10496 From: "Erik Westra" <ewestra@...>
Date: Tue Mar 1, 2005 2:06 pm
Subject: NetShop phonebuying application
ewestra@...
Send Email Send Email
 
Hey list,

Does any1 know if the source is available on this example application?

http://www.macromedia.com/devnet/flex/example_apps/netshop/moreinfo.html

Im particulairy interested in the way they did the
cellsize-depends-on-amount-of-item thing. More information is show as
there are less products on display. How did they do this?


Greetz Erik

#10497 From: "Erik Westra" <ewestra@...>
Date: Tue Mar 1, 2005 2:15 pm
Subject: RE: Re: Flex Trial Edition - Setting up JRun as Windows Service?
ewestra@...
Send Email Send Email
 
The key in this is to merge both web.xml files.

Say u deployed ColdFusion first. In the cFusion directory there is a
WEB-INF directory. U can open the .war file with winrar or some other
expander and extract its content. Then u need to add all info in the
flex web.xml to the web.xml wich was created by coldFusion. All other
files should just be copied and probably do not overlap.


Greetz Erik



-----Original Message-----
From: Jeff Chastain [mailto:lists@...]
Sent: dinsdag 1 maart 2005 3:39
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex Trial Edition - Setting up JRun as
Windows Service?



I have been messing with this some today and I am having troubles
deploying the flex.war and samples.war on JRun next to ColdFusion.  Is
there any documentation on how to do this?

Also, by doing this, how can I call both CFM files and MXML files on the
IIS localhost without having to go to different port numbers?

Thanks
-- Jeff

#10498 From: "Steven Webster" <swebster@...>
Date: Tue Mar 1, 2005 2:14 pm
Subject: RE: NetShop phonebuying application
swebsteratit...
Send Email Send Email
 
Hi Erik,

> Im particulairy interested in the way they did the
> cellsize-depends-on-amount-of-item thing. More information is
> show as there are less products on display. How did they do this?

We've implemented this same concept of "adaptive presentation" in
Flex, which you can see on the product finder for Caledon Bank:

http://www.caledonbank.com/accountFinder.html

A blog entry discussing this is here:

http://www.richinternetapps.com/archives/000097.html

However, we haven't made source available .. to implement this,
we had to build our own custom container; it's not the most trivial
of tasks :)  But there's no simple way of doing this with effects
and existing containers -- currently, you'll have to implement
your own container and filtering of the dataProvider.

Best,

Steven

--
Steven Webster
Technical Director
iteration::two

This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.

Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.

#10499 From: Tom Fitzpatrick <tom@...>
Date: Tue Mar 1, 2005 2:32 pm
Subject: RE: chart formatting
tom24569
Send Email Send Email
 
At 08:11 PM 2/28/2005, you wrote:
>Tom,
>
>In my chart, I have the following:
>
>// some parent container tag

Rob -

Thanks - that worked perfectly.

And, while I'm at it, thanks for correcting the documentation bug related
to the datatip formatting code, where "data" was substituted for "item" - I
had found that earlier in LiveDocs and was already beaming gratitude your way.

- Tom

#10500 From: "Shell Bryson" <shell.bryson@...>
Date: Tue Mar 1, 2005 2:40 pm
Subject: RE: NetShop phonebuying application
shell.bryson@...
Send Email Send Email
 
Hmmm

This site doesn't do anything if you have JS turned off... It also
causes the browser to run in Quirks mode.




-----Original Message-----
From: Steven Webster [mailto:swebster@...]
Sent: 01 March 2005 14:15
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] NetShop phonebuying application


Hi Erik,

> Im particulairy interested in the way they did the
> cellsize-depends-on-amount-of-item thing. More information is
> show as there are less products on display. How did they do this?

We've implemented this same concept of "adaptive presentation" in
Flex, which you can see on the product finder for Caledon Bank:

http://www.caledonbank.com/accountFinder.html

A blog entry discussing this is here:

http://www.richinternetapps.com/archives/000097.html

However, we haven't made source available .. to implement this,
we had to build our own custom container; it's not the most trivial
of tasks :)  But there's no simple way of doing this with effects
and existing containers -- currently, you'll have to implement
your own container and filtering of the dataProvider.

Best,

Steven

--
Steven Webster
Technical Director
iteration::two

This e-mail and any associated attachments transmitted with it may
contain
confidential information and must not be copied, or disclosed, or used
by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it,
immediately.

Please also note that while software systems have been used to try to
ensure
that this e-mail has been swept for viruses, iteration::two do not
accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.




Yahoo! Groups Links

#10501 From: "Robert Brueckmann" <rbrueckmann@...>
Date: Tue Mar 1, 2005 2:44 pm
Subject: datagrid height
rbrueckmann78
Send Email Send Email
 

Hey guys…I am trying something and getting a strange behavior.  I get an array of objects from the database that becomes the data provider for my datagrid.  I know the length of my data provider thanks to the myDataGrid.dataProvider.length method and I figure I could multiply that number by some arbitrary number of pixels to ensure that however many items are in my data provider, that’s how many rows are visible in my datagrid on the screen…so the datagrid is never scrollable.

 

I’m using a method that sets the dataprovider of the datagrid, myDataGrid.dataProvider = data; and then I’m calling myDataGrid.setSize(Stage.width – 35, myDataGrid.dataProvider.length * 25);

 

The Stage.width – 35 compensates for some other things on the screen to look proportionate and the myDataGrid.dataProvider.length * 25 is just guesstimating that each row in the datagrid component is about 25 pixels high.  Well the first time I tried this, 25 was too large of a number so I adjusted it to 22, which seemed to work but still left me with a little extra bit of a final row visible.  Well that was livable.  Then I get a result set back that only had 2 items in it, instead of the 5 I had been testing this whole thing with and now only one row was visble and you have to scroll down to see the second row, so I increased the 22 to 30 and that fixed it for that but now if I call the original result set with the 5 items, I can see a row and a half extra blank rows.  Is there a better way to dynamically show the number of rows based on the number of items in the data provider?  I wish there was a size attribute like there is with the HTML select list component where if it’s a list you can say I want x-number of rows visible.  I just don’t ever want the user to have to scroll within the datagrid…is there an easier way to do this?

 

Thanks!

 

This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.

#10502 From: "Jeff Chastain" <lists@...>
Date: Tue Mar 1, 2005 2:50 pm
Subject: Re: Flex Trial Edition - Setting up JRun as Windows Service?
fbxsolutions
Send Email Send Email
 
I have seen directions like this before from Ben Forta and was able to
merge the existing ColdFusion web.xml file with the Flex web.xml file.
  However, mxml files still do not complile under IIS, so I assume
there is an IIS mapping I need to setup, but what do I point it to?

Also, how are the Flex sample apps handled?  They appear to have their
own war and web.xml files ... how many web.xml files can you merge?

Thanks
-- Jeff

--- In flexcoders@yahoogroups.com, "Erik Westra" <ewestra@r...> wrote:
> The key in this is to merge both web.xml files.
>
> Say u deployed ColdFusion first. In the cFusion directory there is a
> WEB-INF directory. U can open the .war file with winrar or some other
> expander and extract its content. Then u need to add all info in the
> flex web.xml to the web.xml wich was created by coldFusion. All other
> files should just be copied and probably do not overlap.
>
>
> Greetz Erik
>
>
>
> -----Original Message-----
> From: Jeff Chastain [mailto:lists@g...]
> Sent: dinsdag 1 maart 2005 3:39
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex Trial Edition - Setting up JRun as
> Windows Service?
>
>
>
> I have been messing with this some today and I am having troubles
> deploying the flex.war and samples.war on JRun next to ColdFusion.  Is
> there any documentation on how to do this?
>
> Also, by doing this, how can I call both CFM files and MXML files on the
> IIS localhost without having to go to different port numbers?
>
> Thanks
> -- Jeff

#10503 From: "Steven Webster" <swebster@...>
Date: Tue Mar 1, 2005 2:50 pm
Subject: RE: NetShop phonebuying application
swebsteratit...
Send Email Send Email
 
> This site doesn't do anything if you have JS turned off...

The Flex HTML wrapper requires JavaScript ... it performs
the necessary document.writes()

> also causes the browser to run in Quirks mode.

?!?

#10504 From: "stealthbaz" <russell@...>
Date: Tue Mar 1, 2005 2:54 pm
Subject: Double Clicking -- A Question... and my Answer, the Double Click component.
stealthbaz
Send Email Send Email
 
So as i'm making my first app in Flex, I keep coming across questions.

My first question is:  Is there a built in event handler for
doubleClick detection?

Please respond and let me know if I missed something.

In the meantime after poking around, I could not find one.  So I built
one.  :)

My component has 2 major pieces of functionality.  First it contains
an AS function that can detect a double click.  But since I'm sick in
the head, I didn't stop there.  I added an interface to alter the
speed of the double click, as well as test it.


Below is my component for detecting double click.  If you want to use
it in your app, you simply include it in your app as a component with
no height, width, or visibility. A method in your app can make it
visible for when the user wants to change the settings of the mouse
speed.    I used the shared object to retain the mouse speed settings.

The inclusion line in your App:
-------  CODE  ---------------

<DoubleClick id="doubleClick" visible="false" height="0" width="0"/>

--------  END CODE------------------


Once its in included, you can just reference it in your mouseDown
handlers:

The line to actually detect a double click. (using some imaginary
button in your app)
-----   CODE  ------------------

<mx:Button label="Double Click Me" mouseDown="if
(doubleClick.detectDoubleClick()){mx.controls.Alert.show('Double Click
Detected', '');}"/>

----   END CODE------------------




And lastly, the component itself.
You can alter it, muck with it, or do whatever you want to it.
Critique, pointers, etc.. are all welcome.


----  CODE -----------

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Panel label="Double Click Speed" initialize="l
oadDoubleClickSpeed()">
<mx:Script>
<![CDATA[
/*
---- This component is free to use, alter, distribute, or ignore ----
As I was starting to learn flex, and work on my own first App, I could
not find a way to perform
a double click event handle.


Russell Miner
flex@...

*/

var global_mouseTimer = 0; //The variable to keep track of the last
mouse click time
var doubleClickTime = 300; // The variable to provide the minimum time
needed to elapse for a double click to count

/*
This method will return true if a double click was detected and false
if not.
It should be called as the eventhandler of a mouseDown event.

Eg:    mouseDown="if
(detectDoubleClick()){mx.controls.Alert.show('Double Click Detected',
'');}"

*/
function detectDoubleClick(){
	 var aDate = new Date();
	 var now = aDate.getTime();
	 if (now - global_mouseTimer < doubleClickTime){
		 global_mouseTimer = now;
		 return true;
	 }else{
		 //too slow
		 global_mouseTimer = now;
		 return false;
	 }
}

/*
This method will reload the last setting of the mouse speed
*/
function loadDoubleClickSpeed(){
	 var so:SharedObject = SharedObject.getLocal("_doubleClickTime");
	 doubleClickTime = so.data.doubleClickTime;
}

/*
The handler for the changing of the click speed slider
*/
function handleDoubleClickSpeedChange(event){
	 doubleClickTime = doubleClickSlider.value;
	 var so:SharedObject = SharedObject.getLocal("_doubleClickTime");
	 so.data.doubleClickTime = doubleClickTime;
	 so.flush();
}


/*
These are left to be implemented by the user.  They can make this
component show or hide based on your particular implementation
*/
function showMe(){
}
function hideMe(){

}
]]>



</mx:Script>
     <mx:VBox horizontalAlign="center" verticalGap="20">
	     <mx:Text text="Choose a double click speed in milliseconds, then
test on the button below" width="170" height="48" />
		 <mx:HSlider id="doubleClickSlider"
					 change="handleDoubleClickSpeedChange(event)"
					 minimum="0"
					 maximum="1000"
					 liveDragging="true"
					 tickInterval="100"
					 value="{doubleClickTime}"
					 labels="['0', '1000']"
					 width="75%"/>
		 <mx:Button label="Double Click Me" mouseDown="if
(detectDoubleClick()){mx.controls.Alert.show('Double Click
Detected', '');}"/>
	 </mx:VBox>
</mx:Panel>
</mx:Canvas>
</mx:Application>


----  END CODE ------

#10505 From: Cathy Murphy <cmurphy@...>
Date: Tue Mar 1, 2005 3:00 pm
Subject: RE: Re: Flex Trial Edition - Setting up JRun as Wind ows Service?
cathy2476
Send Email Send Email
 
Check out the following tech notes -

http://www.macromedia.com/support/flex/technotes.html
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19255
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19344
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19258

- Cathy

> -----Original Message-----
> From: Jeff Chastain [mailto:lists@...]
> Sent: Tuesday, March 01, 2005 9:51 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex Trial Edition - Setting up
> JRun as Windows Service?
>
>
>
> I have seen directions like this before from Ben Forta and was able to
> merge the existing ColdFusion web.xml file with the Flex web.xml file.
>  However, mxml files still do not complile under IIS, so I assume
> there is an IIS mapping I need to setup, but what do I point it to?
>
> Also, how are the Flex sample apps handled?  They appear to have their
> own war and web.xml files ... how many web.xml files can you merge?
>
> Thanks
> -- Jeff
>
> --- In flexcoders@yahoogroups.com, "Erik Westra" <ewestra@r...> wrote:
> > The key in this is to merge both web.xml files.
> >
> > Say u deployed ColdFusion first. In the cFusion directory there is a
> > WEB-INF directory. U can open the .war file with winrar or
> some other
> > expander and extract its content. Then u need to add all info in the
> > flex web.xml to the web.xml wich was created by coldFusion.
> All other
> > files should just be copied and probably do not overlap.
> >
> >
> > Greetz Erik
> >
> >
> >
> > -----Original Message-----
> > From: Jeff Chastain [mailto:lists@g...]
> > Sent: dinsdag 1 maart 2005 3:39
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Flex Trial Edition - Setting up JRun as
> > Windows Service?
> >
> >
> >
> > I have been messing with this some today and I am having troubles
> > deploying the flex.war and samples.war on JRun next to
> ColdFusion.  Is
> > there any documentation on how to do this?
> >
> > Also, by doing this, how can I call both CFM files and MXML
> files on the
> > IIS localhost without having to go to different port numbers?
> >
> > Thanks
> > -- Jeff
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

#10506 From: "Shell Bryson" <shell.bryson@...>
Date: Tue Mar 1, 2005 3:06 pm
Subject: RE: NetShop phonebuying application
shell.bryson@...
Send Email Send Email
 
Okay this has strayed off the OP's topic but...

The JS seems to just be writing the object tag to the page (which is
invalid HTML btw). This was originally recommended when Microsoft was
being dragged through the courts over the breech of patent re: ActiveX.
MS was told to remove the functionality. The trick was to have a script
do it, therefore getting around the patent. But MS settled out of court
(I believe) and the functionality was never removed from IE. Which means
the script is pointless, and forces the end user to have JS enabled.
This is of course impossible on some devices which support Flash but not
JS, and I can't see any good reason for it, unless I've missed
something.

Quirks mode means the browser is having to "guess" how to render the
content as it has invalid content based on the DOCTYPE used. Really bad
practice if you want to maintain future browser compatability.

S.


-----Original Message-----
From: Steven Webster [mailto:swebster@...]
Sent: 01 March 2005 14:50
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] NetShop phonebuying application



> This site doesn't do anything if you have JS turned off...

The Flex HTML wrapper requires JavaScript ... it performs
the necessary document.writes()

> also causes the browser to run in Quirks mode.

?!?





Yahoo! Groups Links

#10507 From: "devis" <b.devis@...>
Date: Tue Mar 1, 2005 3:49 pm
Subject: RE: help me, please, to make things clear
devis_balsemin
Send Email Send Email
 
Thak's for your help, now code work without "warning".
Devs



-----Original Message-----
From: Matt Chotin <mchotin@...>
To: flexcoders@yahoogroups.com
Date: Tue, 1 Mar 2005 05:58:26 -0800
Subject: RE: [flexcoders] help me, please, to make things clear

>
> You're casting the wrong thing here, you need to move the casting
> parentheses after vopf[0].
>
> <mx:Binding source="{PfVO(vopf[0]).stagione.cdc_stag==undefined
> ?'':PfVO(vopf[0]).stagione.cdc_stag}" destination="cdc_art.text" />
>
> Where you declare vopf make sure it's now an Array
>
> var vopf : Array;
>
> Based on the Java you sent I think that vopf will be an array,
> therefore it
> will automatically have an editField.  Vopf[0] will be your instance of
> a
> PfVO
>
> Matt
>
> -----Original Message-----
> From: b.devis@... [mailto:b.devis@...]
> Sent: Tuesday, March 01, 2005 3:58 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] help me, please, to make things clear
>
>
> Hi Matt,
> i have made your correct but flex throws always this worning
>
> flex correct:
> <mx:Binding source="{PfVO(vopf[0].stagione.cdc_stag)==undefined
> ?'':PfVO(vopf[0].stagione.cdc_stag)}" destination="cdc_art.text" />
>
> warning
> "Changes to unknown property, stagione, will not be detected" ??????
> but
> code work well!
>
> There si non method with the name editField
> vopf.editField(0, "de50pf", "CIAO")
>
> Can you help me please
> Devis
>
>
>
>
>
>
> Matt Chotin ha scritto:
>
> > 1) I think test.mxml looks OK.
> >
> > 2) The problem is that you are returning an array of PfVO but
> > referring to vopf as an individual PfVO. Do this instead:
> >
> > function onResult(result) {
> >
> > vopf = result;
> >
> > }
> >
> > {PfVO(vopf[0]).stagione.cdc_stag ...}
> >
> > So anywhere you had vopf[0] I think you really need
> PfVO(vopf[0]).whatever
> >
> > Method Lista may not be found because maybe the vo you are passing is
> > not of the right type? Make sure vo is really an individual PfVO.
> >
> > 3) You can use editField on an array of the returned objects because
> > all Arrays have the DataProvider mixed in.
> >
> > vopf.editField(0, "stagione", xxxx)
> >
> > Hope this helps,
> >
> > Matt
> >
> >
> -----------------------------------------------------------------------
> -
> >
> > *From:* b.devis@... [mailto:b.devis@...]
> > *Sent:* Monday, February 28, 2005 3:49 AM
> > *To:* Flex Coders
> > *Subject:* [flexcoders] help me, please, to make things clear
> >
> > I have attached a small project, I don't know very well flash
> remoting,
> > but I am trying to use to integrate me to it with a j2ee
> architecture.
> > I wanted to ask you two things out of politeness,
> > 1)se look the file Test.mxml, according to you it is all right as I
> > approach for popolore one "Pojo ActionScrtipt"
> > 2)Ma the true problem, is that flex when I try to use the class pojo
> > "vopf[0]. stagione.cdc_stag" it lifts me some wornings telling me
> that
> > cdc_Stag is not a known type,
> > but he works well the same,??? about you it's a bug????
> > Last very important thing, is that in the function
> > "function Aggiorna(vo:PfVO):Void
> > {
> > Campionario.Lista(vo);
> > }
> > "
> > flex throws "Method Lista not found", but the think that macaws to
> > problem with to cast?
> >
> > 3) is it possible to use editField with a class "pojo ActionScript",
> can
> > you explain me as?
> > Khan you give me your help, also of the suggestions, on as to resolve
> > these problems
> > Thanks thousand to everybody
> > Devis
> >
> >
> >
> >
> > *Yahoo! Groups Sponsor*
> > ADVERTISEMENT
> > click here
> >
> <http://us.ard.yahoo.com/SIG=129l289th/M=298184.6018725.7038619.3001176
> /D=gr
> oups/S=1705007207:HM/EXP=1109730538/A=2593423/R=0/SIG=11el9gslf/*http:/
> /www.
> netflix.com/Default?mqso=60190075>
> >
> >
> >
> >
> -----------------------------------------------------------------------
> -
> > *Yahoo! Groups Links*
> >
> >     * To visit your group on the web, go to:
> >       http://groups.yahoo.com/group/flexcoders/
> >     * To unsubscribe from this group, send an email to:
> >       flexcoders-unsubscribe@yahoogroups.com
> >
> <mailto:flexcoders-unsubscribe@yahoogroups.com?subject=Unsubscribe>
> >     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >       Service <http://docs.yahoo.com/info/terms/>.
> >
> >
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>

#10508 From: Matt Chotin <mchotin@...>
Date: Tue Mar 1, 2005 3:55 pm
Subject: RE: datagrid height
m_chotin
Send Email Send Email
 

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses/ScrollSelectList.html#rowCount J

 


From: Robert Brueckmann [mailto:rbrueckmann@...]
Sent: Tuesday, March 01, 2005 9:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] datagrid height

 

Hey guys…I am trying something and getting a strange behavior.  I get an array of objects from the database that becomes the data provider for my datagrid.  I know the length of my data provider thanks to the myDataGrid.dataProvider.length method and I figure I could multiply that number by some arbitrary number of pixels to ensure that however many items are in my data provider, that’s how many rows are visible in my datagrid on the screen…so the datagrid is never scrollable.

 

I’m using a method that sets the dataprovider of the datagrid, myDataGrid.dataProvider = data; and then I’m calling myDataGrid.setSize(Stage.width – 35, myDataGrid.dataProvider.length * 25);

 

The Stage.width – 35 compensates for some other things on the screen to look proportionate and the myDataGrid.dataProvider.length * 25 is just guesstimating that each row in the datagrid component is about 25 pixels high.  Well the first time I tried this, 25 was too large of a number so I adjusted it to 22, which seemed to work but still left me with a little extra bit of a final row visible.  Well that was livable.  Then I get a result set back that only had 2 items in it, instead of the 5 I had been testing this whole thing with and now only one row was visble and you have to scroll down to see the second row, so I increased the 22 to 30 and that fixed it for that but now if I call the original result set with the 5 items, I can see a row and a half extra blank rows.  Is there a better way to dynamically show the number of rows based on the number of items in the data provider?  I wish there was a size attribute like there is with the HTML select list component where if it’s a list you can say I want x-number of rows visible.  I just don’t ever want the user to have to scroll within the datagrid…is there an easier way to do this?

 

Thanks!

 


This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.

 

Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.




#10509 From: "Robert Brueckmann" <rbrueckmann@...>
Date: Tue Mar 1, 2005 4:10 pm
Subject: RE: datagrid height
rbrueckmann78
Send Email Send Email
 

Thanks Matt…I really need to work on my patience factor with searching the APIs.  Sorry…such an idiot I am.

 


From: Matt Chotin [mailto:mchotin@...]
Sent: Tuesday, March 01, 2005 10:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] datagrid height

 

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses/ScrollSelectList.html#rowCount J

 


From: Robert Brueckmann [mailto:rbrueckmann@...]
Sent: Tuesday, March 01, 2005 9:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] datagrid height

 

Hey guys…I am trying something and getting a strange behavior.  I get an array of objects from the database that becomes the data provider for my datagrid.  I know the length of my data provider thanks to the myDataGrid.dataProvider.length method and I figure I could multiply that number by some arbitrary number of pixels to ensure that however many items are in my data provider, that’s how many rows are visible in my datagrid on the screen…so the datagrid is never scrollable.

 

I’m using a method that sets the dataprovider of the datagrid, myDataGrid.dataProvider = data; and then I’m calling myDataGrid.setSize(Stage.width – 35, myDataGrid.dataProvider.length * 25);

 

The Stage.width – 35 compensates for some other things on the screen to look proportionate and the myDataGrid.dataProvider.length * 25 is just guesstimating that each row in the datagrid component is about 25 pixels high.  Well the first time I tried this, 25 was too large of a number so I adjusted it to 22, which seemed to work but still left me with a little extra bit of a final row visible.  Well that was livable.  Then I get a result set back that only had 2 items in it, instead of the 5 I had been testing this whole thing with and now only one row was visble and you have to scroll down to see the second row, so I increased the 22 to 30 and that fixed it for that but now if I call the original result set with the 5 items, I can see a row and a half extra blank rows.  Is there a better way to dynamically show the number of rows based on the number of items in the data provider?  I wish there was a size attribute like there is with the HTML select list component where if it’s a list you can say I want x-number of rows visible.  I just don’t ever want the user to have to scroll within the datagrid…is there an easier way to do this?

 

Thanks!

 


This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.

 

Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.

 



 

This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.

#10510 From: nostra72@...
Date: Tue Mar 1, 2005 4:22 pm
Subject: Question about making an array of buttons
nostra72
Send Email Send Email
 
I am trying to make an array of buttons that has an array of strings on it and I
was wondering why this code does not work?




<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" >

  <mx:Script>



var letterids=["A","B","C","D","E","F","G","H"];


     </mx:Script>
     <mx:Array id="eachoftheids">
     <mx:Object label="L1" />
     <mx:Object label="L2"  />
     <mx:Object label="L3"  />
     <mx:Object label="L4"  />
     <mx:Object label="L5" />
     <mx:Object label="L6" />
     <mx:Object label="L7"  />
     <mx:Object label="L8"  />
     </mx:Array>

  <mx:HBox>
  <mx:Repeater
dataProvider="{eachoftheids}"><mx:Button></mx:Button></mx:Repeater>

  </mx:HBox>

  </mx:Application>

all I get when I run the code is 8 empty buttons whereas I want to make an array
of strings appear on the buttons from either the letterids array or the
eachoftheids array. I just want to know if an array of buttons with an array of
strings on each of them is possible?

#10511 From: "Tarik Ahmed" <tariq@...>
Date: Tue Mar 1, 2005 4:24 pm
Subject: Macromedia rich internet embedded in Straker CMS
tarik_ahmed
Send Email Send Email
 

http://www.e-consultancy.com/newsfeatures/360236/macromedia-rich-internet-embedded-in-straker-cms.html

Weybridge, Surrey, UK, March 1, 2005 – A new licensing agreement is enabling Macromedia Flex Rich Internet Application development and ColdFusion MX 7 Enterprise solutions to be embedded in the Straker Shado Content Management System (CMS).


#10512 From: "Erik Westra" <ewestra@...>
Date: Tue Mar 1, 2005 4:32 pm
Subject: RE: Question about making an array of buttons
ewestra@...
Send Email Send Email
 
This works:


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" >

  <mx:Script>
	 var letterids=["A","B","C","D","E","F","G","H"];
  </mx:Script>

  <mx:Array id="eachoftheids">
     <mx:Object label="L1" />
     <mx:Object label="L2"  />
     <mx:Object label="L3"  />
     <mx:Object label="L4"  />
     <mx:Object label="L5" />
     <mx:Object label="L6" />
     <mx:Object label="L7"  />
     <mx:Object label="L8"  />
  </mx:Array>

  <mx:HBox>
  <mx:Repeater id="list" dataProvider="{eachoftheids}"><mx:Button
label="{list.currentItem.label}" /></mx:Repeater>

  </mx:HBox>

</mx:Application>


Greetz Erik

-----Original Message-----
From: nostra72@... [mailto:nostra72@...]
Sent: dinsdag 1 maart 2005 17:22
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question about making an array of buttons


I am trying to make an array of buttons that has an array of strings on
it and I was wondering why this code does not work?




<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" >

  <mx:Script>



var letterids=["A","B","C","D","E","F","G","H"];


     </mx:Script>
     <mx:Array id="eachoftheids">
     <mx:Object label="L1" />
     <mx:Object label="L2"  />
     <mx:Object label="L3"  />
     <mx:Object label="L4"  />
     <mx:Object label="L5" />
     <mx:Object label="L6" />
     <mx:Object label="L7"  />
     <mx:Object label="L8"  />
     </mx:Array>

  <mx:HBox>
  <mx:Repeater
dataProvider="{eachoftheids}"><mx:Button></mx:Button></mx:Repeater>

  </mx:HBox>

  </mx:Application>

all I get when I run the code is 8 empty buttons whereas I want to make
an array of strings appear on the buttons from either the letterids
array or the eachoftheids array. I just want to know if an array of
buttons with an array of strings on each of them is possible?







Yahoo! Groups Links

#10513 From: "Pushkar" <piper5ul@...>
Date: Tue Mar 1, 2005 5:00 pm
Subject: custom accesskeys / hotkeys / keyboard shortcuts in flex
piper5ul
Send Email Send Email
 
Hello,

Does flex allow user to define custom hot keys or keyboard shortcuts?!
If so, ar ethere any pointers?

Thanks
pushkar

#10514 From: "Robert Brueckmann" <rbrueckmann@...>
Date: Tue Mar 1, 2005 5:29 pm
Subject: tool tips for a linkbar
rbrueckmann78
Send Email Send Email
 

Maybe another stupid question but I can’t seem to anything in the APIs or LiveDocs about how to have individual tool tips for a number of links I have in a linkbar component.  Right now as it stands, there seems to be only the ability to have an overall tooltip for everything in a linkbar component.

 

Any ideas?  Thanks!

 

This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.

#10515 From: "Mehdi, Agha" <amehdi@...>
Date: Tue Mar 1, 2005 6:38 pm
Subject: Cairngorm + Flash
amehdi@...
Send Email Send Email
 
Hi all,
 
Can Cairngorm be used with Flash and if yes, where do I find any sample that I can look at?
 
Thanks
 

-------------------------
Agha Mehdi
web developer
Littler Mendelson P.C.
work:   415-288-6362
cell:     415-609-5741
-------------------------

 

----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
postmaster@...

Littler Mendelson, P.C.
http://www.littler.com



#10516 From: "billheit" <billheit@...>
Date: Tue Mar 1, 2005 6:46 pm
Subject: Re: User Credentials Cache
billheit
Send Email Send Email
 
I am not sure if this is a bug or if I am misunderstanding how the
flex HttpService proxy works.  But unless I re-start the Flex
Server, the Flex proxy remembers the authentication credentials even
when the browser has been closed and re-opened.

Can someone help me with this?

Bill

--- In flexcoders@yahoogroups.com, "billheit" <billheit@y...> wrote:
>
>
> I have sessionState turned off on my .NET web service.  When I
test
> my web service directly through IE, it requires me to login each
> time I re-open the browser.
>
> When I access the web service through Flex HttpService, it does
not
> make me login if I close and re-open the browser.
>
> I also found that if I re-start the Flex server, then I am
required
> to login again.  Are you sure the Flex server is not caching the
> credentials or session somehow?
>
> Bill
>
>
> --- In flexcoders@yahoogroups.com, "Jeff Steiner" <jeff@f...>
wrote:
> > Bill,
> >
> > The issue is not with a cache but rather with the session and
how
> it is
> > handled.  Your browser is attached to the session at more the
> machine level.
> > If your session is still active it allows you through as
trusted.
> Check
> > that the session of the webservice is not lasting longer than to
> load your
> > browser.  That will force the user to login the next time they
> open a
> > browser.
> >
> > Jeff
> > http://www.flexauthority.com
> > ----- Original Message -----
> > From: "billheit" <billheit@y...>
> > To: <flexcoders@yahoogroups.com>
> > Sent: Friday, February 25, 2005 6:37 PM
> > Subject: [flexcoders] User Credentials Cache
> >
> >
> > >
> > >
> > > I have a .NET Web Service running on IIS with Basic
> authentication.
> > > In flex, I have a HttpService configured to request data from
my
> web
> > > service.  On a button click I call the HttpService.send() and
> set an
> > > event to handle the result.
> > >
> > > When I run this Flex app on my IE browser, I get a security
login
> > > dialog and so I enter my user name and password.  I am granted
> > > access to the web service and I see my data.  All seems to be
> > > working fine.
> > >
> > > However, when I close the browser and re-open it, I am not
> prompted
> > > with the security login again and my application acts as if I
am
> > > already logged in.  Even if I clear the cache on my browser, it
> > > still acts as it I am logged in.
> > >
> > > So I am wondering where my credentials are being cached.  Is
> there a
> > > cache duration setting somewhere? How I can clear it?  If the
> user
> > > closes the browser and re-opens the app, I want them to log
back
> in.
> > >
> > > Thanks,
> > >
> > > Bill
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >

#10517 From: Tom Fitzpatrick <tom@...>
Date: Tue Mar 1, 2005 6:57 pm
Subject: resizing a panel
tom24569
Send Email Send Email
 
The undocumented ViewStack resizeToContent property works really well. Is
there a way to achieve the same effect for Panels?

I have a container Panel that holds several other Panels as children. In
each of child Panels are a number of objects that can be open or closed:
mainly VBoxes whose heights I'm toggling between 0 and 100%. The VBoxes
contain objects such as datagrids and graphs that I'm showing and hiding
with this toggling effect. This all works fine, except that the subpanels
always try to fill up100% of the container panel. Is there a way to tell
the subpanels to set their heights to the combined heights of their contents?

I hope I've explained this properly.

Thanks!

- Tom

#10518 From: alf@...
Date: Tue Mar 1, 2005 7:42 pm
Subject: Array for Tree?
alf@...
Send Email Send Email
 
Hi All,

I've seen many examples for building XML datamodels to populate a Tree in Flex
But I haven't seen any examples for Tree & Array as a dataprovider.

are their any examples out there that I missed?
if not can someone post an example?

thanks,
-Art

Messages 10489 - 10518 of 165743   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help