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




How To Remote Mc Between Frame (HTML)?



if i have some button on top frame (HTML), how can i remote the main frame flash movie to action or stop ?



Ultrashock Forums > Flash > ActionScript
Posted on: 2003-07-21


View Complete Forum Thread with Replies

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

Loading Remote Variables On First Frame
Heya

it's a survey, and it loads the question & answer choices from a perl script, into 2 text boxes (easy) and into 3 or more answer radio buttons (harder). i can load values into the radio button by clicking on a regular button, but i really need to load them into the radio buttons when the movie starts, with an onclipevent maybe. (tried that already)

the radio buttons are a MC. this is the script on the button that i click to load the variables into the radio buttons - this works fine:
----------
_root.answer_group.answer1.setLabel(a1);
----------

can i do the same thing automatically when the movie starts?

tanx
FK

Remote Php To Parse Csv, Return Html?
Here's the problem:

Our main server doesn't run php, but a secondary server does. (long story, just follow along for now, don't ask why). I'm building a flash file that needs to go through a CSV file, (comma separated values, output from Excel) and php seems to be the ticket there. Is there a way to tell flash to call a php page that'll go through the csv file and return the values to the flash file?

Please?

How To Remote A .swf File W/ Javascript From Html?
hi guys..

anyone know how to remote a .swf to a frame label using javascript from a hyper link??

thanks in advance.

fB

HTML Content From Remote Page
Is it possible for flash to draw HTML content from a remote web page? For instance, I want to be able to change the content in a part of the flash movie without going into flash and re-rendering it. The content would be in some sort of HTML or PHP page.

Changing Flash Scene From Html Remote
Are there any html scripts out there that can manipulate a movie in the same page by telling it to change the scene once an <a href> is clicked? this might have to be a combination of javascript, but i wanted to post it in this forum first to see if anyone knew anything. thanks in advance!

Loading Html To String Directly From Remote Site
For example, I need load html page directly from "http://www.yahoo.com" to string variable in flash and then parse it.
Is any way to resolve this problem?
I'm trying use LoadVars class. But it cut-offs and shuffle html.

PHP Code:



var my_lv= new LoadVars();
my_lv.onLoad = function(success:Boolean) {
  if (success) {
    trace( unescape(this.toString()) );
  } else {
    trace("Error loading/parsing LoadVars.");
  }
};
my_lv.load("http://www.yahoo.com");

URGENT HELP - SWF In Html Doesnt Connect To Remote Server
Hi,

I have an swf placed on a website which needs to connect to a remote server but it doesn't work. I'm using SWFObject to embed the swf file and i can see it no problems and the buttons are definitely active but it never connects to the server that's it's pointing to. I've tested with different servers and it's the same for all of them even one with absolutely no firewall or virus protection.

It seems something is blocking the files as the correct requests are being made (i checked with trace statements)....I think it's the flash.....is there something i'm doing wrong in the publishing of the swf file?

thanks for any suggestions!

Greg

ps. sorry for cross posting - this is urgent!

Loading Html To String Directly From Remote Site
For example, I need load html page directly from "http://www.yahoo.com" to string variable in flash and then parse it.
Is any way to resolve this problem?
I'm trying use LoadVars class. But it cut-offs and shuffle html.

-------------------------------------------------------------------------------

PHP Code:



var my_lv= new LoadVars(); 
my_lv.onLoad = function(success:Boolean) { 
  if (success) { 
    trace( unescape(this.toString()) ); 
  } else { 
    trace("Error loading/parsing LoadVars."); 
  } 
}; 
my_lv.load("http://www.yahoo.com"); 

Remote Targeting A HTML Table Cell From A Separate SWF Button
Hi,
I have multiple SWFs loaded into a tabled HTML Page.

One of the SWFs is a Nav Menu.

I am trying to remotely target a particular table cell in the middle of the page to load an SWF on this page when the Flash Nav Menu Button SWF is clicked.

I have named the table cell "main".
When the SWF Menu Button is clicked I want to load a Flash SWF into the selected table cell named "main" on the same HTML page.
I am working in Flash CS3 and Dreamweaver CS3.

One thought was to create a blank shell or starting SWF to go into the "main" named table cell. Then some how through actionscript call to that SWF to load the external SWF into it.
Another idea is to create the SWF for that tabled cell with all the individual areas built into it so when the user clicks the menu buttons then it just goes to those areas.

The main issue is being able to control or call the separate or external SWF from the Nav Menu SWF to load or change to another frame on the timeline remotely.



Any suggestions on how this can be achieved?
Thank you for your help it is appreciated.
Joseph Wraith

Need .swf In One HTML Frame To Tell .swf In A Differnt HTML Frame To Play The Movie
UPDATED:


Need .swf in one HTML frame to tell .swf in a differnt HTML frame to play the movie

How would I do this?

Would I be able to put this in AS code in flash? or something like this?



Button1.....
On (release)
geturl: http://www.jfhs.tk target="fraMain"
javascript:fraTop.document.MovieTOP.GotoFrame(02);

Remote Flash Files Much Larger Than Remote
Hi,

I am developing a Flash 8 Pro site
on a Mac OSX Tiger

For some reason, my published Flash movie files
are much larger than I thought

When I look at the files on my hard drive,
it's telling me that my homepage HTML is around 4kb
and my SWF is around 300kb

When I upload these to my ISP and examine these
same files (using Dreamweaver's Site Managing Feature)
these files clock in at
972 kb for the HTML
176402 kb for SWF

There are a lot of Flash Buttons on the homepage
that in turn use the loadMovie function

Why do the local and remote file sizes differ so much?

thanks

Remote Actionscript Issues - Local Vs Remote
i made web banners with the intent that the shell being the initial swf, could pull an external swf file from a remote site.

view here:

http://www.anthonythomas.com/duplicolorespn/

the main .swf file has to be under 30k, which it is. now the other .swf files load when you rollover the buttons. this method fulfills the 30k requirement on the advertisers side - also allows the creative to have higher res images/swf files hosted on our site/side.

in testing it locally, it all works great...

but when i moved the .swf file to

http://www.justinhale.com/test/

to test it -

the files hang up when you mouse over the buttons - is there a chance you could check out my source?

here:

http://www.justinhale.com/duplicolorbanner.fla

i'd really appreciate any help this forum could offer.

i checked out the security settings. security.allowDomain,
not sure if i'm using it correctly?

thank you,

jh.

How Do I Connect Flash Menu (top Frame) To HTML Pages (bottom Frame)?
Hi,

I am new to flash/swish...

How do I connect the Flash menu system that I set up in Swish that will be embedded in the TOP frame to the standard HTML pages to be selected in the BOTTOM frame?

FYI: I am using Frontpage 2000 to create the frames and standard HTML pages

I can create the HTML page containing the Swish/Flash menu- no problem there. I just don't see the connection between the two. WHat's glueing them together. Is this accomplished with hyperlinks within FrontPage OR is this done from the Swish side and then seen by FrontPage after it is embedded?

Thanks to all who reply.

All the best.

How To Start Playing A Swf In Another Html Frame From A Particular Frame Number
I wonder how to get a swf located in anothetr html frame so that it starts playing from a particular frame number...
thanks to everyone who can help me... as I have to obtain this effect as soon as possible..

quinnity

Load HTML Page Into HTML Frame On Release [MX04]
I've got a minor glitch here.


Code:
getURL("about.htm", "bottomFrame");
It works, but instead of loading the "about.html" file into the "bottomFrame", it opens it in a new window; regardles of browser.

Funny thing is, this file worked perfectly about 4 months ago, and now its cactus. Anyone?

HTML Code In Flash To Load An HTML Page In A Frame
Hello.

I have an existing website built in html, with three frames. One on the top for the banner, one on the left for navigation, and a larger window to the right of the navigation for the main content. I want to replace the content in my navgation frame with a flash built navgation menu, and when my menu items are selected, it will load a new page in the content frame.

I currently have this working fine in html. I can make my buttons link to a URL no problem in flash, but how do I tell it to load the content into the other frame? I haven't started this process yet, and figured I'd ask first to get any ideas.

Thanks.

Html NavigationFrame To Content-html-Frame?
Hello,

I have the following problem.
I a frameset with two frames: 1.farme called navigation. 2.frame called content.

'mmkaay, now I have a navigation.swf loaded in the navigationframe. and I a loadtext.swf in the conent-frame.
the loadtext.swf has in keyframe 1 a mc called mcText with an actionscript

loadVariables("texturl", "mcText");

in the mcText there is textfield with the variablename text

now I want change with a buttom in the navigation, the variable of the path of the text-file which contents the text for the mcText.
the style of the txt-file is like this: text="hello poeple....."

so if i press in navigation.swf buttom 1 the path in loadtext should change to the file path of text1.txt.
also the same with buttom 2 the path schould change to text2.txt.
and so on....


I think I schould do it with the ne MX connect comand, but I don't understand how.

Pleaz help!

HTML Works On Frame 1 But Not Frame 3
Hi,
When I copy HTML, from BEBO web site and paste it into my HTML page, it works fine. But I want it on Frame 3 not frame 1. When I use Actionscript on frame 3 of Flash, only some of the link becomes visible. I am loading the link into a Textarea on frame 3. The link when pressed, brings the user to a different web site. The code I have is:

What am I doing wrong ?

Thanks,
Paul







Attach Code

bebo_txtArea.html = true;
bebo_txtArea.text = "<div style='overflow: hidden; background-image: url(http://s.bebo.com/img/bebobadge_1_orange.gif); background-repeat: no-repeat; width: 300px; height: 175px;'><span style='width:90px; height:90px;'><a href='http://www.bebo.com/badge/4380594425'><img src='http://www.bebo.com/profilephoto/4380594425a3091632808borange.jpg' style='border: 0pt none ; margin: 10px 0pt 27px 10px; width: 90px; height: 90px;'></a></span><br><a href='http://www.bebo.com/badge/4380594425' style='padding: 0pt 0pt 0pt 10px; overflow: hidden; display: block; color: white; font-weight: bold; font-size: 16px; width: 300px;'>Clare</a><a href='http://www.bebo.com/badge/4380594425' style='padding: 0pt 0pt 0pt 10px; display: block; color: white; font-weight: bold; font-size: 12px;'>http://clare.bebo.com/</a><br></div>";

A Load Html Page Button On A Two Frame Html Page
can someone help me? I want to load an html page on a different frame of the same html page from a swf that are in the principal frame. I know i have to use javascript and, i suppose, fscommand. Can someone help me? I'm a novice on javascript

HTML Frame To HTML Frame (?)
How can I change a variable of a swf from another swf in another frame of a HTML page?

I have one frameset called test.
There are two frames. Frame A and frame B.
In frame A, there is a swf called Af and in frame B a swf called Bf.

In swf Af there is a variable called Ok.

I need to set this variable to true from a button in Bf.

Hou could I do it?

Thanx

Html Frame?
Its kind of a mixture of html and flash that i'm trying to do. So i was thinking i could do a tad bit of animation maybe for the logo/emblem and the links. So the pic i sent is a first draft comp i whipped up. What i wanna know if it is possible to animate the horse the links and the logo, but keeping the text html so that he can go in and just edit in textpad or something and not have to know flash. Thanks in advance

Can HTML Tell SWF To Go To Frame Within A Mc?
Can I insert code into my HTML page that tells my SWF to gotoAndPlay a specific frame in a specific Movie Clip?

Right now I'm using the code below to go to a specific frame label (client) on the main timeline. The code is put within the object tag in the HTML page.

<param name=movie value=../images/header.swf?section=client>

I need to find out if and how I can target a specific frame within a MovieClip.

Thanks.

GetURL ... In A Certain Html Frame.. HOW?
Well as the title says, i want a webpage with a frame on the left, where a flash navbar is located. Wat i want is that wen i click on the News button, the new webpage is loaded into the right frame.. how should i do that?
Any help is greatly appreciated!

Printing A Certain Frame With Html
I am having a problem with using flash animation within a html document. The probelm is that when you print the html page, the flash prints out the first frame of the animation. Since my animation starts out as blank there is nothing there to print. Is there a way to have flash print the last frame of the animation as well as print out the rest of the html page as well? I know you can print the flash movie itself on certain frames, but that would ruin the whole page layout. Also, most people go to the file menu to print not within flash.

Here is the example I am talking about:

http://63.160.66.117/rcga/test.htm

Any help would be much appreciated.

Thanks

Vivid1

Control Swf From Other Swf In Different HTML Frame
Sorry to bother, it seem a stupid question, I have a page with 3 frames: top has a swf object in it, middle is plain HTML and the bottom frame has another swf in it. I want a button in one swf to control (nothing fancy, a play and stop command) a movieclip in the other swf. Both swfs are loaded as the page loads. Any reply welcome.

How Do I Link To Another Html Frame?
I want to make a link in my swf file (on a button) and when a person clicks on it I want it to bring up the page in the html frame below. Is this possible?
So the swf button will be in an html frame called banner. And when the button is clicked. The page will come up in the frame below called main.

How To Target A HTML Frame? HELP....
just a quick one...(i hope)...

trying to display an ASP page in the bottom frame from a click of a flash button in the top frame???

thanks for any suggestions

egs

Flash To Html Frame?
I saw a website where a person had a menu made in flash and embedded in HTML. When you click on one of the buttons which was a link to some content, it showed up in a different part of the page but in html format not within the flash itself, i think its a frame but i'm not sure.

How would i do that?

what i mean is at this site:

http://www.carbon4.com

the menu buttons are flash, but the content shows up in the html part in the bottom right. Any ideas?

HTML In FLASH (Frame)
HELP HELP HELP!!!

I made a movie in Swish and part in Flash MX, its more a layout, now I have a menu and a banner in one file (800x600), now I want to use some kind of i-frame to open my HTML files in to, I dont want to make all my files in flash.

Is it possible to make/use somekind of HTML I-FRAME in a flash movie??? Please help.

Thnx

Change A HTML Frame
Hi all,

Lets assume you have a Frameset (html) and in Frame 1 there's the swf embedded and in Frame 2 theres a simple blank html page.

Is there any way to change the 2nd frame where the blank html page resides via Flash (I.e. call another html page into that 2nd frame)?

I basically want to load some sort of banner ad into that second frame as soon as the flash movie has finished loading.

Any help would be greatly appreciated
Natsurfer

Button To Html Frame
hi there, i need help . =)

1. i've created a master page (html), with two frames.
- top frame (name: menu_frame); bottom frame (name: content_frame)
2. menu_frame contains a swf with 5 buttons.

the question: how can i call a html page and put it in the "content_frame", using the buttons i created in flash?

help is greatly appreciated. tnx

* and, can anyone tell me where to find a tutorial.

Jumpto Certain Frame From HTML
I am creating a custom map of our university. I would like to place a link throughout our website that says "locate building on map" - when the user clicks the link, the pop-up window opens my flash movie of the university and goes to the frame that animates/highlights the building in question.

So, I want to make a flash movie that has all of the buildings animated at different frames and THEN based on the html link my users click, the movie opens and jumps right to THAT frame...

How can I do this??

Flash And HTML Frame
I use a frameset in my web page and I have looking eyes that follow the mouse cursor. The problem is that the eyes stop follow the mouse cursor when I leave the frame that contain the eyes.
Is that possible to have my eyes still follow the mouse cursor when the mouse cursor is in the HTML frame?

Html Frame In Flash
Hey all,

Basically I'm trying to do something much further beyond the knowledge I have now. (best way to learn right?) Anyways, I was wondering if you can set up something in flash where a MC would act like a frame on an html page that could load in other html content. I tried using the getURL command on an MC but it just loaded the url in the browser which I was figuring it would do. Any ideas? Let me know.

Frozley

Targetting HTML Frame
I'm using a menu that contains sub menus. I'm trying to the sub menus to open in an HTML frame to the right of the menu. I don't know how to get the links to target that frame. Below is the code for the current setup I have. I hope someone can help me!!

Actions for Dynamic Text Links:

nivelUno = [boton0, boton1, boton2, boton3, boton4];
subMenus = [sub0, sub1, sub2, sub3, sub4];
sub0 = ['Team Bios', 'Contact', 'Sign Up'];
url0 = ['http://www.mydomain.com/bios.htm', 'contact.htm', 'singup.htm'];
sub1 = ['Calendar', 'Tournaments', 'Local Fields'];
url1 = ['bios.htm', 'contact.htm', 'singup.htm'];
sub2 = ['Photos', 'Movies', 'Submit Media'];
url2 = ['bios.htm', 'contact.htm', 'singup.htm'];
sub3 = ['Purchase Gear', 'DYE Paintball', 'General Joes'];
url3 = ['bios.htm', 'contact.htm', 'singup.htm'];
sub4 = ['Message Board', 'Chat', 'Contact Us'];
url4 = ['message.htm', 'chat.htm', 'contact.htm'];

pos = []
operador = []
// ----------------------------------------------------------------------------------------------------------
initXpos = 60;
//
for (i=0; i<5; i++) {
operador[i] = eval("sub" add i).length
}
//
for (i=0; i<5; i++) {
pos[i] = _root.nivelUno[i]._y
}
// ----------------------------------------------------------------------------------------------------------
function ordenar (nombre, desplazamiento, nivel) {
// ::::::::::::::::::::
for (i=0; i<7; i++) {
if (eval(nombre) == nivelUno[i]) {
_root.nivelUno[i].click = false;
} else {
_root.nivelUno[i].click = true;
}
}
// ::::::::::::::::::::
for (i=0; i<7; i++) {
if (i<6) {
_root.nivelUno[i].ypos = _root.nivelUno[i].yinit;
}
}
// ::::::::::::::::::::
_root.ordenados = false;
for (i=0; i<6; i++) {
if (_root.nivelUno[i]._x != _root.nivelUno[i].yinit) {
_root.ordenados = true;
}
}
// ::::::::::::::::::::
if (_root.ordenados) {
for (i=nivel; i<7; i++) {
if (eval(nombre) == nivelUno[i]) {
} else {
_root.nivelUno[i].ypos = _root.nivelUno[i].yinit+_root.nivelUno[i]._height+12*desplazamiento;
}
}
}
// colocamos y visualizamos el menu correspondiente
_root.subMenus[nivel]._y = Math.round(_root.pos[nivel]+_root.SubMenus[nivel]._height/_root.operador[nivel]);
if (_root.ordenados) {
for (i=0; i<5; i++) {
if (_root.subMenus[i] == _root.subMenus[nivel]) {
_root.subMenus[i].activar = true;
} else {
_root.subMenus[i].activar = false;
}
}
}
}
//



Actual Links:

onClipEvent(load){
xinit = this._x
xpos = _root.initXpos

v = _root.sub4.length;
for (i=0; i<v; i++) {
n += 1;
padre.duplicateMovieClip('sub' add i, n);
eval('sub' add i)._y = Math.round (padre._y+(n*(padre._height)));
eval('sub' add i).ver.htmlText = "<a href="" + _root.url4[i] +"">" +_root.sub4[i] + "</a>";
}

}
//
onClipEvent(enterFrame){
this.movX()
}

Target HTML Frame
Hey All!

Still got a little problem. I am trying to get this flash menu to change the mainFrame in my html page. Perhaps someone can help me?

Here is the page I am using now: http://www.triggerfreaks.com/lagunz

And the flash menu is below to download so you can see how the menu works. If anyone could help me, that would be great. Thanks!

Why The Frame Aversion?--HTML
Is there a particular reason why
pple seem to have/have an aversion
for frames/framesets??Bcoz
it seems most threads I read do not
seem to advise on the use of frames.

Is is a compatibility issue, with
browsers, flash movies or something.

I just need a bit of enlightenment...

thanx!

Hyperlink To Html Frame
Hi u all ! I try to link in a flashmovie to a html frame. I made a flashmenu, that i can put on my site, but i want to link in my flashmovie to a html frame.. The only settings are _self _blank - ....etc..
But i just want the action geturl but now to a html frame..

Sorry uhh for my englisch..
Greetings, Roy from Holland

HTML Frame And Actionscript
i am having a bit of difficulty with flash and frames. i am using flash as the main navigation for my web page. my html code is this: <a href="ct_services_mkt.htm" target="content"> my question is this: what would my actionscript look like. i am thinking that it would be: getURL("ct_services_mkt.htm" target="content" but i am not sure. i would really appreciate the help.

thanks!
_

Controlling A Swf In Another Html Frame
Is it possible to control a .swf placed in another .htm document(within a frame name=site2) from a .swf in a different .htm document(htm-frame name=site1) and how. I want to load an jpg in the .swf (in htm-frame name=site2)

thanx anyone

Asp Or Html To A Frame Number....
Hey Guys!
I have a list in a html page and I need to link each person in that list to a certain frame in my flash movie. I don't even know if its posible.
Thanks for your help.

Lou

Jumping To A Specified Frame From Html
hey all,

Im trying to do the following!!!

From a link in html,
i need to send some sort of information (guessuing through javascript)
to my flash file, telling it to load the movie, and goto the frame which is syncronised by each link!

eg.

im on a retail page called "cigars r us"
I click the button called "map"

it then needs to open up my flash file, let it pre-load, then jump to scene 3 frame 33, because its the 33rd store for example!

i dont want it to show any other frame but this one!

is this possible?
how could i do it?
can some one help me write a script!

Thanks very much!

Ive not no idea where to start, remenbering there is a preloader (scene-1)

there is a list of linked store names
(scene-2)

about 50 frames, each frame being an individual highlighted store.
<scene-3)

can anyone help??

Call Frame In MC From Html
I have a site that is a mixture of html and Flash.

There are seven menu selections. Each page has its own Flash heading that contains the menu choices.

The home page holds the main MC. The main MC contains clips that correlate to three of the menu selections with the other four menu selections all html pages.

Let's say someone is on html page "B" that has a Flash menu. They select one of the menu options that corresponds to a clip in the main MC located on the home page. I cannot figure out how to load the home page and goto a certain frame in the main MC that contains the clip associated with the menu selection made on page "B".

This is probably really confusing and no one will understand what I'm trying to do or maybe it simply can’t be done.

Any comments will be appreciated.

HTML Frame-like Option?
I want to know if I can make something so that there would be a navigational bar on the bottom of my flash document, that would act like a frame just like in html, so that i could open another flash document within the original document with the frame..... any help on this would be great, if u have questions post them here or email me at zor_69@hotmail.com

Controlling Frame Changes From HTML?
Here's the question plain and simple...Can you open a flash movie from an Html page AND have that same HTML link tell the Flash movie to start on a certain frame?

----------------------------------------------
Now some more details about my situation (just in case they're needed):

Project (6-Unit Tutorial):
1)HTML Intro page with text links for each unit.
2)SWF Tutorial containing all 6 units...the tutorial itself is one big SWF file.

What I want is that when you click, for example, "Click here for Unit 3" on the HTML intro page, the flash movie loads up right at Unit 3.
----------------------------------------------

Is this possible? Please let me know.

Thanks in advance!

chigasakigaijin

HTML Frame In Flash?
can anyone help me?
I would like to add a html frame to one of my flash pages.
It dosn't matter if this is an iframe or a regular html frame...

HTML To Specific SWF Frame?
So im working on a website that contains both flash and HTML. All is well except for a few simple glitches. The flash portion is a media player. It contains MP3's, a photo gallery, and (in the near future) a video gallery.

Is there a way that I can send my viewers to a specific frame in my swf file? I rather not make duplicate instances of the media player, unless I absolutely need to.

Thanks in advance...

Linking An SWF To Another SWF In A Same Frame In HTML
I have 26 scenes (swf files) and would like to link them to each other starting from scene1.swf for the website. What script should I use to link them up since the go to and play does not work?

[F8] HTML Link To Frame In SWF
Hi, I need a bit of help with this...I have flash website that links to an html page and I need a link from the html page back to the keyframe in the website that you came from, Any Ideas?...

Thanks in advance everyone.

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