Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Communication Between Html Pages



I do have an SWF sequence of images in the main html page. In the second page I do have sections. Each section has a title of an image of the SWF file. The role of this section is to describe the image.I trying to whenever I click on each image of the SWF in the main page, I should be directed to its description in the second page, meaning, that the second page should be loaded and its scroll down bar should go down and stop where the specific section (describing the image I’ve just clicked on) starts.



Adobe > ActionScript 1 and 2
Posted on: 04/30/2007 08:02:51 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Communication Between Pages
i have to comunicate 2 html pages, whith flash files within. On the first one, when a button is pressed, it has to call another html page.
I can do this, but i want to use actionscript, to tell the second page, to make flash to jump into an especific frame inside a movie clip.

I tried using variables, but it does not work

any ideas??????????


thanks!!!!!

Getting Flash To Load HTML Pages Into Iframes In A Seperate HTML Page
Hi everybody

Does anybody know how to get Flash to load HTML pages into a seperate HTML page?

I'm currently running an animation within a webpage, and my client would like to be able to have some captions in HTML on the page that go with specific parts of the animation.

He wants the captions done in seperate HTML pages so that they can be changed into different languages at a later date.

I am loading these captions (HTML pages) into <iframes> on the page.

So far so good..... however...

I need to be able to get flash to load the HTML pages into the <iframes>, in certain points within the animation.

So... Does anybody know how to get Flash to load HTML pages into a seperate HTML page?

I'm guessing getURL is used somewhere, but I don't know the exact code.

Hope you can help!

Deadhands

Getting Flash To Load HTML Pages Into Iframes In A Seperate HTML Page
Hi everybody

Does anybody know how to get Flash to load HTML pages into a seperate HTML page?

I'm currently running an animation within a webpage, and my client would like to be able to have some captions in HTML on the page that go with specific parts of the animation.

He wants the captions done in seperate HTML pages so that they can be changed into different languages at a later date.

I am loading these captions (HTML pages) into <iframes> on the page.

So far so good..... however...

I need to be able to get flash to load the HTML pages into the <iframes>, in certain points within the animation.

So... Does anybody know how to get Flash to load HTML pages into a seperate HTML page?

I'm guessing getURL is used somewhere, but I don't know the exact code.

Hope you can help!

Deadhands

HTML->SWF Communication?
Hello,

I've made a preloader using one of the tutorials on FlashKit (the one from programming-art). Those of You who want to click the back button of the browser STOP! It's not one of those "preloader not working, help!" questions! The preloader works fine, thanks . The problem is - it loads my neat flash homepage, with flashy buttons and stuff . On the page there are links to the outside of the movie (the site will use a combination of flash and separate html documents). All is going well till I have to return from one HTML page to the homepage - it drops me right into the preloader, and forces the user to click the appropriate "enter" button (which is also a language selection(R) ). Is there a way I could tell my preloader to skip itself (i.e. by passing some GET variables?)??? I've read the fscommand info in the Actionscript book, and the suport at the macromedia site, but I don't drink java so it seemed like a gibberish to me . Besides, it seems that the "gotoframe" method only supports frame numbers, not scene names... Is it possible to set cookies from within the .swf? And how to check the cookie from .swf? Or, a working java example would suffice too (i am a total java no-no . The essential thing to do is to tell the .swf to skip the "preloader" scene and jump directly to the 1st frame of the "content" scene.

Thanks in advance...
StarLight

SWF's And Html Communication-HELP
Hi!


Please help me with this problem.

I have a Home.htm page which contains a SWf movie. This movie has a button that opens an Intro.htm page.

I have an autorunner, so the Home.htm is out of the folder where the Intro.htm is stored.

Here is the folder structure in my D:drive

D:LandscapingProgram\Landscaping\ Newpages (begining with Intro.htm)
Home.htm
autorunner
autorun.inf

PROBLEM:

The button finds the Intro.htm when I run the program in my computer, but it doesn't when run in a different computer.

What is the proper script used for this program to run in any other computer?

Here is the script I used in the button

on(release){
getURL("D:\LandscapingProgram\Landscaping\NewPa ges\Intro.htm");
}

Thanks


German

Communication From Html To An Swf?
Alright, i hope somebody can help me out, especially considering that i'm a graphic designer with
i'm building this site and the client as usual is been a hassle. After developing half the site now he wants to have some extra features. So the problem is, i have a menu in flash that loads content into an iFrame. Now i need to make the swf go to a diffrent scene by pressing a button located in the iFrame and at the same time the button has to load content into its parent iframe, i've read several similar posts in different forums but none seems to work for me.

Any ideas??

Thanks in advanced!

Communication Beetwen FK & HTML?
How to get some parameter from HTML to FlashKit?

Why? I need to dynamicaly load backgrounds to SWF. SWF
is placed on the header of HTML, and every page in html must have different background. Must avoid frames in HTML.

How flash detect HTML page change and knows which one is it?

Tnx in advance

Cash

HTML To Flash Communication?
Hi everybody?
Any idea on how to make flash jump to an specific frame in a movie by pressing a HTML button?
Please answer ASAP !!!

Thank you very much !!
Best regards,
Strato

HTML To Flash Communication?
Hi !
Any idea on how to make a HTML button make flash jump to a specific frame by pressing on it?

Pls, write ASAP !!
Thank you very much!!

Best regards,
Strato

Flash Communication With Html?
I would like to pass variables between a flash movie and outside html pages. Here are a couple examples:

1) Read in values of an html table as variables in flash

2) Have a user enter an email address in flash and hit a button that sends the address to an html form field.

...stuff like that. Is it possible and, if so, where can I learn how. I don't even know where to start so any pointers would be greatly appreciated! Thanks a lot.

Communication Swf-->swf Versus Html?
hi guys!

i´ve a little problem to solve! i should do
two flash files which communicate versus javascript.

is that possible to do or just a stupid idea?

greetz
markus

Html To Flash Communication
i'm building a site that utilizes a flash menu but the rest of the page will be straight html. i'm trying to find a way to have the flash menu highlight what section you're in but everytime it goes to a new page it re-loads the menu and it starts from the beginning. is there a simple way to pass a variable from the html to the flash player that would tell the movie to highlight the section of the site the user is currently in?

your help is much appreciated.

Flash HTML Communication
www.catherinebellonline.com has flash navigation and HTML content in an HTML page. How? I need some code help please!!!

Communication Between Flash And HTML
Hi,
I'm not sure if this is the right forum to ask this in, but I'll give it a try.

I want to add a preloader for a flash file in HTML. The most obvious way to do this would of course be to add this inside the flash file. However, this is not an option since there are already approx. 200 flash files we need a preloader for.

My next idea is to instead use a gif picture on the HTML page when the flash is loading and then hide it and show the flash file when its loaded. My question is, how can this be done?
Are there any events or properties on the flash file that indicates if the file is done loading? I've added the flash file to the html page like this:

<EMBED id="flashmovie" swLiveConnect="true" src="flashfile.swf" quality="high" bgcolor="#FFFFFF" WIDTH="520" HEIGHT="420" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>

Thanks!

/Mats-Lennart

Edit: We're using Flash 5

Flash/HTML Communication
In the past we have used Flash with HTML frames to allow us to have a flash menu and load the html pages into the frame. This way, the only flash we have to create is the menu and all else is static HTML and some PHP. I know that frames are not the most popular and I was wondering if there is another way to do this. What I need is to use a flash menu, click one of the flash buttons and load an HTML page into static HTML. Is frames the only way to do this?

Thanks... Bubba

Flash And Html Communication
I have a site with 2 pages: "page1.html" and "page2.html".

"page1.html" has html content and a menu with 5 buttons.

"page2.html" has a swf file embedded which has 5 pages.

When the user clicks one of the 5 buttons in page1.html the browser has to go to page2.html and the flash there has to go the page corresponding to the selected button.

How can I tell flash which button the user pressed in page1.html ?

Thank you.

Communication Between Flash And HTML
Hi,
I'm not sure if this is the right forum to ask this in, but I'll give it a try.

I want to add a preloader for a flash file in HTML. The most obvious way to do this would of course be to add this inside the flash file. However, this is not an option since there are already approx. 200 flash files we need a preloader for.

My next idea is to instead use a gif picture on the HTML page when the flash is loading and then hide it and show the flash file when its loaded. My question is, how can this be done?
Are there any events or properties on the flash file that indicates if the file is done loading? I've added the flash file to the html page like this:

<EMBED id="flashmovie" swLiveConnect="true" src="flashfile.swf" quality="high" bgcolor="#FFFFFF" WIDTH="520" HEIGHT="420" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>

Thanks!

/Mats-Lennart

Flash To HTML Communication
Hi everyone.

Project
I’m helping develop in Flash CS3 an online soft skills training that involves students viewing a short video than answering a multiple choice question. After viewing several videos and answering the related questions the student is given on overview of how they did in a test summary page.

Delivery
Plan is to have each video and questions in a single Flash file embedded in an html file. The end test summary page will be delivered in html.

Question
What I’d like to know is how can I get the flash video/question pages to communicate the test results to the end summary page.

I’m not much good at actionscripting, therefore any help would be much appreciated.
Also, is there anyway of converting a swf file back to a flash file, (fla)?

Thanks.
Michael

Flash And Html Communication?
Hey guys...I am trying to have my flash navigation recognize which html page it is on, and highlight the corresponding button. I think the code in the html will look like this
<param name="movie" value="header.swf?acbtn=advantaget">

where the active button is advantaget.

But I'm not sure about how to script the menu in flash. Any resources, examples, or insight would be greatly appreciated.

regards

Kevin

Flash And Html Communication
I have a site with 2 pages: "page1.html" and "page2.html".

"page1.html" has html content and a menu with 5 buttons.

"page2.html" has a swf file embedded which has 5 pages.

When the user clicks one of the 5 buttons in page1.html the browser has to go to page2.html and the flash there has to go the page corresponding to the selected button.

How can I tell flash which button the user pressed in page1.html ?

Thank you.

HTML And Actionscript Communication
I currently have flash a video player and would now like to include it in my web site on the html page. Therefore, my first question is could someone point me to some resources for embedding the file in the html page without needing the javascript the publish command creates to view the movie or post the best way to do this?

My second question is I would like to send information to that movie through HTML. Basically, have the links for the movies in the html then when they are clicked using php and ajax send the movie link to the embedded flash movie. How would I go about creating this type of communication with actionscript and how would I exract the variables in the flash file?

Example scenerio:
user clicks on "movie 1" link and that movie begins playing in the flash video player. User clicks on "movie 2" and that movie plays in the video player.

I already have the entire video player functioning correctly and a property that handles movie file.

All this will be done using flash cs3 and AS 3.0.

thanks

Swf To Swf Communication Within A Html File
Hi

I have created a html file , within there is a 4x4 table, and placed within this table are 2 separate .swf files ... topNav.swf which contains 6 buttons to be pushed, and mainNav.swf which has various sub menus to be revealed upon the selction made by the viewer in the topNav. Just to add a little more complication (maybe??) the mainNav.swf loads in an external .swf file into level3 and it is this .swf that i need to get a response from. Is this possible ?? Oh yeah, I also named the area within the DW doc where mainNav.swf sits as 'nav' so I had something to point the code at (not sure if this helps any or not but did it anyway!) I have tried various different methods but none seem to get a response so I cannot be doing it right, the last one went something like this:

on (release) {
tellTarget ("http://www.domain.co.uk/smallUpdateReloaded.html/nav._level3") {
gotoAndPlay("about", "aboutStart");
}
}


Hope you can help, thanks for looking even if you cannot, Ultrashock rocks regardless.

Furbs

Communication Between Flash And A Html Page
The problem is the following:

I´ve got a html page that opens a Flash movie.Then, I want this Flash movie to change the content of the previous window using a button.

How can I do that using ActionScript?

Thanks in advance

Communication Between Two SWF Movies In The Same Html Page
How can I make a communication between 2 SWF movies in the same html page? Lets say I have 2 SWFs in a html page. In SWF1 I have a button. When the user clicks on this button, some animation plays in SWF2 in the same page but in a different place.

Communication Between Html Frames-old Newbie
I am trying to create a button action that will simply show a graphic (upon rollOver)in a separate html frame that has flash content as well. I've been searching all day and all I've been able to come find in different forums or tutorials is to use LocalConnection or getURL. Although I understand how in different instances from a layman's p.o.v., I don't know which is correct or where to start or if either will help solve my problem.
PLease Help! Thanks!

Flash And Javascript Communication While On Html
im cramming for some work coming up tomorrow and hoping to scour out of you any good links or reads regarding using flash and javascript, any and all...

thanks
d

External Flash To HTML Communication
Can anyone give me some direction on how I would integrate relavant link options communicated from flash eventually to a page object...I have no idea where to look or what this would officially be called. Can you give me a step in the right direction with a white paper or even what function/technology I should be looking at.

Basically, I would like to set Cue Points in a video that would pass a variable to AMPHP or whatever which would then provide a JS?XML?PHP object to the HTML/PHP page that the video player is on...this link or object would hopefully then display on the page, but be dynamic so if new subject matter were in the video it would provide a unique URL or image.

I am not interested in having this link, image, ad whatever in the flash swf...external communication is what I am hoping can be achieved...any tutorial that you can think of would be greatly appreciated!!!

Communication Betwen Flash And Html Document
I have two frames 1.screen and 2.menu.

menu has the flash menu which contains buttons for which i want to use certain java script from other frame screen.

so what does action look like if i want to activate java script function in another (screen) frame.

ie. i have zoom in and zoom out function in screen frame.
menu buttons must activate one of those functions in other frame.

thank you

Inter-movie Communication In An HTML Frameset
I have two .swfs, one in frame1 (swf1) and the other in frame 2 (swf2) of an HTML frameset.

swf1 contains a list of links (a menu of sorts). swf2 contains an empty multiline text object.

I want to click on a link in swf1 and have that trigger the movie in frame 2 (swf2) to receive some variables from the swf1 movie and load some data in a textfield related to the link that was clicked.

Any help would be greatly appreciated!

Communication Between Two Flash Movies On A Html Document.
Hello everyone!
My little question of the day:
I want to put two movies on a html document. In the first one I want to put a button that makes the second movie do something.
How can I do this?
I read a couple of things about the fs command and I believe this would be the way to go. But my problem is that I work on a mac and I read that it doesn´t work on this platform.
So... is there a solution? Because my web site is getting very "pretty" but I need this to work to finish it.
Thanks a lot for your help!
Agur.

Communication Between 2 Flash Movies On The Same HTML Page
Hi All,
I have 2 flash movies on the same HTML page, that are actually in different frames. I have a flash movie at the top of my page which is a navigation bar (navbar.swf) and I have a flash movie on the left of my page that displays sub menu's (subnav.swf).
Now, what I would like to do is when a user clicks on a link in the main nav bar (navbar.swf) it tells the other movie (subnav.swf) to goto and play xxx frame (this will more likely be a frame label).

Can this be done ??????? And can anyone help me with this ????

Thanks for your time

All the best

Anadi (London)

Html(java) Communication With Flash Elements
I need to make a simple html button trigger an action in a flash movie on the same page. I pretty sure this would have to involve some java scripting, but anybody know how i would do this? The flash is on a layer over the html and I just need the button to make the flash movie trigger a goto action. Any help is greatly appreciated, thanx.

-Ryan

Communication Between Flash Movies Across Html Frames
Hi all, I am having a problem getting Flash to consistently communicate across html frames between movies.
I have 2 html frames that I am dealing with(cstLeft.htm and cstTop.htm) that need to have their flash movies communicate with each other . Each of these html frames has a flash movie embedded inside of them (studentcenterLeft.swf and studentcenterTop.swf respectively).
What I want to happen is for top to send a function call and parameters to left, and then have left execute that function.

I have tried using ExternalInterface with no success (by placing function calls within Javascript and calling those), and have also tried using localConnection with very inconsistent results.

With localConnection, I had gotten it to work once, however I cannot pin down why it stopped.
Basically, I had this code for localConnection:
in the sending swf (studentcenterTop.swf)

Code:
var sending_lc:LocalConnection = new LocalConnection();
sending_lc.send("lcOverFrames", "changeDisplay");
in the receiving swf (studentcenterLeft.swf) I have a dynamic textfield (with fonts embedded) on the stage with the name display_txt and the following code:

Code:
var receiving_lc:LocalConnection = new LocalConnection();
receiving_lc.changeDisplay = function() {
display_txt.text = "changed";
};
receiving_lc.connect("lcOverFrames");
This worked a couple of times, but recently stopped, plus when the page gets refreshed (this is part of an LMS UI that controls content in the main frame) it will no longer work, and I have to clear the cache to 'reset' it.

I am not picky about how I communicate between the frames, I simply need a way to do so reliably, if this involves javascript, cool, if it involves only localConnection, cool, but I cannot get anything to work consistently, and my deadline is fast approaching.
I have searched quite a bit around the web and these forums, but I can't seem to make any of the suggestions that I have seen work for me.

I appreciate any help.

Elf2112

Newbie Pls Help Reg Flash Listbox-html Textbox Communication
Can any one give me some clues abt doing the following:


Flash Part:
========
I will put a flash listbox in my page

HTML Part:
==========
I will put a HTML textbox and submit button on my page.


When I enter a value in the HTML textbox and click on the submit button, the value should be added to the flash listbox..

Will this be possible?

Thanks for any clues.
Sud.

How Do I Get More Html Pages With My Name In Them?
Here is the story. When I type my name in google, it brings up a couple of message board postings that bad mouth me.

I can't delete these postings, as they are on some remote server. So...I figure the only thing I can do, is try to flood the internet with more html pages that have my name in them, so that these bad postings don't show up 1 and 2 under my name search.

How can I do this?

Thanks.

Html And Pages
2 quesitons I hope somebody can answer
1. If I'm doing a splash page for a flash website, I know the main page needs to be called index.html so what do I call the splash page?
2.What is the script I use to make one page , when its finished, open and play another flash page. I know what it is if I do scenes, but I have to do this site by pages.

Using Swf's Like Html Pages
I have been searching for this for awhile, but still can't figure it out.

I have a webpage that consists of three swf's. I want these swf's to work like individual pages on an html site.
So I want each page to cover the one before it so that none of the buttons underneath are clickable.
Right now the swf's are loading on top on each other but "invible" buttons appear on the top page where ever buttons were located on the previous swf's.
The curser turns into a hand where there should not be a button.
The following is the code I am using for the contact button on the home page...

on (release) {
contents.loadMovie("contact.swf");
}

on (release) {unloadMovie("home2.swf");

}


What am I doing wrong?
Thanks for any help.
Christina

Using Swf's Like Html Pages
I have been searching for this for awhile, but still can't figure it out.

I have a webpage that consists of three swf's. I want these swf's to work like individual pages on an html site.
So I want each page to cover the one before it so that none of the buttons underneath are clickable.
Right now the swf's are loading on top on each other but "invible" buttons appear on the top page where ever buttons were located on the previous swf's.
The curser turns into a hand where there should not be a button.
The following is the code I am using for the contact button on the home page...

on (release) {
contents.loadMovie("contact.swf");
}

on (release) {unloadMovie("home2.swf");

}


What am I doing wrong?
Thanks for any help.
Christina

Html Pages In Flash
Hi i need help with this one.

I've seen sites that have html pages or asp pages in flash and i was wondering how do i do this.

Here's an example site http://www.vulcan.com/

as you see that when you click on a link it opens an html page inthe center of the flash movie. Please can someone tell me how to do this?

Loading All Pages At Once? HTML?
I have a couple of questions that I need help with!

1. How can I load my pages/content into the users memory when he enters the site? I know I can use a looping preloader..but I dont need a preloader like that....I want to load all pages so they will load faster on click of the link. Any clue?


2.When using frames in an HTML document..and you call on either .swf's or published .swf's (html)is there a setting you can use so that the wole movie will fill up the frame? I tried 100% x 100% but it actually shrunk the movie!


3. How does http://www.vulcan.com (I guess any 2A site)make that blurr effect? When the text/logo..etc. slides/fades in (real quick) from left or right...and it looks blurred....It is a very good motion type of effect..anybody know how its done???


Thanks -whispers-

Loading Html Pages
Here is the situation. I have an interface that has a box in which I would like to display HTML pages upon clicking the flash button in the movie. How do I creat a window which calls an html page from within the same server?
I appreciate the help on this. I'm sure I can do it but my brain is fried today and I just can't come up with the right answer...
I used an inline frame in the HTML when I published it and it shows the HTML page but when you click anywhere besides the HTML page the whole thing disappears.
HELP!

Eric

Importing A HTML Pages
I know this sounds a bit weird but bear with me. I'm a basic Flash user who has been tasked with creating a standalone Flash executable that will give the viewer a tour of a demo web site (VO will describe the site while we hilite different areas of the page) pretty basic stuff.

Important note the "web site" is non active, the user cannot click on anything. Were it not for file size limitations screen captures of the web pages would work fine.

The demo site has already been put together in HTML and all the assests are available to me. What they asked for me to do is recreate the pages exactly in Flash. What I wondered is could I simply edit the html pages to remove any interactivity and then import them into Flash and then just do all of my animation on a new layer?

Any help would be greatly appreciated.

Andy Hunter
Sputnik Animation

Opening Html Pages
im pretty sure that you can use the geturl action to open an html page, bu tI need it to be exactly 500 x 500, is this possible using action script?

Using Flash In Html Pages
In one of my application I was required to use flash in my website. The flash movie has hyperlinks in it which on clicking should be visible in my web page. I am using a frames page. I want to embed my flash movie in one frame and want the hyperlink to open in other frame within the SAME PAGE. i am not able to do the same thing. Could any one help me out in solving this problem???

Interaction With Html Pages
Hello people.I would like some help.
I would like to tell me how it's possible to have a flash(a menu for example)and after pressing each button a specific page loads under the menu(or wheterer i want,but i want this to be a flash file).Of course the menu it's just an example.If there's a tutorial it would be helpful and save your time from trying to explain me.
Thx in advanced

Loading HTML Pages
Is it possible to load an html page into a flash MC?. If it is how can I do it.

I am trying to load an html page into a specific movie clip and nothing seems to be wroking. The movie clip is not the same size as the actual applet it is a lot smaller. The reason why I want to do this is because I want to have pictures and text in this html page.


Please help!
-Tom

Targetting In Html Pages
my site is structured in a way which uses individual html pages with swf 's inserted.

is there a way to target a specific frame number of one swf from another swf in separate html pages
cheers rat

Flash Between HTML Or PHP Pages
I would like to have a Flash movie play between HTML pages. So the user would be on an HTML/PHP page, click a link to go to another HTML/PHP page, and they would see the short Flash animation, and then they would go to the page they had clicked the link for. I was hoping there was a way to do this where the same animation could be reused between other pages with a variable or URL for which page to redirect to.

Fortunately I'm working with someone whose Flash programming is better than my sorry skills, but I would like to know how (if?) this could be done before I propose it.

Some vague questions I have, can you have a Flash animation play and upon completion open a webpage in the same window? Can you send the variable or URL of which page to open as a Get or Post?

I hope this makes sense, and thank you in advance for any help!

Miriam

Loading Html Pages? Please Look
Is there a way to open up a HTML page within a flash page? Basically i have a long list of links and other things my client game me in a word document and he wants it to be listed basically the way it is in the word document however flash textbox's seem to be very limited. I was thinking if I could just put all the stuff from word into a html page and then it load into the middle of my flash it would look fine. Just so you know what i mean by in the middle of the flash you can look at the site. www.geocities.com/ihrimtest/Home.html
the top buttons load text into the middle the same way i would like for html to be loaded in there. Any help would be greatly appreciated. If i didn't explain anything clear enough please ask questions. I kind of have a deadline so I need to get this rough draft ready.

Also, I find that a Flash MX textbox is very limited, how do I do things such as bullet points etc with it.

p.s. if this is better in another forum, could it please be moved?

Copyright © 2005-08 www.BigResource.com, All rights reserved