ActionScript 2.0 :: Loading HTML Sites In Frames?
Apr 2, 2002Is there any way od loading, with Flash Button in one Frame of the HTML page, a page (HTML or Flash) in the other Frame?
View 4 RepliesIs there any way od loading, with Flash Button in one Frame of the HTML page, a page (HTML or Flash) in the other Frame?
View 4 Replies1) They're hard to edit. I never learned AS, and I'm kind of hesitant to learn it. Adobe Flash (using CS5), while kind of cool, is really complicated.
2) They don't show up on Macs.
3) They don't show up right when Google crawls it. It just looks like a picture or something embedded. There's no text, so Google has no clue what you're talking about.
4) You can't get FLA files from the "View Page Source" or even the FTP, you have to ask your client to give you those files. Chances are, especially with my luck, he doesn't have them.
So. Why would someone use Flash to build a website? Especially when HTML 5, CSS3, JQuery and the like can do a similar job? I know I'm pretty new at the more complex languages, but if someone could enlighten me as to why Flash is just as useful, if not moreso, than an HTML based site?
I would like to have a link on my wordpress site to view a flash version of the same site. Could it be done by creating a subdomain for the flash site and using robots.txt to hide the flash site from search engines to avoid duplicate content.
View 1 RepliesI want to preload all of the voiceover swf files before a lesson starts so that they are instantly available when each frame / page that incorporates a voiceover is first visited.
View 4 Repliesi am making a site with transitions that loads external .swf files(exactly like the tutorial). after the first part of the transition plays it uses:
[Code]...
So i guess my questions is should i add the load movie code before this code or what. how do i make this apply to loading the actuall external swf files??
I have been desperate to find how to do this. I have found some answers to this, but nothing I can make work. The main place I have found is[URL].. and it wants to have the html docs as a template for flash. This is just confusing the issue and would rather find an example and don't mind editing and adding things by hand. I know this is difficult, at least from what I read and I don't know what I am missing. I assume the java in the html is what is messing me up.I don't have mx, so I cannot do the local thing, and need a flash 4 or 5 way of doing this. I have found some small ways of java, but I need to instruct the second movie to go to a label depending on what button is pressed in the first movie.
View 1 Replieshow to get my navige menu "made in flash" change my second frame to another page.
What i tried whas this
Code:
Drum.addEventListener(MouseEvent.MOUSE_UP, dofunction);
function doFunction(){
getURL("DRUM.html",_target="page");
[Code]....
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.Could anyone point me in the right direction? 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 RepliesI know this can be done in html but flash I don't know. I want to stay on the same url page and load another url in my flash movie. You can do this with SWF's, you have a main movie and then you can load a second swf into the main movie. Can this be done with a main swf and load in a url page into the swf?
View 8 RepliesI 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.
My webpage consist in two Frames, a TopFrame and a MainFrame. The TopFrame contains my menu wich is made in flash. By now you might have guessed the problem. Thats right, I'm trying to get flash to open/change html files in the MainFrame by clicking the a buton on the menu in my TopFrame. This is the code I'm using:
Code:
this.onRelease = function(){
getURL("http://jernberg.net/jonathan/about/about.html", "MainFrame");
}
But all it does is open a new window with the exact same contents. I've seen a tutorial here on Kirupa I've tried to follow, but it didn't help. You can check out the 1nt3rn3tZ most failed website here (my page, [URL]
Using Flash CS3 and created a navbar with AS 3. All links work fine to open html pages, but I'm having trouble targeting the pages to a specific frame.
I've checked and re-checked code in my actions layer and in my html pages.
Code for AS 3 is "navigateToURL(galleries, "_content");" "Galleries" is the variable for the URLRequest and "content" is the name of the target frame in the Index page. All files are local on my computer and the paths are correct.
I have a page (page1) with flash content that has an imbedded mc. The imbedded mc contains a group of thumbnail /buttons that bring up larger images (Thumb2 moves the playhead to frame 2 of the mc) there is also a unique button on each frame of the mc that should bring up a unique html page (a form) for that frame reference. When page 1 loads with the mc in it's default start position at frame 1 the form button works perfectly, however none of the other form buttons work and if I click on Thumb1 (which should be the start position mc frame 1) after clicking on any of the other form buttons, the form button for Thumb 1 no longer works. Everything else works as it should and I get no error codes.
I have the code for the form buttons located in the actions layer of the main timeline as follows;
TiaraFrames_mc.TSofaQAFrm_btn.addEventListener(MouseEvent.CLICK,TSofaQ AFrm);
function TSofaQAFrm(event:MouseEvent){
var TSofaQAFrmURL:String="CustomForms/Tiara/TSofaQA.html";
[Code].....
I wanted to load .SWF files with flash buttons on a website into <iframes>
BUT the buttons are not separate (not separate .swf's) they are all in a sliding menu.
So how do i attribute those buttons on the sliding menu to open up files in a specific frame on a website?
I want to preload all of the voiceover swf files before a lesson starts so that they are instantly available when each frame / page that incorporates a voiceover is first visited.
View 3 RepliesI'm having a some trouble with loading an SWF into my main SWF. I have a main SWF with 4 frames. I want to click two buttons that will then load two SWF's into Frame 2 and Frame 3. Below is the script I wrote for the buttons. The earlywork_btn needs to load RColeman_EarlyWork.swf into frame 2. This swf is a slide show. The currentwork_btn needs to load RColemna_CurrentWork.swf into frame 3.
HERE IS MY SCRIPTS FOR MY BUTTONS:
stop();
function onbiographybuttonClick(evt:MouseEvent):void {
gotoAndStop("1");
[code]....
And in Frame 2 I have this script to load RColeman_EarlyWork.swf. It works, however, once it loads then it is in my enitre main swf file, basically each time I click a button it is ontop of the content in the other frames. How do I make it just stay in Frame 2? Also, I can only load this one swf file, not the other one into FRAME 3.
HERE IS MY SCRIPT TO LOAD THE SWF FILES:
var ldr:Loader = new Loader();
var url:String = "RColeman_EarlyWork.swf";
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
addChild(ldr);
A little while ago, I made a movie that toggles between 2 SWFs on 2 frames. You can see that here -- [URL]
Here's the code I used to make that happen:
ActionScript Code:
var swfholder:Loader=new Loader();
a_mc.addEventListener(MouseEvent.CLICK, loadLeg);
b_mc.addEventListener(MouseEvent.CLICK, loadHouse);
[Code]....
For just two SWFs, that is a TON of code. What's a technique I can use to shorten my coding process now that I have 6 SWFs to switch between?
I need to load a movie to particular frame. The file can be downloaded here [URL]
View 0 RepliesHow can i make my .swf movie (760*400) center 9top,bottom, left, right) in HTML without using Frames or Nestedframes? (in case of old versions of netscape and IE?)does anybody now a script or HTML for this?
View 4 RepliesOK so I screwed up. I didn't plan properly for a project and now the client is saying that the loading time is long (2 mb). Is there anyway I can load just a certain amount of frames and then play them? (External SWF)
View 2 Repliestrying to combine animation and scripting together to try to make a stop motion based on pictures in my library...I had taken loads of pictures and had drawn on them to provide the frame by frame animation, and what's left now is getting them on to flash... What I used to do is to just put the images in one by one, but this time, this method is not really feasible, as I have a little more than 900 images to load this time...
My question: Is there any way to create a while loop to get each of my images into a new key frame? Like, for each image I have, an empty key frame is created, and then my image is loaded into it?
I have a four frame fla with a video flv in each frame... myVideo1 and so forth.
Problem. After one of the frame is playing and left for another... it continues to load.
How do I stop this? I would expect that being a frame to frame fla.. this wouldnt happen.
I am using a loading bar with % (percentage) . Everything seems to be working properly but its giving a little problem , it load 25% and then shows the loading bar. That mean while loading till 25% of the movie the is completely blank. Which is quite annoying and recognized as a bug. Required help from the actionscripting expertise. For further reference I have uploaded the site on this address : http:[url]....
The script I am using
1st frame
PHP Code:
txtPercentage = Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100) add "% Loaded"; tellTarget ("loader") { gotoAndPlay(Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100)); }
2nd frame
PHP Code:
if (_root.getBytesLoaded() == _root.getBytesTotal()) { nextScene(); } else { gotoAndPlay(1); }
And a instance name : loader with containing 100 frames loading bar animation.
I am learning about loadmovie.How do you load a movie on the press of a button - into a specific frame? A frame that was targeted by the button's actionscript.(Basically, I have set up a portfolio flash site. I have all of my images in the .swf so the file is larger than it could be. In the portfolio section of my .swf I have thumbnails that on pressing them go to a different frame within that clip to display the larger version of the image. Naturally, I want to load these larger images in only when the thumbs are clicked on.)
View 5 RepliesHow can i make two objects to keep the same distance in between them when i move one of those to another place?
Like in this site http:[url]....., the frames keep the distance while the image are loading...
Is there a way to load an external swf onto, say, frame 7, and unload the sucker on say, frame, 12? Just wisk it away to neverneverland when the playhead hits the right frame/s? Is there a way to change it's visibility in this way also?
View 2 RepliesHow to create an script where I can have the key A load another frame. I have a movieclip, named A, and when play it I want to be able to hit the key A and make it load another movieclip.
View 1 RepliesI 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 RepliesI have a Flash 'application' that is all on one frame and has about 2000 lines of AS 2 code. Works fine if it's all in Frame 1, but when I move everything (that's every layer and all the code) to Frame 3, for example, my menu bar component (which gets its data from xml files) doesn't load the data. I want to be able to do this so as to put a pre-loader on Frame 1 which would jump to Frame 3 when the SWF has fully loaded.
View 2 Replieshow to add an image to a specific frame?
I am dynamically loading images onto the stage but I want each image to be loaded onto separate frames.