Adobe Dreamweaver Forums



Last 10 THreads :         Re: Your techiques for removing specular from photos (Last Post : Don_Gough@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Colour differences on the web (Last Post : g_ballard@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Colour differences on the web (Last Post : Jim_Jordan@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Printing too dark in CS4 (Last Post : Tom_H_Mikkelsen@adobeforums.com - Replies : 0 - Views : 1 )           »          button rollover to keyframe help (Last Post : mrpetesurfs - Replies : 2 - Views : 3 )           »          How to turn IMAGE into MOVIECLIP??? (Last Post : Snufferson - Replies : 21 - Views : 22 )           »          What is the best way to get the minimum or maximum valuefrom an Array of numbers? (Last Post : ericbelair - Replies : 4 - Views : 5 )           »          Scaling .swf files to fit specific dimensions (Last Post : mrpetesurfs - Replies : 1 - Views : 2 )           »          Stop ALL Sounds (Last Post : mrpetesurfs - Replies : 1 - Views : 2 )           »          Stop looping??? (Last Post : mrpetesurfs - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-04-2008, 08:59 AM
manofspirit
 
Posts: n/a
Diggs:
Default cornerRadius of Default Application Preloader

Hello Guys
As you know that a default flex application has a preloader with 5+ cornerRadius.
I want its cornerRadius to 0.
Dont know how!
Please help with detail.
Thanks in advance


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-04-2008, 09:00 AM
SujitG
 
Posts: n/a
Diggs:
Default Re: cornerRadius of Default Application Preloader

Hi,
Try creating a custom pre loader and overriding the function. In this function
return a RoundedRectangle with Zero corner radius. Set this as the pre loader
for your application. Please find few articles on creating custom pre loaders
at the URL below.

http://www.onflex.org/ted/2006/07/fl...f-examples.php

Hope this helps.

package com.adobe
{
import mx.graphics.RoundedRectangle;
import mx.preloaders.DownloadProgressBar;

public class CustomPreloader extends DownloadProgressBar
{
public function CustomPreloader()
{
super();

}

override protected function get borderRect():RoundedRectangle
{
return new RoundedRectangle(0, 0, 182, 60, 0);
}
}
}

Reply With Quote
  #3 (permalink)  
Old 11-04-2008, 09:00 AM
manofspirit
 
Posts: n/a
Diggs:
Default Re: cornerRadius of Default Application Preloader

Thanks Bro
Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 09:45 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk