Professional :: Immediate Need Is To Take External Swf / Add Invisible Button Overlay / Click To URL

May 14, 2010

I am trying to close on as I am attempting to get this incorporated into my website. It came with the recommendation to try the CS5 today to see if this will meet the requirement at the moment.There is a desire to take custom SWF files (I think there is something called Swish files too?) from various sponsors for advertisement purposes and place them on my website.The implementation was straight-forward to make them work through the webserver.I tried a custom example of making a button that upon mouse click would open up a new webpage in CS5 which did work for me.My problem is since the SWF files are finalized, there is no way to put URL information into those files.After doing a lot of searching around today, it appears that the best way to redirect a user upon click of a video is to:
 
1) Open up a new Flash
2) Import the SWF video file into the project
3) Create a Invisible Button over top the SWF video so when the user clicks, they are redirected to a specific URL.
 
But for some reason, when I tried to overlay it with a sample SWF file I imported, there was all this flickering going on to where both were made transparent to one another on the screen not to mention the video wasn't even visible at all.My hope was that the SWF video could be seen clearly while the button remained invisbile to handle the click on the video.Is there someone on the forum that is able to guide me fairly quickly with a fast-path procedure so that I can try this?

View 16 Replies


Similar Posts:


Actionscript 2.0 :: Click A Button Under An Invisible Button?

Jul 29, 2009

I am making a video player based on the Video Basics tutorials Lee put up a while back.

I am working on a custom controlBar with autohide. Basically, when i mouse over the video area I want them to pop up, and when I mouse out of the video area I want them to disappear. I have setup the controlBar movieclip itself with "show" and "hide" frame labels. Each one plays a fade in/out sequence a few frames long, no big deal. That is the easy part and works fine.

In order to detect the onRollOver and onRollOut events for the video area I made an invisible button on top of it called "butt". It works fine too.

Code: Select allbutt.onRollOut = function() {
trace("out of video");
controlBar.gotoAndPlay("hide");
};

[Code].....

Invisible button layer above controlBar layer: When i roll onto the video area the controlBar pops up, but I cannot access the buttons on it (play, rewind, etc) because they are now underneath the invisible button that monitors the rollOver and rollOut of the video area, which apparently wont let anything under it be clicked. How can I gain access to these buttons?

Controlbar layer above Invisible Button layer: When I roll onto the video area the controlBar pops up fine, but once I mouse over the control bar flash thinks I am leaving the bounds of the invisible button and tries to hide the controlBar right away, which causes me to "re-enter" the invisible button, so it just bounces back and forth between showing and hiding the controls.

How can I monitor the video area and still have access to the buttons on the controlBar once it pops up?

View 3 Replies

ActionScript 1/2 :: Continued Trouble Making Button Hot Spot Invisible After Click?

Aug 12, 2009

i have a few buttons that use loadmovienum to load a few clips into levels. The code on each button is something similar to:
 
on(release){    loadMovieNum("print_index.swf",1);printbutton._visible = false;webbutton._visible = false;illusbutton._visible = false;threedbutton._visible = false;retouchbutton._visible = false;}
 
But because the print_index movie slowly scrolls across the stage rather than immediately replace it, there is a moment where the button turns completely invisible after the click. Perhaps the bigger problem is that it doesnt make any of the accompanying buttons invisible like it is supposed to- only the one that is clicked.

View 3 Replies

ActionScript 1/2 :: Click Invisible Button On Moving Target For Playing Movie

Dec 30, 2009

I have an image of a target on stage, that moves left and right. In the center of the image is an invisible button, occupying the centre circle of the target. The idea is you click the invisible button on the moving target and this starts another movie playing. Seems to me the action script should reside in the button, and be something like this:

on(release){
targetPath(this.movie2);
play();
}

View 2 Replies

Professional :: Loading External Swf's - Fresh Everytime When Click On The Button?

Feb 2, 2010

I have created buttons with this Actionscript. They load in the external swf's fine, but when I click on them again they load them in again, and again, and again... What do I need to write in the code so it loads in fresh everytime you click on the button? (or in other words, cleans up the load in page before it loads in new files).

[Code]...

View 1 Replies

Professional :: Implementing PayPal Button Code Into Invisible Button

Mar 3, 2012

I created a view cart button in PayPal and need to link it to a button in my fla. I know you can do this in AS but I haven't had any luck in my searches. I'm using CS3.[code]

View 2 Replies

Professional :: Make A Button Invisible?

May 6, 2010

I'm sure this is something easy that I'm missing, but I can't figure it out.  How do I make a button invisible?  I need it to be invisible through frame 43 of my movie.  I have tried changing the alpha to 0, but it's not letting me change that, except in the edit button mode which changes it for the entire duration and not just through frame 43.

View 1 Replies

Professional :: Put An "invisible" Button Under Part Of A Large Button?

Jun 6, 2009

I'm trying to put an "invisible" button under part of a large button, but if I put it under the larger button, the invisible button doesn't work. If I put it on top of part of the large button, the large button doesn't work... Is there some way to make it so that both the buttons work...?

View 8 Replies

Flash :: Css - External Movie Behind An HTML Overlay Div

Sep 24, 2010

Possible Duplicate: Div Z-Index issue with Flash movie is there a way to have an external flash movie that I have iframed in from another server show up behind an overlay div? Currently when I open my overlay, the flash movie shows through it.

View 1 Replies

ActionScript 3.0 :: Loading An External SWF In And Displaying It Behind Overlay/watermark?

Aug 12, 2010

I am building a SWF and the goal is to load in an external SWF file and then display that within my container. They are totally unrelated items and I do not want to modify the functionality of the item I am loading in. My SWF will briefly display a watermark overlay, but then disappear. Can anyone guide me into this best way of doing this?Also, is there anyway to get the properties from the SWF I loaded in (namely height and width) so I might be able to easily adjust the size of my SWF to match?

View 1 Replies

ActionScript 3.0 :: Make Invisible For X Seconds Upon Click?

Sep 30, 2010

I am trying to write a program in which 2 random pictures appear on the screen, and when you click on a specific one of the 2, the other disappears for 250 ms, and then the whole thing starts over with 2 new random pics. I have everything working the way I want EXCEPT for the vanishish-for-250-ms part.Specifically, the program is supposed to display 1 picture from 1 group and 1 from a 2nd group, and when you click on the pic from group 1, the group 2 pic is supposed to vanish for 250 ms. Each group has 16 pictures, so the code as it stands now basically randomly picks whether the group 1 pic will appear in movie clip #1 or #2 (faces1_mov and faces2_mov), randomly pics a group 1 pic, displays it in the movieclip it randomly chose, and then puts a random group 2 pic in the remaining movieclip, so the program has to know which clip has the group 2 pic in it and make it disappear when the other clip is clicked.Here is my code:

ActionScript Code:
import flash.display.MovieClip;
import flash.utils.Timer;

[code]....

View 1 Replies

ActionScript 3.0 :: Load External SWF On Button Click?

Feb 19, 2010

How to load an External SWF on button click?[code]...

View 3 Replies

AS3 :: Load An External Swf File On A Button Click?

Apr 9, 2011

Using AS3.0, how do I load an external swf file when I click a button? Also, how can I get rid of that swf file when I click a different button on a menu?

View 1 Replies

ActionScript 3.0 :: Unload The External Swf After Each Button Click?

Sep 8, 2011

I have an external swf that is loaded at frame 2 of the main timeline. The external swf has code that plays an flv, i've pasted the code below for the button that navigates the play head to the fram label 'frame2'. I want to know, how can i unload the external swf after each button click? Does the code for unloading have to go to in the button code or the main timeline?
 
anim_mc.stop();
anim_mc.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);anim_mc.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);anim_mc.addEventListener(MouseEvent.CLICK, onClick);
anim_mc.buttonMode = true;anim_mc.mouseChildren = false;

[code]....

View 22 Replies

ActionScript 3.0 :: Load An External SWF When Click A Button

Oct 19, 2010

I can load an external SWF when I click a button. If I click the same button again the same swf file loads on top of it self. How can I fix it?

[Code]....

View 1 Replies

ActionScript 3.0 :: Load In External Swf On Click - Button

Apr 22, 2010

I am trying to simply load in an external swf when I click a button. I have created a button on the stage called it 'my_button' I can get the swf to load in automatically but I am not understanding the script for loading it in on a click.....would someone pleae explain what script I need to have this is the script I have for loading automatically

[Code]...

View 11 Replies

ActionScript 3.0 :: Button Retrieves JPG Overlay?

Jun 18, 2009

I am making a head unit "wall" for an AV store. the wall will have all the various head units they carry. When clicked, I want a small overlay to come up over the rest of the app that displays basic info about the unit. Then a simple click to make the box disappear... There are several head units, so efficiency would be ideal.

View 0 Replies

ActionScript 3.0 :: Mouse Click Event On Invisible Part Of MovieClip?

Feb 20, 2009

I have a MovieClip of an bicycle, and I've attached and event listener for mouse clicks on that movieclip. The mouse clicks events are raised when I click on the bike, but I really want to be able to click somewhere in the entire region of the movieclip's rect (to make it easier for the audience this is for to be able to click).

View 1 Replies

ActionScript 1/2 :: Replacing Default External With Button Click?

Oct 2, 2010

My container (emptyMC) will load 4 external movies and loop as default when someone comes to the site.
 
Right now the code for the empty mc (emptyMC) is:
 
var loader:MovieClipLoader = new MovieClipLoader();this.createEmptyMovieClip("emptyMC",1);loader.loadClip("image1.jpg",emptyMC);

[Code]....

View 7 Replies

ActionScript 3.0 :: Click A Button From Main Movie On External Swf?

Dec 24, 2011

I need to click on a button that is on an external swf loaded in the main movie with a loader. I'm trying this but does not work:
  
//  main movie
function openswf(queFoto:String)
{
imgLoader = new Loader();

[Code].....

View 1 Replies

ActionScript 2.0 :: Loading External SWF Files With Button Click

Oct 14, 2009

First of all, right now I have 2 buttons, which are defined as buttons. Clicking on button1 loads swf1, clicking button2 unloads swf1 and loads swf2. Heres the basic code for that transition which is pasted ON the button...

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "F2";
container.loadMovie("F2.swf");
} else if (_root.currMovie != "F2") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "F2";
container.play();
}}}

This works like a charm, no problems. The problem I am having is that I need the button (which will eventually be a part of an animated drop down menu) to have more functionality. When I try to make a movieclip button, no variation of this code above will work to load the swf. I am totally lost. Here is the latest incarnation of the movie clip button code. This version is in the timeline, but I've tried variations directly on the movie clip as well

mc_HeightTest.onPress = HeightMovie
function HeightMovie(){
if (_root.currMovie == undefined) {
_root.currMovie = "F2";
container.loadMovie("F2.swf");
} else if (_root.currMovie != "F2") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "F2";
container.play();
}}}

Why the code pasted on the button will not work when its used in conjunction with a movie clip button?

View 2 Replies

ActionScript 3.0 :: Menu Button Click To Load External SWF

Jun 26, 2009

I was getting in to transitioning from AS2 to AS3 a while back and had designed a page that had menu buttons that when clicked, loaded an external swf in to a container. Pretty simple accept for the fact that it was a while ago and my computer crashed so I'm having to redo this and learn it all over again. I have read in to flash on the subject but I am not to sure on the best way to go about this. I know there are a lot of people on here who make thing a lot more simple and structured than I do. I'm so used to putting the actionscript on the button and I'm a little stuck on the best way to combine the actionscript for the button and loading the swf. I would need to make a button load an external swf in to a container when clicked? I figure I just need one and then I can copy it to all the other menu buttons.

View 2 Replies

Professional :: Text Overlay For UILoader?

Sep 27, 2010

Does anyone know how to create an action that will allow a text overlay to appear with the source image from a UIloader? I'm considering just editing the image itself to include the text but am hoping to reduce file size.

View 3 Replies

ActionScript 2.0 :: Scrollpanes - Get The External Swf To Change Between Frames When Click On A Button Within In It?

Oct 6, 2004

i have a flash file with a scrollpane. into this scrollpane i have loaded an external swf. how would i be able to get the external swf to change between frames when you click on a button within in it? it works perfectly as a stadalone file but whenever i load it into the scrollpane it stops working edit: i just realised, this might eb the wrong forum to post this in, should it be posted in the "flash mx 2004" forum?

View 1 Replies

Professional :: Flash BlendMode.OVERLAY On Transparency

Feb 17, 2011

Overlay blending mode in flash on trasnaprent, imported images, doesn't work properly! It leaves dimmed black background instead of transparency. Same thing is in CS4 and in CS5. What is even more weird is that in Flash preview stage window everything is fine, and it works, but after publishing the SWF, you can see black background.I looked for workaround that...no success. No one answeres to this question.

-I tried with 24png, 8png, gif with different settings. No success.
-Tried also with After Effects, and then export to SWF, it works surprisingly.

View 1 Replies

Javascript :: Triggering A Flash Button With An Image Overlay?

Dec 23, 2011

I am using Google's Audio player to play an MP3 on a webpage. My issue is that I am overlaying an image on top of the the play/pause button. Yet when the image is clicked nothing happens. Here is the code:

<div class="center" style="width: 400px; z-index:1; visibility:hidden;">
<embed wmode="transparent" width="400" height="27"
type="application/x-shockwave-flash" flashvars="audioUrl=/sourcefile.mp3"

[Code]....

That did not work. One thing I noticed is if I have visibility:hidden; the flash player will not respoind to any clicks regardless of what is over it. With that said I attempted to overlay the image using <input> without the visibility:hidden; and it still did not work.

I need to get this fixed if at all possible. I am willing to use another flash player that is similar as long as it works correctly and will use an mp3 like above.

View 2 Replies

ActionScript 2.0 :: External Swf Interaction - Doesn't Jump Frames When Click The Button

Dec 16, 2011

I have my main swf and another swf in "/tools/FrameJumper.swf" In my main swf I have a movieclip container on the stage "myContainer" and when I click a button it loads that "FrameJumper.swf" into that container. Now in that "FrameJumper.swf" I have a txt box and a button. here is the code on that button

[Code]...

View 1 Replies

Professional :: Possible To Click A Button In A Swf And Have It Replace The Swf With A Different One?

Jul 27, 2010

I am not sure how to explain it but,.I would like to have a swf that has a button. When you click it, It would load a differnt swf.that would alow me to create a menu swf that when a user click a menu topic it would reload a differnt swf.

View 2 Replies

Professional :: Buttons.click On Top Of Another Button?

Sep 4, 2010

I have a flash game where a mallot will move with the mouse and when clicked, activate a button on the mallot using "onRelease". When the button on the mallet is clicked it doesn't activate the "onRelease" of the button under the mallet's current position.

View 1 Replies

ActionScript 2.0 :: Make SWF Wrapper With A Clickable Transparent Button Overlay?

Apr 13, 2007

I'm trying to figure out how to make a configurable wrapper or container file that I can simply pass variables such as

wrapper.swf?m=movie-to-load&u=url-that-button-goes-to

It seems simple enough, and I'm half way there ( I can get external movies to load ) however the transparent button is over my head ( read: I'm a complete noob ).[code]...

I've tried hardcoding a url into getURL as well but it doesnt' seem to be recognizing that there's even a button there.. is that because there's a new movie being loaded?

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved