Loading movie with uploaded image

  • makhan
  • Novice
  • Novice
  • makhan
  • Posts: 31

Post 3+ Months Ago

Hi

This example upload an image to the server.

http://flash-db.com/Tutorials/upload/index.php

I want to load this uploaded image into a new movie which willl be on the same htlm page. can somone help me with this.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • krismeister
  • Graduate
  • Graduate
  • krismeister
  • Posts: 202

Post 3+ Months Ago

The example you sent has this code on the second page:
Code: [ Select ]
// show uploaded image in scrollPane
function downloadImage(file:Object):Void {
 imagePane.contentPath = "http://localhost/upload/files/" + file;
}
  1. // show uploaded image in scrollPane
  2. function downloadImage(file:Object):Void {
  3.  imagePane.contentPath = "http://localhost/upload/files/" + file;
  4. }

That is where you would send the image into a different MovieClip using loadMovie();
  • makhan
  • Novice
  • Novice
  • makhan
  • Posts: 31

Post 3+ Months Ago

Thanks Krismeister, that is exactly what i am doing. But my swf file is on the same html page as this swf file which has this code that you pasted. But i am not able to work successfully loadMovie function. Can you please guide me how I can send to swf this image.

I would really appreciate your help
.
  • krismeister
  • Graduate
  • Graduate
  • krismeister
  • Posts: 202

Post 3+ Months Ago

Are you talking about 2 separately embedded movies?

http://www.actionscript.org/resources/a ... Page1.html

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 29 guests
  • 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 post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.