ActionScript 2.0 :: Once Again About Flash Navigation On HTML Pages

Feb 28, 2008

I'm trying to create a site with HTML pages and Flash based navigation, which basically means that the site content itself is standard in HTML/CSS format, but the main menu bar with the buttons and all is an SWF file. Needless to say, each lit-up button on the menu bar has to dim out on release and take to the corresponding page, e.g. clicking the 'Contact Us' button would cause it to dim out (as if unavailable) and open the 'Contact Us' page. Clicking a different button afterwards, would re-light the previous button and dim-out the newly clicked button and take to the page that corresponds to the newly clicked button, etc, you get the idea. There are 4 buttons for 4 pages.
Anyway, so far I've tried two methods which have failed:

Method A.
I exported four duplicate SWFs from the same FLA, with the only difference being the one unique button dimmed out and the other three lit up (a total of 4 combinations). Then, I put a different SWF on each page. This, the 'Contact Us' page would have the copy of the SWF with the 'Contact Us' button already dimmed out; the 'Home' page would have the one with the 'Home' button dimmed out, and so on. The obvious problem with this approach is that an SWF needs to load over again every time the page changes, which results in a brief, but, nonetheless, annoying enough blink. I hoped to combat this latency issue by loading all bitmap elements in the flash files externally, as opposed importing them to the library. I assumed that since all SWF copies accessed the exact same bitmaps from the exact same location, they would be cached in the memory somehow and not need to be loaded every time, so there'd be no latency. Then again, I was two days younger. This method failed. As Eric Bogosian's character said in the movie Under Siege 2, "Assumption is the mother of all" (you-know-what-ups).

Method B.
At a couple of other message boards, I was suggested another technique, which would require only one single SWF. A guy gave me a tiny peace of Java Script that would use a variable to inform flash about which page is called so it would know which button in the menu bar to dim out. Although this technique rid me of the necessity to use multiple SWFs, it didn't fix the nasty blinking problem AT ALL!!!

Method C.
I was also advised to "put info in a div and generate server requests to bring the appropriate info up". "You need to use ASP or PHP or some other server language" he said. Well, ASP is absolutely out for me, so I won't even consider it. As for PHP, unless there exits a very simple and straight-forward tutorial with source files, which I could very easily figure out, modify, and implement for my needs, I can't get into it because since I don't know PHP, it takes me a really long time to learn how to do a simple thing with it, which is something I can't afford right now with my deadline and all.

Method D.
I basically want to put the page contents into an iFrame window. Even all drawbacks of using iFrames considered, I still thing this is the optimal way for me. So here's where I currently am on this:I learned how to change the iFrame content using a function. Here's a simple test example, and here are the HTML and JavaScript codes for that example:[code]What I need now is to be able to call that JavaScript function and pass it the URL argument using action script instead.

View 5 Replies


Similar Posts:


ActionScript 2.0 :: Load Different Html Pages From A Swf File With Out Refreshing Html Pages

Oct 6, 2009

I have created a website with one flash animation banner.The banner .swf has 5 menus. Each menu goes to different movieclips inside the .swf file. and at the same time i want to load the corresponding html file when i click the menu button and place the html content into the bottom area of the main html page without refreshing the html page.

View 2 Replies

Html :: Flash - Play A Background Audio Across Multiple HTML Pages.?

Nov 17, 2010

Is there a solution to have the background audio/music play across multiple page on a website, WITHOUT restarting on every page load.The website currently uses a frameset, but I'm looking for an alternative.

View 2 Replies

Flash :: Html - Create HTML Pages Using AMFPHP (on Server)?

Jan 10, 2010

I have AMFPHP installed on my server. I have a flash app that can call it's methods. I want to create some HTML (on server created) pages which will contain HTML code and results of AMFPHP functions. How to create such thing?

View 1 Replies

Navigation Via Pages By Scrolling?

Feb 13, 2010

How to do navigation via flash webpages by scrolling and scroll to exact place by pressing buttons ? this is example of navigation i want to do[url]...

View 4 Replies

ActionScript 2.0 :: Restricting/Allowing Navigation Between Pages?

May 29, 2007

Here's the thing. I'm implementing a navigation system into a project, that requires you to click a button, so that you may advance to other pages.it goes like this: it is a slide-based navigation system, with 4 buttons. To advance to page 2, on page one you must click a button, and so on. Otherwise, no matter how much you click the button linked to page 2, it will never work. And the cycle continues. I guess it's not all that easy to understand..so i've attached a link to the .fla [the file does not have any navigation restrictions

View 1 Replies

ActionScript 3.0 :: Link Navigation Button To Pages?

Sep 25, 2009

Making buttons that open another url is easy enough, but for some reason I'm having a huge amount of trouble having a navigation button open new content on my website, such as moving from the Home content to the Menu content (the layout is static, only one small section filled with content changes.

I think the issue is that I can't figure out how to code it due to the fact that there are a good amount of nested movie clips, I'm not sure how to direct it to the place and frame I want.

I couldn't quite uplaod the file, so I've got it on filefront here: [URL]

View 2 Replies

Professional :: Flash Swf In Html Pages?

May 23, 2011

I have created a twitter API in flash using ActionScript 3.0 which loads the latest feeds from a user by using the screen name of the twitter user. When I test the swf locally it works fine. But the problem comes when I embed the swf in html page.The swf loads but does not show the content where it needs to access the TWITTER url to load the feeds.It doesn't load the feeds. It asks for the global settings to be changed.So, I have changed the settings and played the html page.I works fine.My question is when I will upload the files to a server the same problem will come and it will not load the feeds. How to solve this problem permanently?

View 1 Replies

Professional :: Flash Buttons Have To Re-load On All Html Pages?

Feb 2, 2010

I have continued to find a resolution and have had no luck. My website has 5 flash buttons (tabs) to take you to a new html page. Each time you go to a page the button seems to have to re-load creating a "white blinking" inside the cell. The background of the fla file is black and I have the table cell background set to black hoping thatbut to no avail. I thought once a swf is loaded it won't have to re-load. The swf files are the same on all pages

View 3 Replies

Reading Contents Of Remote Html Pages With Flash?

Oct 12, 2010

writing actionScript code. I'm not an actionScript developer and have been trying to get this to work for hours.The requirement is a script that receives a parameter via javascript. The parameter is a url for a remote html web page.The script needs to load the contents of that html page into a string variable and then call a javascript function passing it the html as parameter.

View 1 Replies

Php :: Show HTML Pages Instead Of Flash To Search Engines?

Mar 28, 2011

Let's say I have a plain HTML website. More than 80% of my visitors are usually from search engines like Google, Yahoo, etc. What I want to do is to make my whole website in Flash.However, search engines can't read information from Flash or JavaScript. That means my web page would lose more than half of the visitors.So how do I show show HTML pages instead of Flash to the search engines?

Note: you could reach a specific page/category/etc in Flash by using PHP GET function, for example: you can surf trough all the web pages from the homepage and link to a specific web page by typing page?id=1234.

View 4 Replies

ActionScript 2.0 :: FMX: Passing Variables Between Flash Movies On Different Html Pages?

Feb 21, 2003

Does anyone know of a good way to pass variables between flash movies on different html pages? Should I use a flash cookie? pass the variables in the URL of the html file and then try to get them back out on the next page?

View 3 Replies

ActionScript 2.0 :: Embedded Flash Menu Causes Html Pages To Jump?

May 14, 2007

I have inserted a flash menu into the html pages in my website. I am using the same swf file and ebedding a variable name in each page eg. "menu.swf?x=about". I then use a conditional statement in the actionscript to determine which page i am on eg

else if (x == "about")
{
mc_menu.about._alpha = 50;

[code]......

View 2 Replies

ActionScript 2.0 :: Mute Button In Flash To Carry Over To Other Html Pages

Aug 19, 2009

I've found an example of this [URL] If you click on the mute button at the top, then navigate to another page, the mute button stays clicked. I have a decompiler, and pulled the code out of it. See below:

[Code]...

View 3 Replies

Button Code Not Opening External Html Pages In Flash Website?

Feb 26, 2012

- I made a flash-based website using Flash CS3 and then embedded the file into a blank html page with Dreamweaver cs3.-All my buttons, linking, and content were made in Adobe Flash CS3 using ActionScript 2.0 (AS2).The issue I am encountering is that when i click on some buttons that have get URL codes, they will not load the html files assigned to the As2 code of the button. The html files are supposed to load in a separate browser window for each html page assigned to each button. The html files are located within subfolders in my Main Site Root Folder.All my AS2 code is Object-based; meaning I applied it directly to my button symbols.

View 4 Replies

ActionScript 2.0 :: Button Not Opening External HTML Pages In Flash Website

Feb 26, 2012

I made a flash-based website using Flash CS3 and then embedded the file into a blank html page with Dreamweaver cs3. All my buttons, linking, and content were made in Adobe Flash CS3 using ActionScript 2.0 (AS2). The issue I am encountering is that when I click on some buttons that have get URL codes, they will not load the html files assigned to the As2 code of the button. The html files are supposed to load in a separate browser window for each html page assigned to each button. The html files are located within subfolders in my Main Site Root Folder. All my AS2 code is Object-based; meaning I applied it directly to my button symbols.

View 2 Replies

Professional :: Having Flash Control HTML Navigation?

Jul 10, 2010

1. I have a flash movie embedded in an html page. When the user clicks on a button in the movie it should open the new in the SAME or CURRENT window NOT in a new tab (leaving that window open).
 
Here's the code..getURL("imageTest.html", _self);
 
2. I can't get my block navigation to show the CURRENT link.I want the current link or page on the navigation bar to be a different color than the other links.
 
I'm able to get the font to change color but I can't get the background or "block color" to change color.

View 2 Replies

ActionScript 2.0 :: Flash MX Navigation On Html Page

Apr 30, 2004

I have a Flash MX navigation on an html page and I want to set up the buttons so that onRelease they will go to named sections on that html page; Thru the use of the <A NAME></A> <A HREF></A> tags.

View 2 Replies

ActionScript 2.0 :: Flash Navigation In HTML Frames

Apr 11, 2006

I want to place a Flash header in an HTML page with frames. I followed a tutorial from this site: [URL]

I could not figure out how to apply it to my own page though, because it didn't explain how to set up the HTML frames at all. I set up a frameset in Dreamweaver, so I have 3 frames, called "topframe", "mainframe", and "bottomframe". In Flash, I applied the following action script to a button as the tutorial instructed:

on (release) {
getURL("affiliates.html", "mainframe");
}

However, when I click on the button to go to "affiliates.html", it opens in a new browser window instead of the main frame.

View 1 Replies

Create A Website That Is Basically A Flash Toolbar That Directs The User To Different HTML Pages At The Bottom?

Oct 10, 2009

I'm trying to create a website that is basically a flash toolbar that directs the user to different HTML pages at the bottom, much like this website here.
 
[URL]

Do I build the bar in Flash and then the HTML portion in dreamweaver or do I build it all in Flash?  Would an iFrame work for this sort of website? 

View 1 Replies

ActionScript 3.0 :: Flash Navigation Menu On A Html Page?

Apr 2, 2009

I am working on a project that I need to create a flash navigation bar for a html site. There will be a drop down menu when you rollover the buttons on the nav bar, which means the drop down menu will be overlaying on top of the html pages. I saw websites were done like this before, but I personally don't know how to do it.

View 1 Replies

ActionScript 3.0 :: Link Flash Navigation Bar To A LOCAL Html File?

Jun 16, 2010

I know how to link it to whatever BUThow do I link it to a html file that isn't on the internet.For example, I put in "file///H:/index.html". Ok it works on my computer but the problem is that when I transfer my USB to another computer the drive may be E:/

View 3 Replies

ActionScript 2.0 :: [MX] IFrame Navigation And Flash Buttons - Load A New .htm File Into It HTML

Aug 7, 2003

I have searched the forums and know that you can use

[AS]
on(release){
getURL("somefile.htm", "someframe");
}
[/AS]

But I have and iframe and I want to load a new .htm file into it my HTML is here

{iframe src="main.htm" height="87%" width="900" align="middle" frameborder="0" scrolling="auto" name="mainFrame"} {/iframe}


I used {} 'cos I dont know if the froum uses HTML any way I tried to do

[Code]...

View 8 Replies

ActionScript 2.0 :: [flash Cs3] - Flash Navigation For The Same HTML Site

Dec 16, 2007

i build a carousel gallery and put it into my HTML page in a hybrid site but the problem is that it starts spinning as soon as the HTML page is loaded because it works with cursor distance from the center of the stage. Is there a way of deactivating it and ONLY onRollOver is it activated and when i roll off it is deactivated again. my second problem is that I've made a flash navigation for the same HTML site. This is the code I've used for the button states:

[Code]...

View 8 Replies

Flash :: Tutorial - Make Individual Pages Into Swf Pages So We Can Add Links In A Flip Book

Apr 28, 2009

Looking for a tutorial to make individual pages (jpg or gif) into swf pages so we can add links in an on-line flip book. I have flash, but have not learned as of yet.

View 2 Replies

ActionScript 2.0 :: Flash 5 With HTML Frames - Adding Frame On Top Of My Home Poage To Give Users Better Navigation?

Feb 10, 2002

I was thinking of adding frame on top of my home poage to give users better navigation with a meun on top.But how do you make when you press the button in flash the hyperlink will make the frame at the bottom or specific frame page to change?

View 2 Replies

ActionScript 3.0 :: Count PDF Pages - Number Of Pages Within The PDF Using Either Flash Or PHP?

Oct 3, 2011

I'm using FileReference to upload PDFs and PHP to email it.Is there any way to find out the number of pages within the PDF using either Flash or PHP?

View 5 Replies

Professional :: Linking SWF To HTML Pages?

May 26, 2011

I'm trying to use a .swf for a navagation button in a website I am creating but I'm running into a bit of a problem. I need to know how to code the button (In Flash) so that they link to my specific .html page. Is this possible to do with a realitive link?

View 7 Replies

ActionScript 3.0 :: Adding Links To Html Pages?

Apr 13, 2011

Here is my code for buttons(working)is there a way to add links to html pages to the buttons.// Catalogue Bottom Button//stop();//hide button on the stage
 
catBtmBut.visible = false;
var catBtmmenu_label:Array = new Array("Visit: The Grange Kitchen","Visit: The Bergerie","Visit: Badens ");var catBtmtotal:Number = catBtmmenu_label.length;var catBtmpage:Number;var catBtmmain_menu:MovieClip = new MovieClip();catBtmmain_menu.x = 35;catBtmmain_menu.y = 231;stage.addChild(catBtmmain_menu);for (var catBtmi:int = 0; catBtmi < catBtmtotal; catBtmi++){    var

[code]....

View 2 Replies

ActionScript 3.0 :: External .swf Not Loading On HTML Pages?

May 31, 2011

I'm having trouble and I was hoping someone could shed some light on what I'm doing wrong. I have a main .swf file from which external .swf files are being loaded through the use of buttons.When I preview the animation, everything works just fine. The problem occurs when I put the animation on the website where it needs to be. The main animation appears like it's supposed to, but the buttons are not successful in loading the external .swf files. I've made sure that all .swf files are on the server but still nothing.
 
Here's the AS:
 
stop();
var presentationLoader:Loader = new Loader();
addChild(presentationLoader);

[code]....

View 14 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved