-
Loading An Image
Hi
I am new to flash, and I have a task to do, that is to load an image (jpg) on a particular frame of the movie. Note, that the image will be a result of an upload form. I have already done the upload / resize part in PHP.
I know that this can be done using FlashVars, but do not know how to put that on Flash.
Please guide me what steps are needed and what are the things (movie clip etc etc) are needed to set. I will be very much thankful if you can provide me step by step guide.
Thanks
Zeeshan
-
Hello people, !!
I want to know if I am missing anything OR any rule !
MODS, can u please tell me if the post is OK ?
because this is my 2nd post here, and so far none of the post were replied.
-
Did I asked a lot advanced things ?
-
Nope, no rules breaking. I'm guessing your question isn't clear. I saw your post yesterday. That's what i thought then:
question:
.... to load an image (jpg) on a particular frame of the movie.
obvious answer:
use loadMovie or loadClip on that keyframe. Or call a loading function on that keyframe.
Then:
I know that this can be done using FlashVars...
FlashVars ?? What's the connection with loading an image?
So, I then thought, no that's not what the question meant. And i have no idea what you meant now.
It's possible other members thought that too...
gparis
-
Hi
Wow, at last I got a reply. But in other forums, if anything is unclear, people ask to clear it.
Anyways, if you have ready my full question then you can find the answer of FlashVars.
I wrote that I want to show the image/photo that was uploaded from a HTML form.
Here is the question in easiest wording !
I have a form where people fill in some data and upload a photo via a HTML form.
As the result a HTML file is generated that calls the SWF file and pass the form data via FlashVars.
Now i want a step by step guide for how to show that uploaded photo on frame no. 400 till 1000 in Flash.
-
So you uploaded the picture. And you want to hide it from view until the playhead reaches keyframe #400. Right? then set its _visible property to false to start with, then to true on keyframe 400, then false again on frame 1000. As in:
container._visible = true; // visible
container._visible = false; // invisible
That's one option.
gparis
-
Yes,
but again if you have ready my question in detail, I am a novice, I want to know how to put everything on flash. A Step by step guide !
-
Frame1: container._visible = false; // invisible
Frame400: container._visible = true; // visible
Frame1000: container._visible = false; // invisible
gparis