ActionScript 2.0 :: Flash8 - Turn Vars Into A Link/button

Mar 26, 2009

I have this textfield in wich i load some vars when a button is clicked. How can i make a sort of button of the loaded vars? So if i click on the first title; i go to the right txt-file!?

Here's the code so far:

code: //vars instellen
//titels
var title1:String = "Maan Fotografie";
var title2:String = "Vertigo-/zoomeffect-fotografie";

[Code].....

View 1 Replies


Similar Posts:


Professional :: Possible To Turn On Selectable Text When Making Link / Button

Jun 14, 2010

Is it not possible to have selectable text turned on when you are making a link or button?

View 2 Replies

ActionScript 2.0 :: HTML Button/link To POST Vars To Flash?

Jun 16, 2007

Have a thumbnail image acting as a button - sitting on my HTML page.When the user clicks it, the button uses the POST method to send a specified variable.I think I can handle the variable from there using javascript - which will talk to my embedded swf.

View 3 Replies

ActionScript 3.0 :: Transcoding AMF - Turn Vars Into AMF Encoded Binary Strings?

Mar 5, 2009

It is my desire to transmit some data encoded in Action Message Format (AMF3) over a socket to and from Flash. I need to know two things:

1) How to read AMF3 data off a Flash Socket object. I'm assuming it will come through as an array of bytes and that array of bytes must be decoded into actual Actionscript Strings/Arrays/Objects or whatever.

2) How to turn Actionscript vars into AMF encoded binary strings.

[Code]...

View 2 Replies

Flash8 Page Turn And Navigation?

Nov 27, 2009

I have created what looks like a book in flash.There is a corner turned over at the top right so when you click it the page turns. This is fine, however, what i want to beable to do is when I click it the page turns and goes to a new page. ( i have made all the other pages)I tried an on(release) but it just doesnt go to the page, it plays the movie clip but I cant get it to navigate aswell..

View 14 Replies

ActionScript 2.0 :: Flash8 Sending Vars Between Swfs - External Interface?

Jul 5, 2010

On my html page I have two frames, one for navigation and the other for content. The navigation menu is an swf. Most of the content is html, except for the 'gallery' page.

The thumbnails for the gallery appear within the navigation. I can get the pictures to load from the thumbnails into the 'content' frame using LoadVars sendAndLoad.

However, doing this means that the flash gallery refreshes itself each time a thumbnail is clicked (thereby losing the transition effect).

So, how do I load the images in the other frame without reloading the flash??

Could I do it using external interface? ..

View 2 Replies

ActionScript 3.0 :: Turn A String From Xml Into A Clickable Link?

May 22, 2009

not sure how to do this...i also need to set it up so that my title is the link, and the url comes in in a separate node? or what's the best way to do this?

View 12 Replies

Flash :: IDE - Link Or FLA Of The Page Turn / Flip Book?

Nov 11, 2005

I know it's played out, but does anyone have a link or FLA of the flash page turn/flip book?

View 7 Replies

ActionScript 2.0 :: Loading Vars From Text - Global Link

Aug 3, 2004

I have a load vars function that looks for a txt file and grabs data from it, right now they have to be in the same dir. I'd like to have the txt in the root of my server and then be able to link from any dir in the site. I have:
("dataValues.txt")
What should I add before it, I thought maybe a full URL, but no, is it something like ("../dataValues.txt"), basically I want to make the link global for the site - I don't have access to the files right now.

View 1 Replies

ActionScript 1/2 :: Open New Window, Turn Off Sounds With Html Link?

Mar 3, 2011

I have a flash video playing on an html page.  Is there a way to turn the sound off of the flash video from a link outside the SWF file (on the html page)?  I want to open a new pop-up window with a new flash file and turn off the sounds on video playing on the starting page, with an html or java script link. 

View 1 Replies

Flash8 :: Link Inside A Scrolling Text?

Nov 22, 2009

my problem is that I have made a scrolling text. Now I want one word inside the scrolling text to be a link to another page.

I tried this with an invisible button on a second layer above the word, but the button does not stay on its place on different screens. Is there a solution. Looks to me as a basic thing every web designer ought to know.

View 1 Replies

Flash8 :: Link To A Certain Size Html Page

Jul 9, 2010

for flash 8 I have created a nice flash site to show some portfolio work. I have all the thumbnails in place but I wanted them to open a new HTML window in the size of the portfolio piece. How is this done and will it be blocked by popup blockers. edit: the html page i want to link to is in the same folder as the flash site.

View 1 Replies

ActionScript 2.0 :: [Flash8] Assigning Link ID To A Loaded Image?

Feb 13, 2006

I've been trying to figure out a way to assign a link ID to a loaded image so that I can then attach that clip to various other nested movieclips.

If I load the image into an empty movieclip on the stage that already has a link ID in the library and then try to attach that movieclip to another one using its link ID, it will attach the empty clip from the library and not the one on the stage with my loaded image in it.

This problem has come up from wanting to preload images (using a loading array) but then wanting to attach these images to dynamically generated clips later on, that are nested deep within my movie.

I know that i could load in swfs (with link IDs) instead of jpegs, but I need updates to the site to simply require images added to a folder, rather than a whole lot of swfs with Link IDs created.

View 1 Replies

ActionScript 3.0 :: Button Link - Link Them To A Picture/url Address?

Dec 17, 2009

i created my subMenu buttons fine, however i only know how to link them to a picture/url address, my goal is to have the user click the subMenu button and open the image or page right below the menu bar in the "stage" area of flash. I read about IFrames but i'd rather create the whole site in flash .Here is the code for my subMenu...

btn_34th.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("images/34th.jpg"));
trace("I'm Clicked!");

Again, this works fine, i just want to have the image take up the "white" space on the stage area, very similar to an IFrame.

View 1 Replies

Professional :: Turn A FLA Into A URL Button?

Apr 26, 2010

I have a FLA file with 4 layers 2 of the layers are Text Boxes 2 of them are masks to make the different words "Shine" Is there a way to make the whole file a button so when people click on it, it goes to a different page?

View 6 Replies

ActionScript 2.0 :: CS4 - Button To Turn On AND Off?

Jun 3, 2010

I was just wondering if there's a way to write code for a button so it will, e.g., make a movie clip visible with one click, then hide it with a second click?what I usually do is give the mc two frames, so on click one it goes to frame 2 while it changes the visibility or alpha, and on frame 2 sends it back to frame 1 while changing the mc back. But I would like the flexibility of doing it on the fly with code rather than have to fiddle with each mc.I tried doing it yesterday with an if/else if statement, like, "if alpha is 0, change it to 100, else if alpha is 100, change it to 0" but couldn't get it to work. But if that's the way to go I'll keep playing with it.

View 4 Replies

Game Engine :: Flash Multiplayer Turn By Turn?

Oct 7, 2011

I'll start off by saying I'm a newbie, just putting that out there. How do you make a turn by turn multiplayer flash game? I don't know if an engine is made in AS3, PHP, Javascript, or whatever,I made my game already, it's just that it isn'tmultiplayer yet. Basically, there are lines, and each player crosses out a number of lines, and the last player to cross out a line is the loser. I want it where one user crosses out some lines, then presses End Turn, then the other does their turn and then presses End Turn to allow the other player to move his cursor. But how can I get both players to see the same frame and only have one player have the ability to move the cursor during a turn? Is there some easily adaptable multiplayer engine for flash for newbies out there

View 2 Replies

ActionScript 3.0 :: How To Turn A Picture Into A Button

Mar 14, 2011

I'm working on this app and I can't figure out how to turn an image into a button, and I can't figure what type of image does it need to be(PNG/JPEG, or something else). Also I'm using flash builder. e I can't find anything about this on the internet.

View 2 Replies

ActionScript 2.0 :: Using One Button To Turn Music On / Off

Dec 4, 2007

Is it possible to have one button the toggle my 'my_sound.setVolume();' between 0 and 100. I'm having a hard time getting the as correct, but here is my idea:

[Code]....

View 6 Replies

ActionScript 3.0 :: Getting A Button To Link To Mailto Link?

Mar 26, 2009

I've trawled the web, everyone with different ideas on how to call up a mailto link in AS3. What I'm looking for is this: I have a box, that is coverted to a button symbol given the name 'mailto'I have another layer for the actionscript I have imported 'flash.net.navigateToURL' and 'flash.net.URLRequest'
I know I need to create a function or a variable to link in the already created button. Do I also need to import the MouseEvents?

I created this FLA to get used to CS4 (i was previously using8)Everything works wonderfully, I would just like to know how to use AS3 properly, without having to call defeat and create the FLA again using AS2.

View 4 Replies

ActionScript 1/2 :: Control A Mask(turn On/off) By Using A Button?

Aug 20, 2011

Is it possible to control a mask(turn on/off) by using a button and AS2?

View 1 Replies

ActionScript 2.0 :: Using A Button To Turn Page With PageFlip V2.25

Feb 8, 2010

I am trying to use a button to flip the page rather that using the corners. I have switched the page flipping off using:

ActionScript Code:
canflip = false;

There is this code below that is used to tell me how to use a button however I do not understand it.

[Code].....

View 2 Replies

ActionScript 2.0 :: Loading Vars Into Text->button?

Feb 20, 2003

OK I have defined a variable sayPHP Code:test="what should I do?" then I have a textfield with var name "test". Now when I play the movie it will display "what should I do?" in the textfield, but what if I put the textfield inside a button? It won't show! How do I change the actionscript so that it doesn't think that the field is in _.root??I tried this:PHP Code:button1.test="whatwhere button1 is the instance name of the button!ut this won't work

View 4 Replies

ActionScript 2.0 :: Create A Button To Turn On And Off A Movie Clip

Feb 21, 2012

I want to create a button to turn on and off a movie clip, did any one know how to do it!

View 6 Replies

ActionScript 3.0 :: Turn Layer On / Off When The User Does A MOUSE_OVER On A Button

Jul 7, 2010

I have a bunch of areas on a map that I've turned into buttons. When the user does a MOUSE_OVER on a button, I'd like an info box to show up so they can see some information. So far, I've created my info boxes as movies clips with fade-in/out tweens between frames.

[Code]...

View 4 Replies

ActionScript 3.0 :: Make A Button Turn On/off A Sound When Pressed?

Jan 29, 2009

I am trying to make a button turn on/off a sound when pressed. I have tried to code it, but it does nothing everytime.

I have a sound in the library, with a linkage name of "sound" it is on the first frame in the main timeline. And i need a button to turn it off, and then on again.

View 0 Replies

ActionScript 3.0 :: Loading Array Vars Into A Button With An XML Loop?

Dec 10, 2009

I built this site out in as2 and have to convert it to as3. It appears the same logic flow and coding just doesn't apply since everything has changed on an event level. The idea is to load thumbnails dynamically and upon clicking the thumbnail retrieve the loaded variable (i) in the array per the XML loop. I'm trying to figure out what I'm doing wrong in logic flow as it keeps coming up "undefined" or pulling up the last one after the whole thing's loaded. I'd copy the exact code but there's a lot of variables. So I'll post this basic structure to give an idea of what I'm doing. The bold print is where I'm stuck in terms of getting a trace.

[Code]....

View 0 Replies

ActionScript 2.0 :: Make Button Load Vars Direct From Xml

Apr 21, 2010

how can i make a flash button template that load vars from direct xml? like height/width/text/color/curve/background or transparent background also i will have more than one of these buttons on the same page, so they must take the vars directly fromt the xml.

View 0 Replies

ActionScript 2.0 :: Displaying Flash Vars Below SWF On Button Click

Nov 13, 2007

I have a Flash XML Slideshow (SlideShowPro) that loads from the XML the filename, caption, and category or "album". I want to set up a system similar to a shoping cart where when you click a button (in or out of SWF) it will then list the current XML data below my swf. (filename, album, and possible a dropdown that shows a list of photo sizes. Then a price based on your choice in the dropdown.

Then I wanted a submit button to send the printed data to an email address, or go to a page with several input fields like: phone number, credit card number etc. I found this tutorial: [URL] and was wondering if what I am asking is too hard to accomplish? It doesnt seem to be that difficult but I am a little unsure as to how to go about doing this.

View 8 Replies

ActionScript 2.0 :: Movie Clip Button - Red Number One To Turn Black?

Aug 26, 2010

I've come a long way with this sliding menu("Sliding menu.zip"). There's only one more thing that needs to be fixed. Can anyone tell me how to get the first movie clip button ("1") to be red when it arrives? When the user clicks on another button I want the red number one to turn black. It's sounds so simple but my mind is blank.

View 2 Replies







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