RE: [flexcoders] Re: Bruce Eckels on Flex 2

2006-03-05 Thread Matt Chotin
My player didn't have the clock showing but I think it was about 10 mins
in?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pk_wasp
Sent: Sunday, March 05, 2006 10:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Bruce Eckels on Flex 2

At What point those he talk about Flex? (the mp3 is quite long lol)

cheers

--- In flexcoders@yahoogroups.com, "Abdul Qabiz" <[EMAIL PROTECTED]> 
wrote:
>
> Cool! I knew Bruce on this list is the one "Bruce Eckel", I even 
asked...
> 
> -abdul
> 
> On 3/6/06, Carlos Balacuit <[EMAIL PROTECTED]> wrote:
> >
> > In an interview with Bruce Eckel (author of the books "Thinking in
> > C++" and "Thinking in Java" ), he talks about his positive 
experience
> > with experimenting with Flash and Flex 2.
> >
> > You can hear this interview on the Java Posse podcast, episode #37
> > "Interview with Bruce Eckel, Part 2" at
> > http://www.javaposse.com/index.php?post_id=65327
> >
> > - Carlos
> >
> >
> > --
> > 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 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 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] Re: Bruce Eckels on Flex 2

2006-03-05 Thread pk_wasp
At What point those he talk about Flex? (the mp3 is quite long lol)

cheers

--- In flexcoders@yahoogroups.com, "Abdul Qabiz" <[EMAIL PROTECTED]> 
wrote:
>
> Cool! I knew Bruce on this list is the one "Bruce Eckel", I even 
asked...
> 
> -abdul
> 
> On 3/6/06, Carlos Balacuit <[EMAIL PROTECTED]> wrote:
> >
> > In an interview with Bruce Eckel (author of the books "Thinking in
> > C++" and "Thinking in Java" ), he talks about his positive 
experience
> > with experimenting with Flash and Flex 2.
> >
> > You can hear this interview on the Java Posse podcast, episode #37
> > "Interview with Bruce Eckel, Part 2" at
> > http://www.javaposse.com/index.php?post_id=65327
> >
> > - Carlos
> >
> >
> > --
> > 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 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] DataGridColumn sortCompareFunction (Flex 2 Beta 1)

2006-03-05 Thread Matt Chotin










Yes, the docs are wrong on b1 on the
signature.  If you provided a custom comparator in b1 it may be that you need
to know whether you wanted ascending or descending though I thought we were
handing it correctly.  I’m pretty sure it behaves correctly in b2 though.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harald Dehn
Sent: Sunday, March 05, 2006 4:51
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
DataGridColumn sortCompareFunction (Flex 2 Beta 1)



 

Hello,

 

I do have some problemens with a custom sort compare
function in a DataGrid. In the Columnn I like to sort birthdates of persons.
Regarding the manunal the callback function should have the following signature

 

mySortCompareFunction(obj1 :
Object, obj2
: Object, columnIndex
: Number) : Number

 

With this signature I get the following error message

 

ArgumentError: Error
#1063: Argument count mismatch on CellRenderer::DateCellRenderer/Compare().
Expected 3, got 2

   
at mx.collections::Sort/mx.collections:Sort::internalCompare()

   
at Array/sort()  

   
[…]

 

So I tried the following function with only two
arguments:

 

   
var _ColumnName:String = “birthDate”;

 

   
public function Compare(pRow1:Object,
pRow2:Object):Number {

  
var _T1:Number;

  
var _T2:Number;

  
if( pRow1[_ColumnName] == null ) {

  
if( pRow2[_ColumnName] == null ) 

  
return 0;

  
else 

  
return -1;

  
}

  
else _T1 = pRow1[_ColumnName].time;

  
if( pRow2[_ColumnName] == null ) 

  
return 1;

  
else {

  
_T2 = pRow2[_ColumnName].time;

  
if( _T1 < _T2 ) return -1;

  
if( _T1 > _T2 ) return 1;

  
return 0;

  
}

   
}

 

This works fine with one exception; the rows are
always sorted ascend, even when the “sort arrow” indicates that the
rows should be sorted descant.

 

Where is my mistake?

 

Harry









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



  











RE: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-05 Thread Matt Chotin










getClassByBame will return the Class, then
you can use new on it.  Make sure you have any class that you’d want to
instantiate linked in by having a typed variable for it though…

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Bray
Sent: Saturday, March 04, 2006
5:22 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] eval
gone in AS3, how to get reference to movieclip via target name?



 

I have a question that's
almost related.

In AS3, how can I instantiate a class, com.foo.MyClass, using the string
"com.foo.MyClass"?  The reason I ask is that I'd like to load an
XML file and use it to dynamically create components at runtime. 
Something like this: 


  
   


Thanks,

Tom



On 3/3/06, Gordon Smith <[EMAIL PROTECTED]> wrote:






Whoa not only is there no eval(), there's no _target, no
_level0, and no _global! Plus, you should almost always use Sprite instead of
MovieClip.

 

So what are you really trying to do? Are you using Flex or
just pure AS3? Where are you getting a string like
"sprite1.sprite2.sprite3" from? Why do you have to transform it back
into a Sprite reference? Could you have just kept the reference instead of the
string?

 

- Gordon

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Boon Chew
Sent: Friday, March 03, 2006 3:41
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] eval gone in
AS3, how to get reference to movieclip via target name?







 

Hi all,

With the _eval being gone in AS3, does anyone know how to get to the reference
of a movieclip (via the target name string) without using _eval (e.g.
"_level0.mc1.mc2.mc3") ?  I know we can instantiate an object
from a class name string via the _global namespace but not positive about mc's.

Thanks.

- boon







Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze. 


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



  











RE: [flexcoders] getStyle and Alpha for programmatic skins

2006-03-05 Thread Matt Chotin










Yes alpha is a property that runs from 0
to 1.  All of the other alpha’s (backgroundAlpha for example) are done as
styles with the same 0 to 1 range.

 

As for creating skins with arguments in
the constructor, we really don’t support it, it has to be no-arg.  We don’t
have a general mechanism of knowing the constructor arguments and using them in
a factory…

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Teoti Graphix
Sent: Sunday, March 05, 2006 7:30
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] getStyle
and Alpha for programmatic skins



 

Hello,

Your aware that alpha values in AS3 are from 0 to 1 ?

When you say;

" Regardless of the value, it seems that if you set the alpha of a VBox,
it applies it
to the skin anyway, whether you want to override
the behavior or not."

When you set the alpha of any instance it effects the instance of
itself and it's children which in this case would be the borderSkin instance.

I don't understand why you wouldn't be able to set the alpha of a DisplayObject
which RectBorder is.

As far as using getStyle() with an actuall property, I think Adobe changed the
implementation of getStyle() (Adobe can comment on this [ can you get
non-defined style properties with getStyle() ?? ] ). I think it is more strict
now.

:: this.alpha

It would return 1 if the skin is fully opaque. IE alpha = 100%

Anyway, I don't understand the problem really ;-) I know why I am writting this
becasue I didn't relaize that the values of alpha had changed in as3.

Peace, Mike





On 3/5/06, Jono
Spiro <[EMAIL PROTECTED]>
wrote:



Preface: I'm extending a
RectBorder and am trying to paramterize the
coloring, etc., and have one problem with two ways
to go about it --
neither of which I can figure out. In one sense
this is a more general
problem...

Problem: In a programmatic skin I'm writing, I cannot
get access to
the 'alpha' value of an object, say a VBox where I
set the borderSkin
to my subclass. I *can* get access to
"backgroundColor" thought, for
instance.

Proposal 1) When I need the value:
getStyle("alpha") -- this always
returns 0. Or just saying `this.alpha' always
returns 1. Regardless of
the value, it seems that if you set the alpha of a
VBox, it applies it
to the skin anyway, whether you want to override
the behavior or not.
Ugh.

Proposal 2) More generally, what if I want to
instantiate my skin
subclass with a constructor -- not just the
default constructor, but
including values like alpha and keeping them
privately? Skins must
provide default constructors, otherwise they don't
compile -- is there
a way to provide constructor arguments to a skin,
and then use it? I
tried instantiating a skin like this, and passing
the instance to
borderSkin, but it didn't do anything.
(dataBinding would be an ideal
solution, so the skin gets redrawn).

Cheers,
Jono :~)


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



  











RE: [flexcoders] gradients on boxes or panels?

2006-03-05 Thread Matt Chotin
Create a SWF that has the gradient and embed it, then set it as the
backgroundImage.  That's what we do for the Application I think.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jono Spiro
Sent: Sunday, March 05, 2006 1:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] gradients on boxes or panels?

Short of writing a skin (which is what I've been resorting to rather
often these days) -- is there a way to add a gradient to a VBox, for
instance? Neither the internet, nor the docs, nor this list have been
able to provide any example of it... :-/

Cheers,
Jono


--
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 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] Custom Item Renderer needs to know about parent

2006-03-05 Thread Matt Chotin
Well you should have a parentApplication property which should already
work...

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of svolix
Sent: Sunday, March 05, 2006 2:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom Item Renderer needs to know about parent

One of the components in my main application is a TileGrid.  I have a
custom cell renderer called a PostThumbnail which I set as the
listitemrenderer property of the TileGrid.

The problem is that my main application defines several public
functions which each instance of a PostThumbnail needs to be able to
call when they need to.  What's the best way to give each
PostThumbnail a reference to the main application so that it can call
the methods when necessary?






--
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 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] Flex 2: determine scaled dimensions of Loader content?

2006-03-05 Thread Samuel Reuben



At the same time if contentHeight and contentWidth are taken a little after complete it shows that scaled values. So this is a workaround.
 
-sam 
On 3/6/06, Samuel Reuben <[EMAIL PROTECTED]> wrote:


contentHeight and contentWidth is returning the original values 50, 50. So it is a bug, I'll file one.
 
Thanks Tom,
-sam 

On 3/3/06, Matt Chotin <[EMAIL PROTECTED]> wrote:
 



I believe that contentWidth/Height are supposed to return the scaled values, not the original values.  So that might be a bug.  I'll forward this on and see if anyone knows anything. 

 




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tom BraySent: Thursday, March 02, 2006 10:57 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2: determine scaled dimensions of Loader content?

 
Say you do this: 
And the actual dimensions of image.jpg is 50x50.  After the loader has loaded the image and scaled it, the loader's contentWidth and contentHeight say 50, but the image has been scaled to fit in the loader and maintain the correct aspect ratio.  So, is there a property that contains the scaled width and height (150x150) or do I have to calculate it? 
I want the scaled dimensions so that I can size a canvas around the image with a border and a dropshadow.Thanks,-Tom--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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.



  









Re: [flexcoders] Overlapping click regions

2006-03-05 Thread Sreenivas R



The canvas gets the click event because of the event bubbling.
 
You can handle the situation in two ways.
 
In canvasClicked you can check the event.target to be the canvas only before taking any action.
 
You can call event.stopPropagation() in the button click handler to prevent the event from bubbling up to the canvas.
 
On 3/6/06, svolix <[EMAIL PROTECTED]> wrote:
One of my custom components extends the Canvas and has a button on it.Both the canvas and button are rigged to activate seperate functions
when clicked.  I've called them canvasClicked() and buttonClicked().Now, clicking on the canvas where the button isn't triggers thecanvasClicked() function, as planned.  However, clicking on thebutton, which is within the Canvas region, appears to trigger both
canvasClicked() and buttonClicked().The hack-y way I thought of to make sure that only buttonClicked()actually does anything is to introduce a semaphore-like mechanism toboth functions (that is, buttonClicked() sets a flag to true; do
canvasClicked() only if flag is false).  But there must be a betterway to handle this.  Anyone know what it is?  Thanks.--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 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.



  









Re: [flexcoders] Flex 2: determine scaled dimensions of Loader content?

2006-03-05 Thread Samuel Reuben



contentHeight and contentWidth is returning the original values 50, 50. So it is a bug, I'll file one.
 
Thanks Tom,
-sam 
On 3/3/06, Matt Chotin <[EMAIL PROTECTED]> wrote:



I believe that contentWidth/Height are supposed to return the scaled values, not the original values.  So that might be a bug.  I'll forward this on and see if anyone knows anything.

 




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tom BraySent: Thursday, March 02, 2006 10:57 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2: determine scaled dimensions of Loader content?

 
Say you do this:
And the actual dimensions of image.jpg is 50x50.  After the loader has loaded the image and scaled it, the loader's contentWidth and contentHeight say 50, but the image has been scaled to fit in the loader and maintain the correct aspect ratio.  So, is there a property that contains the scaled width and height (150x150) or do I have to calculate it? 
I want the scaled dimensions so that I can size a canvas around the image with a border and a dropshadow.Thanks,-Tom--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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.



  









Re: [flexcoders] Re: Flex and URL variables

2006-03-05 Thread Abdul Qabiz



Oops! there are few errors in code I sent. I forgot to remove "exteds Proxy" from QueryString class.Please hold on, I would send another mail in a while.-abdul
On 3/6/06, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
Hi,I wrote a somple QueryString class in AS3, that would get you parameters passed to HTML wrapper.Usage is simple:Suppose url is:  
http://server/page.html?param1=10
AS code:import com.abdulqabiz.utils.QueryString;function onAppInit(){var qs:QueryString = new QueryString();trace(qs.param1);}
Please find the attached zip file. Or see code below:-

##QueryStringSample.html  - HTML Wrapper##


    
        Query String Sample
        
    
    

    
    
    

          This text is replaced by the Flash movie.