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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 07-03-2009, 05:20 PM   #1 (permalink)
Registered User
 
ech0419's Avatar
 
Join Date: Mar 2007
Location: North Eastern US
Posts: 172
OS: XP pro ~ Vista Ultimate x64 & x32 ~ os x 10.4 ~ Ubuntu 7.10


Send a message via AIM to ech0419
[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.
ech0419 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 07-03-2009, 06:12 PM   #2 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,853
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
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-03-2009, 08:01 PM   #3 (permalink)
Registered User
 
ech0419's Avatar
 
Join Date: Mar 2007
Location: North Eastern US
Posts: 172
OS: XP pro ~ Vista Ultimate x64 & x32 ~ os x 10.4 ~ Ubuntu 7.10


Send a message via AIM to ech0419
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.
ech0419 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-04-2009, 03:16 AM   #4 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,853
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
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-04-2009, 12:52 PM   #5 (permalink)
Registered User
 
ech0419's Avatar
 
Join Date: Mar 2007
Location: North Eastern US
Posts: 172
OS: XP pro ~ Vista Ultimate x64 & x32 ~ os x 10.4 ~ Ubuntu 7.10


Send a message via AIM to ech0419
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?
ech0419 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-04-2009, 01:12 PM   #6 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,853
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.
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-04-2009, 02:50 PM   #7 (permalink)
Registered User
 
ech0419's Avatar
 
Join Date: Mar 2007
Location: North Eastern US
Posts: 172
OS: XP pro ~ Vista Ultimate x64 & x32 ~ os x 10.4 ~ Ubuntu 7.10


Send a message via AIM to ech0419
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.
ech0419 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 10:28 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85