Target To Bottom Frame From Top Frame
I try put on (release) {
getURL("http://www.qsuno.com/movies.html" target="bottomFrame");
}
at action ...
because top frame for nav bottom when click bottom making different page at bottom frame but didnt work I not sure action code wrong or right ? thank you
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 12-20-2005, 02:52 PM
View Complete Forum Thread with Replies
Sponsored Links:
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.
View Replies !
View Related
Can't Target A Frame Label Or Frame Number Within Movie Clip
Hi guys,
Can't for the life of me figure out why this is not working:
if (_currentframe==82) {
homefade_mc.gotoAndPlay("fadeup");
design_mc.gotoAndPlay("design_fade"); - this one is fine
}
- the first gotoAndPlay should be going to the homefade mc and then going to the "fadeup" frame label and play from that, but instead it does nothing. Any clues?
Chris
View Replies !
View Related
Target JS Button To Target Frame Swf At Different Html...how?
this is my 2nd post regarding this problem, i'm seeking for many input nad perhaps the example soource file/code...
kind like a loading specific frame of swf from a html hiperlink?!? can it be done?
- say we have a 3 frame swf, located at index1.html
- then i have a button(gif/jpeg htmlpage not flash), located at index2.html
- what i wanna do is when i click the button(JS) on index2.html, it will open the index1.html then start play the swf at frame 2 NOT 1(beginning)
how can we do that?
View Replies !
View Related
Previous Frame Overlay..... Frame By Frame By Frame By Frame By Frame By.....
Hello there.
I am trying to create a small animation just as a little bit of fun. I would like to do it frame by frame.
I have a simple question to ask about frame by frame animation.
When drawing frame by frame, you would usually have a transparent overlay that you can compare with the next frame. Is there a way to do this in flash without having to copy the previous keyframe into a new keyframe on a new layer?
Thanks Emdiesse
View Replies !
View Related
Trying To Make Movie Play Frame X To Frame Y Then Switch To Frame Z..
Hello,
I was hoping someone could help me out with an issue I'm having. I have my flash on multiple scenes, and would like to play an animation when clicking on the navigation button before switching to a different scene.
I'm halfway to accomplishing this.
Here is what i used
Code:
_root.gotoAndPlay("changepage1");
_root.onEnterFrame=function(){
if(this._currentframe=="changepage2"){
gotoAndPlay("Home2",1);
}
}
The above code is on a blank keyframe. Changepage1 is the start of the animation and Changepage2 is the end of the animation.
Upon clicking the navigation button it plays the above scenes.
However it doesn't change scenes to scene "Home2".
Thank you in advance for all your replies.
View Replies !
View Related
Target > Swf In A Different Frame
I have one html file with two frames.
I want to tell something to a swf that is located on the top frame from another swf that is located on the bottom frame.
How may I do it.
I know how to tell another swf but not in a different frame
thanks
renato
View Replies !
View Related
Target Frame
I have 2 html frames and a flash menu in the bottom one. When I try to change the top frame with a static text link in flash, I use the target _top but then the bottom frame dissapears?
sybaweb@hotmail.com
thanks
View Replies !
View Related
Target Frame
Hey Everyone! I have a menu that I'm working on and I'm not too good at action scripting, but I'm learning. I had some help setting up the action script to config some links... now I need the links to target a frame. This is the coding for the HTML links:
eval('sub' add i).ver.htmlText = "<a href="" + _root.url4[i] +"">" +_root.sub4[i] + "</a>";
So where do I put the target="mainFrame" so it will change the main frame of my site?? Can anyone help me? Thanks!!
View Replies !
View Related
Tell Target In Other Frame?
I want to tell a .swf located in another html frame to goto a specific frame no. (ex. goto frame 6 and stop) when clicking a button in the main .swf located in the mainFrame. Is that possible? I'm thinking some kind of tellTarget command?
The frame where the .swf is located: leftFrame
The .swf: left_side.swf
Thanks,
Mik
View Replies !
View Related
Target Frame
I've made a Flash button which uses, for testing purposes, the following for targeting the "content" named frame, in a Dreamweaver frameset, to load the Google site:
geturl ("http://www.google.com", "content")
Funny thing is: it only works when the site is uploaded and online. When I open index.html locally and click on the Flash Button, the "content" frame doesn't change to Google.com. However, when I use a local htm file to be loaded, e.g.:
geturl ("contact.htm", "content")
it works as it should work: contact.htm is loaded in the "content" frame.
Is this normal?
First I tried it by loading Google in a new window like this:
geturl ("http://www.google.com", "_blank") and that works fine. So I'm wondering why targeting named frames in Dreamweaver this way only works when all is uploaded...
View Replies !
View Related
[F8] Target Frame .. ?
Well I know how its done in HTML, I was wondering how its done in flash, I have a menu and it has sub headings, and whenever I click on the sub menu link it will open in the frame to the right. Heres a picture as an example.
View Replies !
View Related
Target A Frame On A MC
my frame label contains a movie clip... when the playhead goes to the frame label "corporate", i want it to play the movie clip sitting on the frame label, but starting at frame 20 of the movie clip...
i have the following code but doesn't work and i can't understand why... i attached an example of what i have made...
Button Code
Code:
on (release) {
_root.gotoAndPlay("corporate");
_root.playFromTwenty = true;
}
Code on Frame Label
Code:
if(playFromTwenty == true) myMC.gotoAndPlay(20);
View Replies !
View Related
Target Frame
my flash buttons are in a frame. I want to target another frame to replace content of that frame.
contest_btn.onRelease = function() {
getURL ("contest.html", "leftframe");
}
it replaces the whole page with this page. It does not just replace the left frame with the contest.html as I am intending.
How do I do this?
View Replies !
View Related
Target Frame
Hi
I,ve created a button that opens a web page. In the Actions of the button I'm using Script Assist. I need the page to be displayed on a target frame on a frameset the target frame is called mainFrame and the file is called MainFrame.html. None of the option in the Window droplist ie _parent, _self etc work.
ViRiPuFF
View Replies !
View Related
Target A Frame On A MC...
my frame label contains a movie clip... when the playhead goes to the frame label "corporate", i want it to play the movie clip sitting on the frame label, but starting at frame 20 of the movie clip...
i have the following code but doesn't work and i can't understand why... i attached an example of what i have made...
Button Code
Code:
on (release) {
_root.gotoAndPlay("corporate");
_root.playFromTwenty = true;
}
Code on Frame Label
Code:
if(playFromTwenty == true) myMC.gotoAndPlay(20);
View Replies !
View Related
Tell Target In Seperate Frame...
Heres the situation, I've got an interface that uses frames.
I have a top frame, left frame, video frame and bottom frame. When I click a button in the bottom frame I want to target a movie clip that resides in the left frame, anyone know of an easy/hard way to accomplish this?
thanks,
View Replies !
View Related
Target My Script In A Frame, Help
How to target this script to look into a certain HTML frame ?
I allways have the same problem, i make my site on my WEBROOT folder and everything ok. When I use a domainname, scripts doesn't work anymore. Cause it loads the site in a frame. So to avoid that frame I have to build mine in specifique frames grrrrrrrrrrr
tx m8's
...
<SCRIPT LANGUAGE="JavaScript">
function redirectPage() {
var url640x480 = "640.htm";
var url800x600 = "index0.htm";
var url1024x768 = "index0bis.htm";
if ((screen.width == 640) && (screen.height == 480))
window.location.href= url640x480;
else if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width >= 1024) && (screen.height >= 768))
window.location.href= url1024x768;
else window.location.href= url640x480;
}
// End -->
</script>
</head>
<body bgcolor="#666666" text="#000000" onLoad="redirectPage()">
View Replies !
View Related
How Do I Target A Frame Label
ok, after my preloaded the movie my main movie goes to frame 40 and stops. On that frame I have a movie clip that plays. we will call this movie CLIP1
When clip one reaches its last frame I want the root timeline to jump to frame 60 and stop.
I tried labeling frame 60 or the root timeline jump1
Now I set up an action on the last frame of CLIP1 as follows
with (root.jump1) {
gotoAndStop("Scene 1", "jump1");
}
IT gives me an error object not found.
How do I target a frame label rather than a movie clip instance?
View Replies !
View Related
Target Another Frame With GetUrl..Help
Hi all
Im doing a navigation in flash,
trying to get the buttons to load html docs in another frame
but im not able to get it to open in the other frame, it open in a new window instead, even though imn targeting the frame.
on (release) {
getURL("kontakt.htm", "main_content.htm");
}
Attaching a screendump of my frame setup.
Anybody know what im doing wrong?.
Thanx for ur help
Pet
View Replies !
View Related
GotoAndPlay In A Frame...Target?
ummmkkkkk
here's the code i have on a button in a movie clip called submaster_mc. this movie clip is in another movie clip called master_mc. I want this button (contact) to call to the empty_mc in my frame.swf file and play the animation from a certain frame. how would i target it to work smoothly?
on (rollOver) {
_root.empty_mc.fade = true;
}
on (rollOut, dragOut) {
_root.empty_mc.fade = false;
}
on (release) {
loadMovie("contact.swf", "_root.empty_mc");
}
My final purpose is to have an animation happen, have another animation drop down over top of that one and play the next piece. thanks in advance - Chris
View Replies !
View Related
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!
View Replies !
View Related
Target Frame From A Movie
On my main stage I have a mc. In that mc it loads a swf- I will call it swf 1- that swf has a movie clip on it's main stage that loads a swf- named swf2
How can I get a button in swf2 to go to a frame in swf 1
thanks-Dave
View Replies !
View Related
GotoAndPlay To A Target Frame
I have a problem that has been stumping me for quite some time and I'm hoping one of you pros can shed some light for me.
I have a flash movie that is used as a navigation bar for my site. It works fine on it's own, but I also want to be able to control it from a different source. I simply want to be able to load the movie and start at a target frame based on the viewer choosing a region from a list elsewhere on my page. I am trying to accomplish this just by sending a URL variable when it's loaded. For example, the flash movie might be loaded like this:
navflash.swf?targetFrame=11
I have created a little debug text field in the movie that just shows the variable targetFrame. That text field shows the proper value based on the URL, so I know that the variable is getting passed correctly. The only values that actually get passed to it are 11, 31, 51, 71, 91, 111, 131 and 151 which are the start frames of the various parts of my navigation setup.
On frame 1 of my movie I have an action that is:
code: stop();
if (targetFrame>1) {gotoAndPlay(targetFrame);}This is where my problem starts. No matter what the value of targetFrame actually is, the movie jumps to frame 14. I have been able to verify this by changing my gotoAndPlay() to a gotoAndStop() and checking what the actual start frame looks like. After playing through a few frames, frame 28 has an action that tells the movie gotoAndPlay(1). Bizarrely, this time when it goes to frame 1, it properly executes the original gotoAndPlay(targetFrame) and goes to the correct frame. So the problem is that it is only executing the gotoAndPlay(targetFrame) properly when the movie jumps back to frame 1, but not when the movie first loads. I had a delete targetFrame command along with the gotoAndPlay(1) on frame 28, but deleted it during my troubleshooting. Once I figure this out, I plan on putting it back in so that the variable is deleted and an endless loop is prevented when it returns to frame one.
I have attached the original .fla file in a .zip. I hope somebody can shed some light on my problem. Thanks in advance.
-Pete
View Replies !
View Related
Telling A Target To Go To Certain Frame?
Goodday, here's my issue:
The following script tells a movie clip to become visible if the mouse is in a certain area.
// buttonPACK
prxTopbp = "86";
prxBottombp = "511";
prxLeftendbp = "288";
prxRightendbp = "680";
instancebp = "BPack";
if ((mousey<prxBottombp) and (mousex<prxRightendbp) and (mousey>prxTopbp) and (mousex>prxLeftendbp)) {
setProperty(instancebp, _visible, true);
} else {
setProperty(instancebp, _visible, false);
}
i would like to add an action to also tell 'instancebp' (or, 'BPack') to go to frame 15 in the movie clip of BPack when visibilit is true.
It sounds very simple but i could not get tell target to work for some reason
Thank-you
View Replies !
View Related
Cant Target External Mcs Frame(s)
I have a movie I'm trying to target from the root and can't figure out the sytax to target specific frames. Here is the code to get to the mc:
on (release) {
gotoAndStop(8);
ph.loadMovie("womenkind.swf");
}
just need to get to frame 2 of womenkind.swf using the same code
thanx
View Replies !
View Related
GetURL With Target Frame
Hi, i have a button in my flash movie, which opens another flash movie in a _parent window, what i need is to go to one specific frame (history) located in the time line No 11. i try this:
on(release){
getURL("http://mywebsite.com/products.html","history");
}
and it opens the window and the movie, but stays in frame 1 = label(home), it doesn't go to my label frame (history).
Note: im using flash CS3 Pro and actionscript 2
Please Help !!
Thanks in advance.
Gian
View Replies !
View Related
Target Frame Don't Work
I have a big problem that i can resolve.... this is a beta version of a site...
http://www.serverdellagleba.it/alemi...tml/index.html
There are two frame...the upper frame is called "UP", the bottom frame is calles "CEN"
The upper frame has a menu in flash mx....if i click, for example, the first button PROFILO, the link go in a blank page!!!! My goal is to link all the page in the CEN frame...
Every button goes in a blank page!
this is the script:
getURL("1profile.htm", "cen");
In flash the target is CEN and not blank!! why he give me this kind of error??
Thanks!
Im using mac osx 10.3.7, flashmx and golive 5 in classic mode..(yes it's a crap! this is my workin postation !
View Replies !
View Related
Target Frame In A Button
Is it possible to target a frame in one button from a rollOver in another button? Say button1 and button2, when I mouse over button2 I want the "on" state of button1 to display.
frack. I wanted this in the Flash MX forum.
View Replies !
View Related
Target A Frame In A MovieClip
I have buttons in a movie clip which are placed on the main time line. I also have movieclips placed on single frames (25, 30, 35, etc) on the main time. When a button is released I want two things to happen -
- the playhead to go to a frame on the main time line where the movie clip is placed - which I can do with this code -
on (release) {
this._parent.gotoAndStop("25");
- then I'd like it to target a certain frame inside the movieClip with a var number (var number already generated). This is where I'm stuck. What is the path I use to target the frame inside the movie clip???
Thanks for any help,
Dave
View Replies !
View Related
Target Button By Frame
Hi there,
I wish to target a button within a movie clip which is on a specific frame.
Is this possible without the use of Javascript?
If not would anyone have any advice or links to offer an explanation of how this can be performed?
Many Thanks
View Replies !
View Related
GETURL WITH TARGET FRAME
I HAVE PROBLEM IN GETURL - I AM USING GETURL METHOD TO OPEN HTML PAGE IN PARTICULAR TARGET FRAME, IT DOESN'T WORK IN INTERNET EXPLORER BUT WORKS WITH FIREFOX WHAT WOULD BE PROBLEM, PLEASE HELP ME TO SOLVE THIS PROBLEM.
View Replies !
View Related
How To Target Class On Frame 1?
Class on frame one:
Code:
var class1:Class1 = new Class1(prop1);
After I hae initiated that class, I add some movieclips from the library:
Code:
var ClassReference = getClass(MC);
var clip = new ClassReference();
clip.name = String(MC);
clip.x = XPos;
clip.y = YPos;
clip.alpha = 1;
//main timeline clip
var main = this;
main.addChild(clip);
Attached to 'clip' is a class file:
Code:
package classes.com{
import flash.display.MovieClip;
import flash.events.Event;
public class Clip extends MovieClip {
public function Clip(){
trace(parent.class1);
this.addEventListener("addedToStage", initClip);
}
private function initClip(evt:Event){
}
}
}
But when I trace "trace(parent.class1);" ... I get this error:
Code:
1119: Access of possibly undefined property class1 through a reference with static type flash.display:DisplayObjectContainer.
Any ideas? I'm slowly moving through the new AS3, and I run through a few snags here and there. I appreciate any help!
Thanks!
View Replies !
View Related
Target MC In Different Frame From Within AnotherMC
Hi everyone,
I am trying to target a label inside a movieclip that is not in the same frame, but further down the timeline - Flash doesnt seem to be capable of doing this.
My structure is like so:
There is a MC in _root. This MC contains 2 more MCs, one is in frame 1 (and called subMC1) the other one is in frame 10 (subMC2).
Insinde subMC1 i have a button with this script:
ActionScript Code:
on (release) {
_parent.subMC2.gotoAndStop("labelInTest")
}
This doesnt work. When I put the subMC2 clip in the same frame as subMC1 it works fine (as expected).
I could now start and set variables and first jump to the right frame in the mother MC and according to the variable jump to the right spot in subMC2, but I just cant believe that there is no better solution
Do you have any idea what can be done or is there a workaround, or have I made a mistake?
The file can be downloaded here: www.gsdh.org/targetFrame.zip (11KB)
Thank you for your time and effort!
Philipp
View Replies !
View Related
Tell Targets To Target A Frame Lable?
ok hi all,
i have a button MovieClip with the following code on it
=====================
on (release) {
tellTarget ("_level0") {
gotoAndPlay ("butName");
}
tellTarget ("/nav") {
gotoAndPlay (11);
}
}
=====================
Now "butName" is the variable name of a dynamic text field within the button movieClip.
The second Tell Target command works ok, but the first does not.
I am trying to tell the main timeline to gotoAndPlay the frame lable corresponding to the string variable within the button MC's dynamic textfield. So if i made the button textfield display "section2", then i want on release of the button for the main timeline to gotoAndPlay frame lable "section2"
I cant quite get this to work
any help would be greatly appreciated
thanks i advanvce
gilesb
View Replies !
View Related
|