Hi, all, I’m new to the forum, although I’ve been reading it for some time now and I have found it very useful. However, I’ve encountered a problem with Flash that I dont seem to find here and I thought it would be just about time to register and to get some help.
The thing is this, I dont know if its even possible, but can a variable obtained from an input text be used to search an image in the _root directory with the same name and load it in a new browser window?
Heres an example of the AS Im using:
on (release)
{
if (ticket == null)
{
stat = “Please enter your ticket’s number.”;
}
else
{
getURL(“ticket/—.jpg”, _blank);
} // end else if
}
As you can see, the thing is for people to enter the website and enter a coupon number so that he can view his ticket (Each ticket being saved as a JPG by this time) and even print it.
Does anyone know if it can be done? Or is there another way of doing this?
Id appreciate your help, thnxs in advance =)
by the way, Im using AS 2 and using Flash CS3.