![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
[SOLVED] Fade in from html to flash
I have an html site and I have a flash games section.
I want to be able to put thumbnails of flash games on the site. When the user clicks on the link(thumbnails) it will fade into the flash game centered on screen. Any idea how I would go about doing so. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,854
OS: Vista, various linux distros
|
Re: Fade in from html to flash
The fade on a flash object would be down to the flash itself, possibly a flash loader that fades then opens the swf files within.
But again making the flash invisible until the game loads is another problem accross browsers... Basically the way to go about it is to have everything from your thumbs to your content in flash and then dynamically embedding the swf files. That's the only way i can see it working cross-browser. Cheers, Jamey |
|
|
|
|
|
#3 (permalink) |
|
Registered User
|
Re: Fade in from html to flash
ok thanks. I see what you're getting too, but I think I didn't make myself clear enough.
I've seen this on websites, from professional photographers. They basically had a smaller thumbnail of an image. With html they managed to fade the entire page from the corners of the site from black to an opaque grayish/black and the picture would center in the middle. Now they're embedding the .jpg images, where you could just replace the content and use .swf instead. I would imagine this is entirely possible to do with flash, using html as the backbone. I just do not have the experience yet to figure it out. Last edited by ech0419; 07-03-2009 at 08:02 PM. |
|
|
|
|
|
#4 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,854
OS: Vista, various linux distros
|
Re: Fade in from html to flash
Yep, it's easily do-able with images and html because images are parsed in a different way. (You can use CSS to change the opacity of an image). However when working with flash the opacity of the flash object can not be changed at runtime.
With an image you would just use the normal method. And mix it with a little javascript, but if you try that with flash it doesn't work. Hence, the only way to do it(effectively) is to make your entire thumbnails/holder in flash. Cheers, Jamey |
|
|
|
|
|
#5 (permalink) |
|
Registered User
|
Re: Fade in from html to flash
Ok, I found it. It's called Lightbox, it's a wordpress css script.
I managed to make one and put it on my site. It worked with flash... sort of. If you like really really messed up pages. I should have given you an example of what I wanted. oops. I managed to find a tutorial on it: http://www.emanueleferonato.com/2007...script-needed/ So I'm working on adding it to my site. Which it works fine with .png and .jpg. But it's liking flash at the moment. Any idea if I can use flash with this? |
|
|
|
|
|
#6 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,854
OS: Vista, various linux distros
|
Re: Fade in from html to flash
Nope, as i said above, this wont work with flash, because you can't change the opacity of an embedded object... If you want to do this with a flash movie you will have to create the lightbox in flash.
|
|
|
|
|
|
#7 (permalink) |
|
Registered User
|
Re: Fade in from html to flash
Nevermind, I found out how to make it work with flash.
I'm not fading the flash. A new background image appears overlaying then entire site, the black background fades to 80% opacity and the flash object is embedded dead center. It looks really nice. I'll post a link to my site when I get it 100% working. Thanks for the advice. |
|
|
|
![]() |
| Thread Tools | |
|
|