Loading images and playing with them

This is a discussion on "Loading images and playing with them" within the Flash & Multimedia Forum section. This forum, and the thread "Loading images and playing with them are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 24th, 2006, 17:44
New Member
Join Date: Oct 2006
Location: Hemel Hempstead
Age: 25
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Loading images and playing with them

Hi all,

I have a file upload function working nicely, using the new fileReference class. I then takes the image file & downloads it to a Movie clip using loadMovie.
The problem is, that when I try to manipulate the image further - i.e applying a transformation matrix - it won't respond to anything.
i'm trying to use some code (written by www.senocular.com - if you haven't seen his stuff, i'd recommend a look - v.good) that gives the user a 'free transform' ability on the loaded image. I can get the code to work, when I apply it to an image that has been converted to a movie clip and is already on the stage, but not when the image is loaded into the clip using my upload/download function.
I've tried using the MovieClipLoader class, but I can't get that to even load the image. I think my problem there, is that the file name is only defined once the file has been uploaded. i.e:

Code: Select all
//works
function downloadImage(file:Object):Void {
imageHolder.loadMovie("./uploaded/" + file);
}

//Doesn't work
var imageHolder:MovieClipLoader = new MovieClipLoader();
var imageHolderListener:Object = new Object();
imageHolder.addListener(mclListener);

function downloadImage(file:Object):Void {
  imageLoader.loadClip("./uploaded/" + file);
}
I'm going crazy over this one - apologies if this post doesn't make sense - I think I might have melted a vital part of my brain...

Any ideas most welcomed... i'm going to get a stiff drink...

Thanks,

DrGonzo
Reply With Quote

  #2 (permalink)  
Old Oct 25th, 2006, 14:25
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Loading images and playing with them

Not really sure....everything seems to be coded right in your action script. Maybe there is some other action script code that is interfering with you document. Try starting with a new clean document, and put everything back one peace at a time. When it stop's working then find out what you did. I know this might sound stupid but it seems to work for me.
Reply With Quote
Reply

Tags
loadmovie moviecliploader

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing loading MP4 files/Video Towbar Flash & Multimedia Forum 14 Sep 8th, 2007 23:38
Flash & PHP (Loading Images Dynamically) waqasnisar1983 Flash & Multimedia Forum 0 Feb 22nd, 2007 11:18
Help w/ rollover images not loading camcool21 JavaScript Forum 3 Jan 1st, 2007 01:22
Images not loading on some computers Antwan Web Page Design 1 Sep 7th, 2006 15:07
Images loading too sporadically laura888 Web Page Design 4 Jun 19th, 2006 15:42


All times are GMT. The time now is 20:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43