What does "like a random function" mean? You're asking us to tell you
what is wrong with a createUUID() method but you don't show us the code
for it.

 

BTW, do you know about the createUID() method of the UIDUtil class in
the Flex framework?

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Douglas Knudsen
Sent: Monday, June 30, 2008 2:05 PM
To: [email protected]
Subject: Re: [flexcoders] init function in component

 

With The Matrix in mind...there is no page.

How often and when do you think creationComplete is fired? Check the
docs on it.

DK

On 6/29/08, markflex2007 <[EMAIL PROTECTED]
<mailto:markflex2007%40yahoo.com> > wrote:
> Hi,
>
> I have a mxml component page
>
> <mx:Panel
> xmlns:mx="http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> " 
> creationComplete="init()"
> show = "init()">
> 
> <mx:Script>
> <![CDATA[
> 
> 
> private function init():void
> {
> objuserID = new uuid();
> userID = objuserID.createUUID();
> }
> ]]>
> </mx:Script>
>
> ...
> ....
>
> createUUID() is like a random function, but my problem is I get same
> number when I try to access the page. It should get different page
> when I access the page.
>
> I do not know why this happen
>
> Thanks for help
>
> Mark
>
>

-- 
Sent from Gmail for mobile | mobile.google.com

Douglas Knudsen
http://www.cubicleman.com <http://www.cubicleman.com> 
this is my signature, like it?

 

Reply via email to