Hi,
 
   can we open a page using the menubar option i am trying but not able to do.please help me regarding this matter.
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of Steven Webster
Sent: Wednesday, June 15, 2005 5:58 PM
To: [email protected]
Subject: RE: [flexcoders] viewstack

Bikram,
 
Perhaps I wasn't so clear ... you've created a ViewStack, but you've not made any attempt at implementing the flip effect yourself; this is not an inconsiderable amount of work ... we are not making the code for doing the Flip (which was the result of a good number of days of spiking solutions) effect available at present.  We absolutely welcome others to implement the effect themselves - and if there are small stumbling blocks, we'll share knowledge as appropriate.  But we're not ready to release a working piece of code for general use to the community.
 
If you spend some time yourself trying to do the Flip, and run into *specific* problems, I'm sure someone will be able to help.
 
I'd also take a look at your MXML, is there a reason why you have:
 
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
<mx:Spacer />
 
in your code to create space ?  Have you checked out the height attribute on Spacer ?
 
With regards to your problem being urgent, please see this entry in the FAQ:
 
"5. Guidelines to effective question-asking

Include a useful subject; this will help people find their own questions
and answers later.

Explain what you are trying to accomplish.

Explain the error (include compilation errors or a description of the
runtime behavior).

Be prepared to break your problem down into a simpler scenario in case
someone wants to try to debug the code themselves.  Remember, private
web services are inaccessible; you may need to create some dummy data to
emulate problems.

Phrases to avoid:

"URGENT" (we all have deadlines, no one is intentionally delaying a
response to you)

"Please send code" (this is very frustrating to read as it implies you
aren't interested in learning anything on your own.  Where code is
appropriate you can expect someone to provide it, but in many cases you
will learn more by doing it on your own with appropriate guidance.  It
may be that you're on a deadline and just want to finish, but many of
those who respond regularly would prefer to "teach you to fish" so that
you can answer your own questions next time and even help out others)."
 
Regards,
 
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.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bikram Sahu
Sent: 15 June 2005 13:22
To: [email protected]
Subject: RE: [flexcoders] viewstack

 
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of Steven Webster
Sent: Wednesday, June 15, 2005 5:17 PM
To: [email protected]
Subject: RE: [flexcoders] viewstack

Bikram,
 
The sample code is not something that we are making available (yet) for download.  If you are a
new user to Flex, I'd recommend that you spend some time becoming comfortable with the MXML
language, and with ActionScript 2.0, and with all the built-in effects (including Parallel and Sequence)
before you get adventurous and start trying to write your own effects in ActionScript 2.0.
 
A general point to everyone (which is in the FAQ for this list) is that rather than asking for code
on the flexcoders list, and expecting full samples to be emailed particular to your problem, you're
not going to get them .... rather you should post the code that you have written, and provide the
list with a small test case that exposes the gap in your understanding that prevents you getting
from where you are, to where you want to be.  If that gap is a full piece of source code, then
there's probably some reading to be done first...
 
Best wishes,
 
Steven
 
--
Steven Webster
Technical Director
iteration::two
[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 6108
Mobile: +44 (0)7977 216 223
 
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.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bikram Sahu
Sent: 15 June 2005 12:04
To: [email protected]
Subject: [flexcoders] viewstack

hi ,
 
 recently i am using the view stack i have two pages in that.i want like the page which defined in the url but not able to do also i can not understand the code so please help me to achive this type of page using animation give the sample code for that.previously i have put a question but no reply today i hope some one must help me i am anew user to flex 
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of Dirk Eismann
Sent: Wednesday, June 15, 2005 3:18 PM
To: [email protected]
Subject: RE: [flexcoders] Design flaw in DataGrid sorting

You can sort Date objects by sorting on their numerical getTime() value, i.e.

<mx:Script>
  private function sortColumn(evt:Object):Void {
    if (evt.target.sortDirection == "DESC") {
      var arrayFlags:Number = Array.DESCENDING;
    } else {
      var arrayFlags:Number = Array.ASCENDING;
    }
    evt.target.sortItems(sortByDate, arrayFlags);
  }

  public function sortByDate(itemA:Object, itemB:Object, flags:Number):Number {
    var a:Date = itemA.date;
    var b:Date = itemB.date;
    if (flags == Array.ASCENDING) {
      if (a.getTime() < b.getTime()) return -1;
      if (a.getTime() == b.getTime()) return 0;
      if (a.getTime() > b.getTime()) return 1;
    } else {
      if (a.getTime() < b.getTime()) return 1;
      if (a.getTime() == b.getTime()) return 0;
      if (a.getTime() > b.getTime()) return -1;
    }
  }
</mx:Script>

<mx:DataGrid
  id="dateGrid"
  dataProvider="{data}"
  headerRelease="sortColumn(event)"
  >
  <mx:columns>
    <mx:Array>
      <mx:DataGridColumn sortable="true" columnName="date" headerText="Date" />
    </mx:Array>
  </mx:columns>
</mx:DataGrid>


Dirk.


> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> Behalf Of Sean McKibben
> Sent: Tuesday, June 14, 2005 9:35 PM
> To: [email protected]
> Subject: [flexcoders] Design flaw in DataGrid sorting
>
>
> I have to call the data grid's sorting mechanism flawed.
>
> Let's examine a case where you want to sort a dataGrid by a date 
> column. In all likelihood, you're going to have a labelFunction to 
> format your date objects into a string. Depending on your locale, 
> that string is probably not what you want to sort on (i.e. 02/04/05 
> comes before 02/03/06 on the calendar, but not as a string),
> so you'd 
> like to write a sortCompare function for that column.
>
> Unfortunately, the sortCompare function only receives the string 
> value from the labelFunction, so you'd either have to do some very 
> slow string parsing, or sort based on the results from the 
> labelFunction alone. You don't get a chance to compare any more 
> information about a row than the string returned by a labelFunction, 
> and the labelFunction can only return a string.
>
> Not a good way to do it, Macromedia!
>
> So, what is the best workaround? Let it sort once, then resort using 
> the headerRelease event and operating on the DataProvider? (assuming 
> headerRelease fires after sorting is done - contrary to the 
> documentation, but in line with Ailstair McLeod's tests)
>
>
> Sean
>
>
>

> Yahoo! Groups Links
>
>
>

>
>
>
>


Yahoo! Groups Links

Reply via email to