View Full Version : swf vs. html...
chrisopia
08-11-2009, 11:59 AM
I stumble across some flash websites for inspiration... and I was comparing sites that are embedded html sites, and some are just a swf file playing.
I was more intrigued by the fact that the swf file url was http://www.website.com ... and not something like www.website.com/index.swf
I was wandering how they did this and is there any advantage to displaying a website in this way?
Aberrant
08-12-2009, 07:56 AM
I was more intrigued by the fact that the swf file url was http://www.website.com ... and not something like www.website.com/index.swf
I was wandering how they did this and is there any advantage to displaying a website in this way?
Good point chrisopia. *Is waiting for responses by the experts.*
Rick Adams
09-10-2009, 03:51 PM
Good point chrisopia. *Is waiting for responses by the experts.*
Exactly what I am looking for too. Start my index page with preloader, then video, and end on home page in one smooth motion.
Thanks for asking. We'll wait together.
chynna16
09-10-2009, 04:00 PM
Good informative post
I was more intrigued by the fact that the swf file url was http://www.website.com ... and not something like www.website.com/index.swf I was wandering how they did this and is there any advantage to displaying a website in this way?
Well for one its more professional to not link directly to a SWF :p
See the Flash Publishing Overview.
http://livedocs.adobe.com/flash/9.0/UsingFlash/help.html?content=WSd60f23110762d6b883b18f10cb1fe1 af6-7bd3.html
Better yet look into and use SWFObject...
SWFObject 1.5
http://blog.deconcept.com/swfobject/
SWFObject 2.+
http://code.google.com/p/swfobject/
Those should help ;)
The method I use since I have Adobe's Master Collection is to create the .fla in Flash and then publish (Shift F12 or CTRL Enter when shift-f12 doesn't trigger it...odd issue) I then create an HTML template in Dreamweaver my default template is the '3 column, header and footer'.
Then it's a simple task of dropping the .swf file into the Site Folder that you create in Dreamweaver and then dragging from within Dreamweaver (Files Window) to the area of HTML you want it to display.
Modify the HTML's background to your liking; preferably removing the text and grey and white background the template uses.
---
Personally, if you're not going to be using forms then go Flash. If you're going to use both use a combination and simple link back to your main site on any Form pages, which would be done in pure HTML with maybe Flash elements for say Banners or animated items.
This is simply because I have 'issues' with php....meaning I couldn't write it even if my only means of rescue were creating a php script to email for help.
Rick Adams
09-18-2009, 05:18 PM
I finally got a pdf from Adobe. They told me to use Action Script 2.0 and Flash 9. That seems counter productive, but though my file works fine on my computer it does not work on my server or my wife's computer, so ....
This is the Action Script 3.0 code I used at the end of my video to go to my home page. Could someone kindly give me the 2.0 code?
navigateToURL( new URLRequest("home.html"), "_self" );
I imagine this will change my preloader also.
Rick
This is the Action Script 3.0 code I used at the end of my video to go to my home page. Could someone kindly give me the 2.0 code? navigateToURL( new URLRequest("home.html"), "_self" );
Your question does not relate to the thread topic you posted in.
For AS2 you need to use one of the following options
- getURL
- externalInterface
Read about each in the Flash Help Files.
Rick Adams
09-19-2009, 07:14 PM
Sorry.
Thought it did,
but thanks.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.