| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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! |
|
#2
| |||
| |||
| 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. |
|
#3
| |||
| |||
| 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? |
|
#4
| |||
| |||
| 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 |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.