• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

image gallery,

I'm scratching my head on this for sometime now.

I searched around and found something similiar to what I want but they have a lot of codes (complex) and is very nice but I want a very simple one.

on the stage I there will be thumbnails of a few images lined up side by side.  Above the thumbnails is the area I want to display the enlarged image.  

1.  There will be an external image folder containing images.  So I want to do is when the thumbnail is clicked on,  it will load the external images and display onto the reserved spot for the larger picture. I need this portion for a project i'm doing.

Is there a simplier code for this?  

----This is a FileIO code on a button that opens up a external text file,  and displays the contents in a text box field ("textbox").   Too bad this works only for text.  I tried using this code to open up an image but of course it don't work,  but is did show some weird characters (@$) something like that.

on mouseUp me
  myfile=new(xtra"FileIO")
  myfile.openFile("docfile.txt",1)
  member("textbox").text=myfile.readfile()
  myfile.closeFile()
 end

Is there something similari to the obove? it can load images from internal cast too if thats easier.
0
speed_mst
Asked:
speed_mst
1 Solution
 
MediaMacrosCommented:
FOr the images you can use this..

b = new(#bitmap)
b.filename = the moviePath & "file.jpg"

Then you can use imaging lingo or set the member of a sprite to display them
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now