[flexcoders] regarding eventListener with Alert control

2005-11-15 Thread Jignesh Dodiya





 xmlns:mx="http://www.macromedia.com/2005/mxml
" xmlns="*" backgroundColor="#FF" alpha="
10" height="300" width="300
">
 




 id="txt1" width="100" />
 id="txt2" width="200" />
 id="m_btn" label="CLICK" click="click(evt:AlertClickEvent)"
 />

 
Above is my code..
 
I want to use Alert button with Event listener that only event executed only after clicking YES button in Alert dialog box.
But it gives error that "EXPECTING RIGHTPAREN BEFORE COLON. 
 
I have highlighted both events with bold & UnderlinedNo idea how to solve that
 
Any suggestion will be appreciate..
 
 -- jignesh dodiya 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] How to display the saved data to combobox to update

2005-11-15 Thread padma vathi




Hi All,
 
How to display the saved data to combbox as the selecteditem ,to update.
 
Padma Ch
		 
Enjoy this Diwali with Y! India Click here





--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] How to give dynamic title to panel

2005-11-15 Thread sandip_patil01
Hi All,

I want to give dynamic title to panel.

Here is my scenorio,
http://www.macromedia.com/2003/mxml";
title=" Steps: 1   2   3">
Here this is my panel.

& I have buttons "FIRST" "SECOND" "THIRD"
When I click on button FIRST the number 1 should Highligtened 
If I click on button SECOND the number 2 should Highligtened 
lly,If I click on button THIRD the number 3 should Highligtened 

If anybody know this I appreciate the help

Thx,
sandip









 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Print datagrid with picture in Flex2 alhpha

2005-11-15 Thread Sandip Patil



Here is the link regarding data grid examples.  Which also contains printing of datagrid.  Just see demo examples & then go through source code.     http://philflash.inway.fr/example.htmlZhu Feng <[EMAIL PROTECTED]> wrote:  Hi, All,does the Flexprintdatagrid support printing pictures?when I use the browser's print, it works correctly, while when i use my own funciton of printing, something seems wrong.and My codes are like this:PicForm.mxml:http://www.macromedia.com/2005/mxml" xmlns:local="*">           
             variableRowHeight="true">                        cellRenderer="RendererDGImage"/>                         and the PrintTL.mxml:http://www.macromedia.com/2005/mxml" xmlns="*"
 creationComplete="ini()">        -- Best
 Regards!Zhu FengMSN: [EMAIL PROTECTED]   
		 Yahoo! FareChase - Search multiple travel sites in one click.

 

 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: another event, instead move?

2005-11-15 Thread keishichi2001
You are the man, Matt !

it works as i wanted...


Thanks,
Keishichi



--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> No, something more like this:
> 
>  
> 
> 
> 
>  
> 
> function onEffectStart(event:Object):Void
> 
> {
> 
>   var effect:Object = event.effect;
> 
>   effect.duration = 300;
> 
>  
> 
>   ...
> 
>   effect.yFrom=0;
> 
>   effect.yTo = -365;
> 
>   ...
> 
> }
> 
>  
> 
> Don't use quotes when assigning to those properties, you want to pass
> all numbers not strings.
> 
>  
> 
> Matt
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of keishichi2001
> Sent: Monday, November 14, 2005 7:16 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: another event, instead move?
> 
>  
> 
> Thanks Matt.
> 
> I wrote following code. Is it what you wanted to say?
> Following code actually doesn't work...
> Am i wrong at any place?
> 
> =
> function onEffectStart(event:Object) : Void
> {
>   var initObj:Object = new Object();
>   initObj.yFrom = "";
>   initObj.yTo = "";
>   initObj.duration = "300";
> 
>   switch (ModelLocator.catEffect) {
> case "movePageU2M":
>   initObj.yFrom = "0";
>   initObj.yTo = "-365";
>   break;
> case "movePageM2B":
>   initObj.yFrom = "-365";
>   initObj.yTo = "-730";
>   break;
> case "movePageB2M":
>   initObj.yFrom = "-730";
>   initObj.yTo = "-365";
>   break;
> case "movePageM2U":
>   initObj.yFrom = "-365";
>   initObj.yTo = "0";
>   }
> 
>   this.createClassObject(mx.effects.Move, "imgeffect",
> getNextHighestDepth(), initObj);
> 
>   event.effect = imgeffect;
> 
> }
> 
> ...
> 
> 
>effectStart="onEffectStart(event);" moveEffect="imgeffect" />
> =
> 
> 
> Best Regards,
> Keishichi
> 
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
> >
> > Assign the moveEffect before you do any moving.  Add an effectStart
> > handler to the Image, the event property will contain an "effect"
> > property which is the instance of the effect that you're using.  Set
> the
> > yFrom and yTo properties right then.
> > 
> >  
> > 
> > Haven't tried this, but it's a thought...
> > 
> >  
> > 
> > Good luck!
> > 
> >  
> > 
> > Matt
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of keishichi2001
> > Sent: Thursday, November 10, 2005 1:05 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] another event, instead move?
> > 
> >  
> > 
> > env : Flex1.5 + Cairngorm
> > 
> > little bit difficult to explain my situation
> > 
> > ===
> > 
> > i've trying to develop a catalog-viewer application with Flex.
> > Multiple components i have...
> > 
> > Main.mxml : this is the main application that user access.
> > cat1.mxml : catalog application 1.
> > cat2.mxml : catalog application 2.
> > ...
> > catn.mxml : catalog application n.
> > 
> > Single catalog application may contain about 10 pages, so i used
> > ViewStack and 10 pages are all child(mx:Image) of the ViewStack.
> > The size of a page is vertical-rectangle(ie, 300x900).
> > However size of the ViewStack - that i mentioned above - is 300x300.
> > Which means, each page should have vertical scrollbar that user could
> > browse top, middle, bottom of the page.
> > 
> > Now, Main.mxml has 'catalog chooser' so that user could choose a
> > catalog they want to browse.
> > Main.mxml also has the catalog-controller so that user can move pages
> > either 'previous' or 'next'.
> > Also they could browse any part of the current page - top, middle,
> > bottom.
> > 
> > All of catalog applications are defined within Main.mxml as follows.
> > 
> > 
> > 
> > which means, the catalog user specified should be loaded dynamically.
> > In this case, AS code inside of Main.mxml doesn't work against
> > cat1.mxml.
> > Therefore i use ModelLocator of Cairngorm, so that both main
> > application and catalog application should be able to share
> > information, like Y-axis of the image.(yes, sharing Y-axis does work
> > correctly.)
> > 
> > =
> > 
> > Now, my issue
> > 
> > Remember, single page of a catalog application has 300x900 size.
> > So user can move top to middle, middle to bottom, whatever
> > I'd like to give the page(mx:Image) with Effect(moveEffect), for
> > natural page moving...
> > I reallized i should at least have four Effects as following.
> > 
> > 
> >   
> >/>
> >/>
> >   
> > 
> > 
> > And either of them should be set against moveEffect of mx:Image, when
> > user act on catalog-controller of Main.mxml.
> > 
> > For this, i've already tryied move event of mx:Image.
> > The event object has y, and oldY. I thought 

[flexcoders] why "change" event of the MenuBar is not trigger?

2005-11-15 Thread ykt_zju
I write a MenuBar component, but the change event of the MenuBar is
not working while other event (like createComplete and rollOver) works!

I don't know what's the problem , will any one tell me why? 

Thanks!

Following are pieces of related code:

code creating the menuBar
columnMenuBar=PopUpManager.createPopUp(this, ColumnMenuBar, false,
undefined, true);   
columnMenuBar.addEventListener("mouseDownOutside",mx.utils.Delegate.create(this,mouseOutsideMenuBar));

ColumnMenuBar.mxml
http://www.macromedia.com/2003/mxml"; 
creationComplete="createBar()"  rollOver="rollOverMenu()"
change="columnMenuBarHandler(event)" width="100" marginLeft="0">
























 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] access to individual days on DateChooser

2005-11-15 Thread keishichi2001
Flex 2.0

Can i display a day on DateChooser either Bold or Italic?
i'm gonna build calendar application and if a day has any plans, then
the day should be displayed bold.
Can i do this?


Thanks,
Keishichi






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] regarding Event Listner with Alert Control

2005-11-15 Thread Jignesh Dodiya





 xmlns:mx="http://www.macromedia.com/2005/mxml
" xmlns="*" backgroundColor="#FF" alpha="
10" height="300" width="300
">




 id="txt1" width="100
" />
 id="txt2" width="200
" />
 id="m_btn" label="CLICK
" click="click(evt:AlertClickEvent)" color="#ff" />








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] diff between &

2005-11-15 Thread JIGNESH M. DODIYA
hi,

Can anybody explain what is the exect difference between 
 & 

Imagebutton is there for different skinning of the button stages like 
up, down, over , desable etc...

but what about buttonState in both
is all the property of Imagebutton inherited by Button??

 





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Flash player 8.5 auto install?

2005-11-15 Thread Tolulope Olonade










Hi Flexcoders,

 

 Can anybody show me
how to make Flash 8.5 player auto download for installation to a clients
machine in case he doesn’t have flash player installed or he is running
an earlier version of the player?

 

Many Thanks.









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: Question about Enable / Disable Validator

2005-11-15 Thread Libby
I am disabling the right one, but that's all I am doing. It seems to
me I need to do something to tell flex to repaint the screen, which
would then remove the red border since the validator is not being
invoked. Is this wrong?

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Hmm, disabling the validator usually does clear any borders, you sure
> you disabled the right one? 
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Libby
> Sent: Monday, November 14, 2005 5:52 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Question about Enable / Disable Validator
> 
>  
> 
> If you have a validator enabled and an error has been thrown (the
> field is red border), then you disable the validator, the border stays
> red. How can you force the red border to go away after you disable the
> validator? Somehow you need to repaint the screen...?
> 
> Thanks,
> Libby
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Web site design development
>  site+design+development&w2=Computer+software+development&w3=Software+des
> ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> 
> Computer software development
>  b+site+design+development&w2=Computer+software+development&w3=Software+d
> esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>  
> 
> Software design and development
>  Web+site+design+development&w2=Computer+software+development&w3=Software
> +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
> 
> Macromedia flex
>  development&w2=Computer+software+development&w3=Software+design+and+deve
> lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw>  
> 
> Software development best practice
>  w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  
> 
>  
> 
>  
> 
> 
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *  Visit your group "flexcoders
>  " on the web.
> 
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED]
>  
> 
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service  . 
> 
>  
> 
> 
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Flex / Jrun Instability?

2005-11-15 Thread Steve Cox










Guys &
Girls,

Seem to be
having an odd problem with getting and keeping a Jrun server stable.

The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but it’s now working right). However when uploading changes to the app, sometimes the page will hang. What’s strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id . Looking at the source code the following line is obviously pulling in some _javascript_: