Making A Button On An Imported PSD?

Aug 12, 2010

it seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, ie, the click does nothing.I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot.Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." I did select the transparent box, no color, and tried alpha, both same result)I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I dont have any effects here btw, as simple as we can get.After that I right clicked on the buttonand entered the action script ("reserve" is the name of my button symbol)

reserve.onRelease=function(){
getURL("http://www.redeggnyc.com/menu2.htm");
}

[code].....

View 2 Replies


Similar Posts:


IDE :: Making A Button On An Imported PSD?

Aug 12, 2010

I got a button there, but the URL wont go, ie, the click does nothing.I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot.

Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." I did select the transparent box, no color, and tried alpha, both same result)

I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I dont have any effects here btw, as simple as we can get.After that I right clicked on the buttonand entered the action script ("reserve" is the name of my button symbol)

[Code]...

which gave no errors on validation.When I preview in Flash, everything looks good except the thin black border and the fact that when the button is pressed, nothing happens.

View 4 Replies

Professional :: Making Button On Imported PSD

Aug 12, 2010

It seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, i.e., the click does nothing. I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot. Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." (I did select the transparent box, no color, and tried alpha, both same result). I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I don't have any effects here btw, as simple as we can get.

After that I right clicked on the button and entered the action script ("reserve" is the name of my button symbol)
reserve.onRelease=function(){getURL("[URL]");}
Which gave no errors on validation. When I preview in Flash, everything looks good except the thin black border and the fact that when the button is pressed, nothing happens.

View 4 Replies

ActionScript 3.0 :: Making An Imported CustomClass Work?

Feb 4, 2012

There are enough examples on the internet to learn how to make your own Class, here's an example of what I did, it is saved as a seperate *.as-File:[code]The Idea is that I can add a bunch of descriptions (for multiple persons) to an holder array, which allows me to do more with them.Actionscript has no idea what this "Character" is. Instead I'm getting the Errorcodes

-1046 (Type was not found or was not a compile-time constant: Character)

-1180 (Call to a possibly undefined method Character)

View 9 Replies

ActionScript 2.0 :: Making An Imported Variable ( From Php ) Into A Number

Nov 2, 2004

im importing a few variables with this [code]but now how do i make a variable say root.cash into a a number which can be used in equations or used for logical compariosons such as < > ==

View 2 Replies

ActionScript 2.0 :: Making A Imported Variable ( From Php ) Into A Number?

Nov 2, 2004

im importing a few variables with this

Code:
myVars = new LoadVars();
myVars.load("getinfo.php?user1="+userN+"&pass45="+passN+"&random="+refresh1,"0");

[code]......

View 2 Replies

ActionScript 3.0 :: Button Inside Imported Swf?

Nov 11, 2009

I have a site where an .swf is loaded into frame 11 of the main timeline using newLoader().In this .swf there is an titlebuttons_mc with seven buttons in, images_mc etc.How do i navigate back to, background_mc, frame 40, which is on frame 1 of the main timeline.

View 9 Replies

ActionScript 3.0 :: Button Within Imported Mc (why Won't The Listener Work)

Apr 26, 2010

I have a 'contact us' panel(contact_mc) that is loaded from the library with a button on a menu bar. When this is loaded in, a "close" button (closecontact_mc) is also loaded next to the panel. The panel and button load perfectly when run. Next I want the panel and 'close' button to be removed from the stage when the 'close' button is clicked.

[Code]...

View 3 Replies

Professional :: Creating A Button/rollover With An Imported Ai File?

Jul 8, 2010

I created a button in Illustrator and imported to my Flash library. The button has drop shadows, overlay and gradients. It imports and previews just fine until I change it to a button. When I go to preview it, there are these thick red boxes that seems to incase every layer of the button?

View 3 Replies

ActionScript 3.0 :: Use A Button From The GUI And Code It With A External Imported Packaged Class?

Aug 30, 2008

I have tried to add a button a .fla and code it with a packaged class (Main.as).is it possible to use a button from the GUI and code it with a external imported packaged class?

View 3 Replies

ActionScript 3.0 :: Nested Button On A Imported Swf That Targets Contact Forms On The Importing File

May 15, 2011

I have a swf named garage. When you click the garage door it opens and a tool chest emerges. You can either click on the gargage door again to close it or click on the top of the tool chest to close it. The drawers on the tool chest represent buttons that will bring up a contact form to be sent to the perspective person. These buttons are a secondary navigation. The main movie that is importing garage.swf has navigation for the contact forms. I need to code the buttons on the tool chest to match the code on the main movie so if you click the buttons on the tool chest they will respond as if they were the buttons in the main movie that it has been imported by.

[Code]....

View 1 Replies

Making A Link From One Button To Another Sc4?

Sep 12, 2009

i have a friend who are dentist and ive agreed to do a web site for him. I do it in cs4. Like so: ive made a pretty simple and nice layout i plan to use for all pages with some images an so on .Now ive made lots of buttons wich all opens in a timeline nice and slow (not to slow). On the index page i have a menu called "treatments" wich requir some room. I want to make a button called "treatments" wich can open and collaps to 3-4 minor buttons wich then again can link to diffrent pages describing different treatments. Now i need the treatment button to open up the 3-4 minor buttons one by one smooth(tweened with the alpha slider) with same frame rate as the other ones on the page and collaps again.

View 1 Replies

Making A Button Link To A URL?

Jan 10, 2010

I have an object on the stage (with an instance called mcBlackboard) that contains two buttons.I'm trying to make these buttons link to pages on my site but I get the following error(s):1120: Access of undefined property buttonAboutUs1120: Access of undefined property buttonFAQsMy guess is that it's not finding the buttons in the movieclip (since the script worked fine when the objects were on the stage).I may have done things in an odd way, but it's the result of days trying to figure this out mysel

Code:
function myButton(button:MovieClip,url:String) {
var buttonPath = "mcBlackboard." + button;

[code].....

View 5 Replies

ActionScript 2.0 :: Making MC Into A Button?

Dec 10, 2003

i am looking to use mc's for my buttons instead of buttons. what is the as i need to give a mc to geturl [URL] and a diff one to load another mc is it..

View 8 Replies

ActionScript 2.0 :: [CS3] : Making A Switch (button)?

Feb 18, 2009

I have made a button to function like a switch in that it has both an on and off state. However, I can only get it to switch between the on and off state once when it's pressed, with nothing happening after it has been turned off.The code is as follows:

Code:
switch1.onPress = function() {
switch1.gotoAndStop("on");
_root.onEnterFrame = function() {

[code]....

is there a way to make it so that the switch works continuously, not just one time?

View 1 Replies

CS3 - Making Button Open An Image

Jun 26, 2009

I need help making a few of my buttons open images, I need the images to basically pop-up full size, and with a click on the image, it goes away. I require some sort of framework script for this

View 1 Replies

ActionSctript 3 :: Making A Button Invisible ?

Jun 7, 2009

I have one button instance that stretches across many frames, and I would like to make it invisible in some of the frames and visible in others. How do I do this with ActionScript 3?

View 1 Replies

Making Button To Start Animation

Nov 15, 2009

I'm very new at Flash and while Ive picked up the basics of tweening and creating animations. I'm trying to create an image of a post it note that is revelaed via a mask when a user rolls over a seperate image. I have created the animation of the mask and it revelas the note fine. My question is how do I create an invisible button and code it in action script so when I roll over image 1 my mask tween begins playing to reveal the post it.

View 2 Replies

ActionScript 1/2 :: Making Sure A Button Does Not Get Focussed?

Jun 12, 2010

I'm currently building a small search banner which comprises of three fields and a search button.
 
The banner works great and all the fields respond well however if I use the tab key on the keyboard to move from one field to the next the search button becomes highlighted.
 
At this point my keydown Enter causes the button to not function as a release but instead takes my file to another portion that is reserved for button B rollover functionality.
 
Is there anyway I can make sure that by hitting the tab key after the last field will take the user back to the first field?

View 5 Replies

ActionScript 3.0 :: Making Button Using Labels?

Dec 22, 2010

Still a newbie, I am trying to understand how labels work with buttons. So eventually, I can create a rollover effect and have a button on a menu either glow or have an effect.
 
So far just testing how labels work, I have made a movieclip with labels in it. Then made a test button to try to trigger movement from label to label.  Nothing works. The movie clip simply runs over and over again.I have tried some tutorials, but using their as, still does not work.

[Code]...

View 2 Replies

Professional :: Making A Button In Flash?

Jan 23, 2011

i need to create an ebook where the scenes are linked via buttons.

View 1 Replies

Flash :: Making An Animated Button In CS5?

Apr 3, 2011

I'm jew to Flash and I'm trying to make an animated button in Flash CS5 that has the ability to turn music on/off. I've followed different tutorials, and right now I'm trying to use an animated movie clip with an "invisible" button over it. I want the animation to swap frames when the button is clicked, and I also want the music to toggle on/off when the button is clicked.For example:When the button is pressed, the animation switches to say "press to turn off music" and the music turns on.But so far, the button isn't working, and the animation won't stop switching frames even when I enter the "stop();" code.Does anyone have any idea how to make it so that the button works together with the animation and music?

View 2 Replies

ActionScript 3.0 :: Making Button Have URL Link?

Oct 26, 2009

I have started to do some reading, but I have a FLA file that I need to add a get URL to. I have spent the last two hours doing tutorials, but all of them show a different view than what I have. with this?Request: To add the ability to have someone click on the button and get an url.Attached: My FLA that I am trying to figure out how to do this with.

View 1 Replies

ActionScript 2.0 :: Making Button That Will Go To Another Screen?

May 14, 2010

How to make a button that will go to another screen?

View 1 Replies

ActionScript 3.0 :: Making A Button Invisible?

May 15, 2010

Im a bit a of a noob when it comes to AS. I have a problem that I think should be very easy to solve.

I have a shape that I turned into a button and gave it an instance name of "CA" I also have an array that has a string item called "CA"

I want to be able to make the button invisible by using the array instead of just writing the instance name. I have the following code but it just doesnt work.

[Code]...

View 5 Replies

ActionScript 2.0 :: Making A Mc Inside A Dup Mc A Button?

Dec 1, 2005

I have a mc that is duplicated. the duplicates have stuff in them. One of these things is another mc. I want that mc to trigger the onRollOver and onRollOut functions for the shell mc (the one that houses the mc that has the rollover/out actions), and I want it to have a hit area of only that inner mc, not the whole shell mc. How can I achieve this?here's my code:

Code:
for (var i = 0; i<rows; i++) {
var thematrix = smile.duplicateMovieClip("smile"+i, i);

[code].....

View 2 Replies

ActionScript 2.0 :: Making A Next And Prev Button XML?

Sep 11, 2007

Im trying to make a next and prev button for my thumbnails in my gallery using xml.Problem is that everytime I add a new entry into my xml I keeps making a new thumbnail and I only want 6 thumbnails loaded and when i click the next btn I want a new set of 6 thumbnails to appear same for the prev button.

[AS]stop();
cliparray = [];
columns = 3;

[code].....

View 4 Replies

ActionScript 2.0 :: Making A Button Disappear?

Sep 28, 2007

How can I make a button dissapear when I click it? I tried:

on (press) {
score+=1;
this._visible = false;
this.enabled = false;
}

but it just made everything on the stage dissapear.

View 3 Replies

ActionScript 2.0 :: Making A Button Invisible

Oct 31, 2008

I've built an image scroller but I'd like to make the 'next' and 'previous' buttons invisible at the first and last frames frames respectively. The code I'm using for the scroll is below. I think the code I'm after should be something like this:

HTML Code:
if (targetX<720) {
btn_Previous.visible = false;
}

But I can't work out where I should put it (or even if it's correct) within the scroller code.

[Code]....

View 11 Replies

CS3 Making A Movie Play When Clicking A Button?

Jun 10, 2009

im making an intereactive map and i have certain areas in the map where you can click and a video pops up so you can view real footage of the area. I just need help making the video pop up like how to import it and whatnot.

View 1 Replies







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