View Full Version : Creating a flash intro for a website
TeeTee
03-23-2011, 05:35 PM
Hi guys,
Would someone please help! I am new to flash and creating websites...I am trying to create a pop up page for my website which will greyout the homepage and display the logo (on a pop up window) - it will give the user the option to close the window containing the logo, once the logo is closed, the page is no longer greyed out...an example of what i'm trying to do
I'd really appreciate any suggestions on how to do this and which version of flash to use
Thanks
Welcome aboard. This is strictly my opinion, so don't take any offense, but I'm pretty sure the general consensus would be to NOT do that at all. "Splash pages" are pretty well reviled at this point, and most web developers would agree that the end-user wants to get to the meat of the site as fast as humanly possible. Users are on sites for the specific purpose of getting at whatever product that site offers; they are not there to see how nice of an animation you can make or how good you are at shoving your logo in their face.
Not to mention the fact that you’re obviously cutting off a big portion of the viewing audience by even using Flash for a web site. (i-Users mainly).
Don't get me wrong, I love Flash, and it sucks that it's falling by the wayside, but things like this are why people hate it.
Just my two cents.
As far as your question goes, there is no "right' version of Flash. You use whatever is available to you and publish for the newest player you can.
Good luck.
beachhead75
03-30-2011, 03:27 PM
I'm trying to do the same as TeeTee, and am pretty much in the same position. While I agree that the flash intro is annoying, i'm trying to do it for a school project and to learn a bit more about actionscript in general. A bit more direction on the how to would be greatly appreciated.
Welcome aboard.
There's nothing special about a splash page, so I'm not really sure what you're asking...
I mean, basically, you're going to either place it directly on the timeline and have it just move to the next item when it finishes, or you're going to call it from an external file and remove it's holder clip when it finishes.
As far as all the greyed out stuff goes, again, it's can be simple timeline stuff or scripted property changes, so, I'm not really sure what the question here is...
beachhead75
03-30-2011, 11:31 PM
Hi guys,
Would someone please help! I am new to flash and creating websites...I am trying to create a pop up page for my website which will greyout the homepage and display the logo (on a pop up window) - it will give the user the option to close the window containing the logo, once the logo is closed, the page is no longer greyed out...an example of what i'm trying to do
I'd really appreciate any suggestions on how to do this and which version of flash to use
Thanks
It's probably not the answer your looking for, sort of jerry-rigging some code here, but I've been able to get a prettyPhoto (no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/documentation/") to do what you just described. I had to tweak "$(document).ready(function()" in the page itself to make it popup with the swf file when the page opened:
$(document).ready(function(){
$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'fast',slideshow:100 00});
$(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'fast',slideshow:100 00});
$("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({
custom_markup: '<div id="map_canvas" style="width:260px; height:265px"></div>',
changepicturecallback: function(){ initialize(); }
});
$("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({
custom_markup: '<div id="bsap_1237859" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6" style="height:260px"></div><div id="bsap_1251710" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div>',
//changepicturecallback: function(){ _bsap.exec(); }
});
$.prettyPhoto.open('FMWM5.swf?width=544 &height=399', '', 'Click anywhere to skip intro...');
setTimeout("$.prettyPhoto.close()", 8000);
});
changepicturecallback was giving me a "_bsap is not defined" error (seen in firebug) so i commented it out.
Here's the scrap page I was using for testing:
fortmitchellwalmart.com/prettyPhotoTest/index.html
Hope that saves someone a couple hours, took me all day long to figure that much out (html and javascript noob)
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.