User photos in AS 2 blog

This is a discussion on User photos in AS 2 blog within the Macromedia Flash forums in Adobe Tools category; Hi, I'm trying to use a DataGrid component to create a blog in AS2. The problem lies when I try to visualize the user's photo in the DataGrid. I'm using a cellrenderer script that visulizes icons in a DataGrid, but it only works if the images are in the library and have a linkage name. It doesn't work if I try to load an external JPG or GIF. Does anyone know how to solve this problem? Thank you!...

Go Back   Application Development Forum > Adobe Tools > Macromedia Flash

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-10-2008, 07:07 AM
tatiana1
Guest
 
Default User photos in AS 2 blog

Hi, I'm trying to use a DataGrid component to create a blog in AS2. The problem
lies when I try to visualize the user's photo in the DataGrid. I'm using a
cellrenderer script that visulizes icons in a DataGrid, but it only works if
the images are in the library and have a linkage name. It doesn't work if I try
to load an external JPG or GIF. Does anyone know how to solve this problem?
Thank you!

Reply With Quote
  #2  
Old 11-10-2008, 07:53 AM
Devendran
Guest
 
Default Re: User photos in AS 2 blog

If you are using default "iconField" property it will attach that icon from library.
if you would like to use External File. Create your own CellRenderer.

Reply With Quote
  #3  
Old 11-11-2008, 05:05 AM
tatiana1
Guest
 
Default Re: User photos in AS 2 blog

Hi, I read the tutorial but it doesn't really explain how I can use AS2 to load
external images in a DataGrid component. I need to load an image from a path
like http://www.mysite.com/images/myimage.jpg. Is it at all possible?

Reply With Quote
  #4  
Old 11-11-2008, 06:20 AM
Devendran
Guest
 
Default Re: User photos in AS 2 blog

You can download the Source file for that Sample Over here.

http://www.flash-db.com/Tutorials/download.php?id=167

Extract that zip file and open the IconCellRenderer class

on that you can see setValue function. do you loading over there....

i hope this is more than enough to reach your goal


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:38 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.