ActionScript 2.0 :: Target - Call Page Into The Upper Frame And Not Its Own Window
Feb 17, 2002
I am using a flash menu within a frames setup. What I want to happen is when they press the button in the flash menu within the bottom frame. the page is called into the upper frame and not its own window. Here is a sample of the code I am using
[CODE]...
View 7 Replies
Similar Posts:
Mar 26, 2009
So basically i have a flash application that needs to call a url when a button is clicked, but i don't want it to actually load a new window or even load the url. All the button does is call the url and it logs it, kind of like a click tag. My server keeps track of the number of times the particular url is called.
Everything works fine, but everytime i do it, it opens up a new browser window that is empty, i do not want to open a new window. I am using getURL, but that actually opens a new page, is there any other way to do this?
View 1 Replies
Mar 26, 2009
So basically i have a flash application that needs to call a url when a button is clicked, but i don't want it to actually load a new window or even load the url. All the button does is call the url and it logs it, kind of like a click tag. My server keeps track of the number of times the particular url is called.Everything works fine, but everytime i do it, it opens up a new browser window that is empty, i do not want to open a new window. I am using getURL, but that actually opens a new page,
View 6 Replies
Aug 31, 2009
I am using a flash template with a _urls.txt file. I would like to change the code so I can display a target html page in an inline frame. My goal is to change the page content when a nav item is choosen without reloading the swf.Here is the original code in the template.
on (rollOver) {
gotoAndPlay("s1");
}
on (rollOut, releaseOutside) {
[code]...
View 1 Replies
Oct 21, 2009
Lets say I do this in one of my classes[code]...
how could I from _shader call a method in this class (where _shader was instantiated)?
View 6 Replies
Apr 6, 2011
I'm trying to figure out the best way to make the text in the upper right hand corner of my photos page linkable URL...Here's the action script that's in the action layer of the file for that spirt: function loadGallery(directory, images)[code]
View 1 Replies
Jun 22, 2009
I'm trying to use ExternalInterface.Call to call a JavaScript function to launch a lightbox window. So far I have this:
AS3:
flash.external.ExternalInterface.call("launchLB", "" + aUrl + "");
JavaScript:
function launchLB(url) {
alert(url);
[Code]....
I get the alert but I can't get the lightbox window to display. When my as code makes the ExternalInterface call I get what looks like a page refresh and a blank browser window.
View 1 Replies
Jan 29, 2010
how do transitions from page to page and from frame to frame all in on site, and i'm lost in the codes this is an exemple that i did in attachment, i want to be able to click in the different buttons bur a lot of thinks do not work. In the portfolio section i create a move clip that works well alone, bur when i integrate it with the home intro it didn't work properly. Hope that someone will be able to help me on that one, cause i think that this will help me a lot to understnad the basic transitions with buttons (frame to frame and page to page).
Attachments:
NextFramePratice copy.fla.zip (10.1 K)
View 2 Replies
Nov 15, 2011
I have an swf loaded in a browswer (fire fox) and i use log on console using [code]I have initialized my swf in the document class on the Event.Added to stage.and i have a clean up function performing all the clean up/exit process in the code on the event [code]Now Doubt that this is being called/ activated/trigered as i am not able to log the start and end of the function to the console.The console log is of firebug.What exactly am i missing here? I would like to call the cleanup function on reload of page or relode of swf or change of page.How do i trigger and log it properly
View 1 Replies
Aug 30, 2007
I'm trying to get this function to target myClip_mc and movethe frame head to another frame label.
var counter:Number = 1;
//textBeGone
invisible_btn.onRelease = function(){
counter++;
if(counter % 2 = true) {
[code].....
View 2 Replies
May 25, 2009
there is a button on 1st frame. there is a movie clip on frame 2. I named the movie clip as "ball_mc" I want to go to frame 2 when I click on button on 1st frame. I know that the code "gotoAndPlay(2);" on button will work. But for some reasons, i want to try another way.... i tried several codes:
1. this.ball_mc.gotoAndPlay();
2. _level.ball_mc.gotoAndPlay();
3. _global.ball_mc.gotoAndPlay();
4. _root.ball_mc.gotoandPlay();
However these codes dun work. Is there other way to resolve this besides this code "gotoAndPlay(2)"?
View 1 Replies
Jun 17, 2009
I have a simple button that goes to a URL when clicked, but it's opening a new window. I want it to target "_self"-- but I'm getting errors. How do I properly target the same window?
[Code]..
View 1 Replies
Mar 9, 2011
how to one page to another page without opening new window only url changed using flex?for example you can click log in button user name and password correct then going to home page without opening new window at the same window..
View 1 Replies
Feb 9, 2010
In this code:
[Code]....
What code and where do I put it to open this link in the same window?
View 4 Replies
Oct 11, 2009
ActionScript Code:
import gs.TweenMax;
import fl.motion.easing.*;
var where:String
buttongroup.addEventListener(MouseEvent.MOUSE_OVER, buttonOver);
buttongroup.addEventListener(MouseEvent.MOUSE_OUT, buttonOut);
[Code] ......
View 1 Replies
May 5, 2009
I'm working on a SWF that is a banner on a home page and the is opening links a new window despite my attaching the "_self" argument to the navigateToURL command.Like here is a snippet of code TO ME it looks right:
PHP Code:
var link_001:URLRequest = new URLRequest("http://www.lcc.edu/schedule/");button_001_btn.addEventListener(MouseEvent.CLICK,
[code]....
View 3 Replies
Oct 19, 2008
I've created an empty movie clip on the stage called 'photographs', to which I've attached a movie which I've given the instance name 'p1_mc'. This movieclip contains another with an instance name of 'p1_mc_base', which in turn contains a third with an instance name of 'close_btn'.
I need to target 'close_btn' to call an onRelease function. I'm thinking the path would be:
_root.photographs.p1_mc.p1_mc_base.close_btn
which is borne out when I list the objects in the movie, but I can't get it to work. I've used getNextHighestDepth() with the createEmptyMovieClip and attachMovie functions.
View 1 Replies
Dec 14, 2010
OK, I am trying to get the following functions to load and unload the video to my main timeline when I go in and out of a frame. I tried on Enter_FRAME but it is now working properly and load many instances.
What are the listeners I need to do to call the functions of oCoach when enetering a frame and fclickCV when leaving a frame?
[code]...
View 3 Replies
Mar 8, 2005
I'd like my Flash site to be bi-lingual. What I have currently is a Flash movie with an empty Movie Clip which then allows users to go from movie to movie. The movies are all small movieClips that are loaded into the empty movieclip on demand. There is some video and text in each of the 30 movieClips.
Here is sample of code that i'm using to call up next MovieClip.
[Code]...
My solution for the bilingual version is to create a separate frame with the French version + video and then when user presses the French button they are directed to that frame. This way I could easily create the French text within the one movie. however i don't know the Actionscript code to call up a movieClip to play from frame 10, and not frame 1.
View 3 Replies
Mar 27, 2011
I want to call a function once per frame between keyframe 1 and keyframe 60, but i don't want to have to create a keyframe on EVERY single frame in between with an action calling the function. is there a simple way like tweening, to make this function execute once on every frame without having to make 60 unique keyframes?
View 1 Replies
Nov 6, 2006
1. I make a simple movie (call it movieClip) first frame has stop(); action, second frame has label playMovie, last frame has action gotoAndPlay(2); (so that movie not stop anymore2. Now I place movieClip on stage3. Question... what is code to make movieClip play frame label playMovie?
I already try to put many different type action in frame one of stage
this.movieClip.gotoAndPlay("2"); //NOT WORK
this.movieClip.gotoAndPlay(2); //NOT WORK
[code].....
View 7 Replies
Jun 14, 2010
I have a movie clip on my stage that has its own timeline with 7 frames, each a keyframe with different content. How would I target a movie clip that appears only on one of these frames within the parent clip?
I'm used to using dot syntax to target clips within clips (eg. parentClip.myClip.onRelease = function(){...), but when I try this with a clip that only appears on one of the frames in the parent clip it doesn't work. Do I need to address that frame specifically? How would I do this? I'm using AS2 in CS3 on a Mac.
View 2 Replies
Jul 9, 2007
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... 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) {
[code].....
View 3 Replies
Aug 31, 2009
I am using a flash template with a _urls.txt file. I would like to change the code so I can display a target html page in an inline frame. My goal is to change the page content when a when a nav item is choosen without reloading the swf.I have tried several methods with no luck. What should I do to accomplish my goal?Here is the original code in the template.
on (rollOver) {
gotoAndPlay("s1");
}
[code].....
View 1 Replies
Jan 26, 2010
How do I target the labeled frame in my main timeline.[code]...
View 1 Replies
Sep 20, 2009
I am using this code to send to URL instead of sending to a frame , is not working , is ther anything wrong with it ?
try { navigateToURL(new URLRequest(items[selectedIndex].targetFrame), _blank); } catch (e:Error) {}
View 1 Replies
Jul 17, 2009
I want to load a movie and have it start on a specific frame within that movie instead of starting on frame one. The code I have now is this:
stop();
loadMovieNum("mc2.swf", 2);
I want it to start on the frame label in the movie called "in" instead of on frame one. How the hell do I do this, I looked everywhere
View 1 Replies
Jun 11, 2009
I been wanting to do a pop up information page, within a page, i dont know if this makes sense because i dont know how to really explan it, but this is an example of wat i mean, if u go into the gallery you'll see the thumbnail pictures and then when u click on it the pop up comes out, that is exactly what i want to do.
View 5 Replies
Mar 16, 2009
I want to call a.swf from b.swf where a.swf should act as a modal popup window over b.swf. I am working in as3 cs4. how can i achieve this?
View 3 Replies
Aug 4, 2011
I have created a mxml file , and i would like to display it in a pop up window. i have alrdy done the pop up window, but i couldn't display the mxml file i have done. I am not trying to call the pop up window in the mxml page. this is my popup window i have done:
[Code]....
View 1 Replies