Advanced Flash Components
Search!
Search!
Home >  Forum
  SearchSearch   
Image example, image ref local drive Error #2044

 
Post new topic   Reply to topic     Forum Index -> Tooltip ActionScript 3.0
View previous topic :: View next topic  
Author Message
gilesadamthomas
AFC Member


Joined: 18 Jun 2010
Posts: 2

PostPosted: Fri Jun 18, 2010 12:32 pm    Post subject: Image example, image ref local drive Error #2044 Reply with quote

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
View user's profile Send private message
davidsg
AFC Space Invader


Joined: 13 Jun 2010
Posts: 51

PostPosted: Fri Jun 18, 2010 12:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
gilesadamthomas
AFC Member


Joined: 18 Jun 2010
Posts: 2

PostPosted: Fri Jun 18, 2010 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Tooltip ActionScript 3.0 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group