| View previous topic :: View next topic |
| Author |
Message |
gilesadamthomas AFC Member
Joined: 18 Jun 2010 Posts: 2
|
Posted: Fri Jun 18, 2010 12:32 pm Post subject: Image example, image ref local drive Error #2044 |
|
|
I am using the image tooltip, it works when the images are ref online eg
http://www.afcomponents.com/content/images/layout/logo.gif
but when i ref on local drive i get
Error #2044: Unhandled ioError:. text=Error #2035: URL Not Found. URL: file:
///D|/rv/clients/lancaster%2Duni/campus%2D360/web/uni%2Dtemplate/upload/rv%2Dvirtual%2Dtour/system/shared/images/2.jpg
i have tried using
import com.afcomponents.tooltip.ContentType;
myTooltip2.contentStyle.type = ContentType.IMAGE;
myTooltip2.content = new URLRequest("images/2.jpg");
with
AFC Tooltip Component
in the content field
thanks |
|
| Back to top |
|
 |
davidsg AFC Space Invader

Joined: 13 Jun 2010 Posts: 51
|
Posted: Fri Jun 18, 2010 12:54 pm Post subject: |
|
|
Hi,
Please make sure the path to the image you're trying to load is correct and relative to the location of the SWF file that contains the Tooltip.
You can pass "images/2.jpg" to the "content" property only if the SWF file is in the same directory with the "images" directory.
Let me know if you need further assistance with this. |
|
| Back to top |
|
 |
gilesadamthomas AFC Member
Joined: 18 Jun 2010 Posts: 2
|
Posted: Fri Jun 18, 2010 1:15 pm Post subject: |
|
|
Hi
Thank you that was very helpful i had the file path relative to the development file stupid error really but thanks for that really appreciate it |
|
| Back to top |
|
 |
|