IT Community - Software Programming, Web Development and Technical Support

Adobe Flex Tips & Tricks

This is a discussion on Adobe Flex Tips & Tricks within the Adobe Flex Programming forums, part of the Web Development category; wow what a great thread ......it really helps me a lot in different wayzz .......thanks a lot everyone for sharing ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Adobe Flex Programming

Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools Display Modes
  #11  
Old 12-19-2008, 04:40 AM
sara_criss sara_criss is offline
D-Web Trainee
 
Join Date: Dec 2008
Posts: 6
sara_criss is on a distinguished road
Default Re: Adobe Flex Tips & Tricks

wow what a great thread ......it really helps me a lot in different wayzz .......thanks a lot everyone for sharing all this genral information ....and special thanks to !_kerher_! for giving adobe flex tips and tricks ....
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 12-22-2008, 07:22 PM
harshley harshley is offline
D-Web Trainee
 
Join Date: Dec 2008
Posts: 5
harshley is on a distinguished road
Default Re: Adobe Flex Tips & Tricks

When loading data from a webservice to be shown in a datagrid it seemed that all values in the grid are treated as string-values. So when sorting numeric columns the values were not in the correct order.

Instead of:
1 - 2 - 3 - 4 - 11 - 12 -21
You get:
1 - 11 - 12 - 2 - 21 - 3 - 4
__________________
harshley
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 01-13-2009, 05:01 AM
JimmyK JimmyK is offline
D-Web Trainee
 
Join Date: Jan 2009
Posts: 1
JimmyK is on a distinguished road
Default Re: Adobe Flex Tips & Tricks

Your tips and info are really helpful to my web programming life,
Can I get any reference to adobe ebooks?
__________________
Jimmy,
1080p
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 02-03-2009, 01:38 AM
Sam100 Sam100 is offline
D-Web Trainee
 
Join Date: Feb 2009
Location: Los Angeles, CA
Posts: 5
Sam100 is on a distinguished road
Default Re: Adobe Flex Tips & Tricks

Great tips! This adobe flex tutorial might be useful for beginners.

Adobe Flex Tutorials - Tutorialized

Hats off to Mr.Karpagarajan. Thanks for sharing!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 04-04-2009, 12:28 PM
Meckenzie Frhm Meckenzie Frhm is offline
D-Web Trainee
 
Join Date: Apr 2009
Posts: 2
Meckenzie Frhm is on a distinguished road
Default Re: Adobe Flex Tips & Tricks

Well, surely it will be a great addition for my programming tools and resources archieve. I'd been digging the net for free resources how to web designing, because I want to go back to my programming profession, but i cannot afford to go back to school to review, so I am doing self study.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16  
Old 04-08-2009, 05:00 AM
Nagusi Imman Nagusi Imman is offline
D-Web Trainee
 
Join Date: Apr 2009
Posts: 1
Nagusi Imman is on a distinguished road
Default Re: Adobe Flex Tips & Tricks

Hey friends, you have given some useful reference for Adobe users, Really helpful. Karpagarajan, My kindly regards to you....Also, here I have got full training tips... that is great too. Let me check out other threads over here
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17  
Old 05-01-2009, 04:49 AM
Bernadette Bernadette is offline
D-Web Trainee
 
Join Date: Apr 2009
Posts: 9
Bernadette is on a distinguished road
Default Re: Adobe Flex Tips & Tricks

that is a very detailed coding you just shared. Thank you it will help me a lot to start learning Adobe Flex. Very nice post.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18  
Old 06-22-2009, 09:21 PM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 301
Karpagarajan is on a distinguished road
Default Re: Adobe Flex Tips & Tricks

Hey.. All, thank you so much for your appreciation. I will keep posting the new tips...

Thanks
Karpagarajan.R
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19  
Old 06-23-2009, 03:18 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 301
Karpagarajan is on a distinguished road
Default Re: Adobe Flex Tips & Tricks

Hi All,

Here I am going to give the tips about the Flex AIR application native application functionality. When I was working in a Flex AIR application to display the filesystem and the file's icon like windows explorer interface, I found the difficulties to show the file icon in AIR application. Because AIR application itself has some limitations to access the OS native application functionalities. So I did some my R & D works and after a quite search, I had found a steven's article, which helped me lot to complete this requirement. I have given some technical stuffs ...Please check it below...


File property BitmapData object
AIR has support for retrieving the native system icons in whatever supported sizes exist. The icons are stored as a property of each File object as BitmapData, in an array, File.icon.bitmaps. Each element in the array is the same icon at different sizes, e.g. 32×32, 16×16 etc.

In order to get at an icon at a given size, you can’t rely on what sizes are available at a given element position, so you need to create a new (empty) BitmapData object at your target dimension, then iterate through File.icon.bitmaps until you hit the matching-sized BitmapData object. Once you have a match, you can put the matching data into your own BitmapData object. Here’s a brief example:

Code:
public function get32Icon():BitmapData {
            var myFile:File = new File("C:/foo.txt");
            var bmpData:BitmapData = new BitmapData(32, 32);
            for (var i:uint = 0; i < myFile.icon.bitmaps.length; i++) {
                if (myFile.icon.bitmaps[i].height == bmpData.height) {
                       bmpData = myFile.icon.bitmaps[i];
                   }
               }
               return bmpData;
         }
now We have my icon data, in an object that also contains other information about the file, like its name etc. To display it in a TileList, or other component, I just use a custom ItemRenderer. I set up an image tag for the icon within the renderer:

Code:
<mx:Image width="32" height="32" source="{getIcon(data)}" />
then create a method in the renderer to return the icon data to the image component:

Code:
private function getIcon(data:Object):Bitmap {
        var bmpData:BitmapData = new BitmapData(32, 32);
        bmpData = data.icon;
        var iconBmp:Bitmap = new Bitmap(bmpData);
        return iconBmp;
        }
Now each time the ItemRenderer has to render an item, it gets the relevant icon, the filename etc. and displays them within the TileList ...

Hope this tips can be very useful to you ...


Thanks
Karpagarajan.R
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Tips and Tricks Sabari PHP Programming 20 12-18-2007 05:26 AM
Adobe LiveCycle Data Services for flex Karpagarajan Adobe Flex Programming 0 07-20-2007 01:05 AM
Adobe AIR integrated with flex Karpagarajan Adobe Flex Programming 2 07-19-2007 07:49 AM
Adobe Flex 3 Beta Karpagarajan Adobe Flex Programming 0 07-16-2007 05:38 AM
SEO Tips & Tricks spid4r Search Engine Optimization 0 03-08-2007 11:03 PM


All times are GMT -7. The time now is 01:54 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0