View Full Version : How to put something made into flash into website?
Twilightrose917
05-22-2008, 01:57 PM
Hey everyone - a friend of mine made a custom cursor in a flash tutorial, and he wants to use it in a portfolio website that he is making. (the website isn't published - it's only for our Commercial Art class.) I guess I don't know if this is possible, but if it is, can you tell us how?
Thanks! XD
Medyman
05-22-2008, 02:45 PM
I'm not sure what you mean...
He made a cursor within Flash and he wants to use it on a non-flash site? or he wants to embed the entire Flash movie within his page?
The first isn't possible. You can use javascript to replicate the cursor effect, but you can't take the flash cursor and use it in on a non-flash page.
For the second, I'd recommend using SWFObject (http://code.google.com/p/swfobject/). Documentation are here (http://code.google.com/p/swfobject/wiki/api). Code generator is here (http://code.google.com/p/swfobject/wiki/generator). Examples are here (http://code.google.com/p/swfobject/wiki/test_suite). FAQ is here (http://code.google.com/p/swfobject/wiki/faq).
Hope that helps :D
Twilightrose917
05-22-2008, 06:01 PM
yes - he made a cursor inside flash, and he wants to use it on his portfolio.... I'm not sure what 'flash page' is. Is it something like a web page built using flash? *ish confused*
I'll look at those links and see if my friend and I can do anything with them.... we might have to rework his page though... (depending on how the flash page thing works...)
Thanks Medyman! :D
Medyman
05-22-2008, 08:06 PM
yes - he made a cursor inside flash, and he wants to use it on his portfolio.... I'm not sure what 'flash page' is. Is it something like a web page built using flash? *ish confused*
Yes, the page would have to be 100% built and scripted within Flash to be able to use a cursor properly in the whole webpage. If the cursor only has to work within the flash movie that he built it in, you can just embed the Flash using the SWFObject I suggested earlier.
Depending on cursor, you could output the cursor as a .gif file and use some javascript (using any of these scripts (http://www.dynamicdrive.com/dynamicindex13/customcursor2.htm)).
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.