ActionScript 3.0 :: Connecting 2 SWF Files With A Button?

May 28, 2010

I am using AS3 and flash CS4. I want to link two SWF files with a button but I don't know how to do it. I have a file named A.swf which has a button named photoBttn. When people click on the button I want them to see the second SWF file named B.swf. I have built a web site made of 10 SWF files, there are buttons that connect all the files and now everything is done and ready to go online but I don't know how to connect the files using a button.

View 9 Replies


Similar Posts:


ActionScript 3.0 :: Connecting 3 SWF Files Via Loader Possible?

Mar 1, 2012

I have 3 separate swf files which I would like to connect together via an swf loader. I've created an as3 loader before however it had buttons at the bottom of the page and just loaded the swfs at the top of the page. However this time I want a main page to load automatically in the loader and then when a button in that swf is clicked I want it to show another swf in the loader and then on click of the exit button in that swf it goes back to the original swf. Is this possible?

View 11 Replies

Professional :: Connecting External Swf Files To A Main Home Page Swf?

Oct 9, 2011

I have a home page in that their are 4 buttons which lead to 4 different pages, I essentially need mine to be able to click on a button and then have it go to that page, oh and Im working with Flash CS4 in AS3

View 1 Replies

ActionScript 3.0 :: Connecting Files ... When Click Down Onto The Toggle The Music And Timer Both Run At Once?

Mar 9, 2011

I have a game with a timer and toggle button that plays music. The AS3 file that runs the timer is the main doc clas(as3 file) and the timer is a custom event as3 file I made, is there a way I can link the 2 so that when I click down onto the toggle the music and timer both run at once.

View 1 Replies

ActionScript 2.0 :: Child Mc Button Not Connecting To Parent Mc?

Mar 8, 2009

i've gone over and over this for about a week now, and no luck. here's the deal. on the top level mc called "Scene 1" i've got links to the child pages as so:

Code:
on (release) {
_root.contentHolder.myHeight = 826;
_root.contentHolder.newLoc = 10;
heightAnimation();
}
myHeight adjust the footer to drop down to fit the height of the mc
newLoc is the frame # in the contentHolder mc

these work perfectly.

my issue is i've now got a button in the contentholder mc, not the main mc, that i need to do the same two functions. since the actionscript that these call lives in the main mc i assumed i could just use _parent:

Code:
on (release) {
_parent.contentHolder.myHeight = 826;
_parent.contentHolder.newLoc = 10;
heightAnimation();
}

this does not work.

i've tried several ways to make this happen, and no luck. if the buttons on the main mc all work great and call the new page mcs, then why won't the button in the child mc work?

View 4 Replies

ActionScript 2.0 :: Email Form - Connecting The Submit Button?

Jan 25, 2007

I am comfortable with PHP, so have done the server side code in PHP. but I can't seem to get the button on my form to trigger my code. I've studied many tutorials about this, but none of them are close enough to my own situation for me to make this work.Here is the PHP code from my file called, 'contact_process.php':

PHP Code:
<?php// Send the message$mailfrom="<$_POST[email]>";$email="trade@snowweb.net";$subject="RJEN website -

[code].....

View 6 Replies

Professional :: Movie Clip Button Not Connecting To "Scene 1"?

Jul 6, 2010

new to flash and have made a movie clip which successfully does the whole roll over and roll out effect but doesn't link back to the main scene 1. Have made a button inside of the movie clip and added this with the action toolbox as i don't fully understand manual coding...

on (rollOver) {
gotoAndPlay("over");
}
on (rollOut) {
gotoAndPlay("out");

[Code]...

View 12 Replies

Flash 8 - How To Link Two SWF Files Through Button

Jan 15, 2010

I have got two flash files now, one called intro.swf and the other called egx.swf. I have a button on the intro file with an instance name of b1, which I want to open up the other file (the egx.swf file). I have tried several codes, but when I get it working, it loads up the homepage, but keeps the text and the button on the intro file up, which I need to get off. Basically I need to link the intro file and the egx file together through the button, and then need to get rid of the intro file from the stage.

View 1 Replies

AS3 :: CS4 Button Opening External Files?

Aug 31, 2010

I'm working on a Flash project (which will eventually be published as an .exe - not sure if that makes any difference) which has buttons which need to open up external files.The external file will vary in type (there will be at least one button each for .pdf, .exe and .swf).I've managed to get this from various online help things:


Code:
function f_testURLOpener()
{
var url:String = "BWorking.exe";
var request:URLRequest=new URLRequest(url);
navigateToURL(request);
}

I've tested it with about 5 different file types and it only seems to work if the url String begins with "http://". Even local htm/ html files don't open.

View 9 Replies

Flash :: Interface Connecting To .NET, SQL??

Feb 19, 2007

I am an actionscript newbie but have been given the task of designing a navigation menu in flash that has to connect to a database - the menu items have to be marked - unread, mandatory etc. and have to pull back database information to display then be marked as read.

View 3 Replies

Flash Connecting To A WCF Service?

Oct 23, 2009

proper endpoint configuration for my WCF service to enable a Flash app to consume it.

View 1 Replies

Actionscript 3.0 :: Connecting With A C++ Backend?

Jan 28, 2010

I am curious to know if there is a way of connecting a flash front-end to a C++ driven backend? I'm not currently working on a project that involves this, but I found out about an application used in the gaming industry, called Scaleform, that requires knowledge on doing such things in order to create menus in games.

View 2 Replies

Flash - Connecting To Kongregate Api?

Feb 6, 2010

When I connect to kongregate locally on debug mode it works fine. but when I upload the game to their servers, I get the following error.

TypeError: Error #1010: A term is undefined and has no properties.
at com.objects::Engine/GameMenu()
at Function/http://adobe.com/AS3/2006/builtin::apply()

Below is the code I use. and the class properties i set

// Kongregate API reference
private var kongregate:*;
public function Engine(sr:Stage):void

[code].....

View 1 Replies

Flex :: Connecting To Mysql Using Php

Mar 8, 2011

I wanted to use flex line chart for displaying data stored in mysql table. Can anyone suggest me on how do I do this with flex as UI and mysql as db, I am not sure how to call .php file in flex to query from mysql. I wanted to show some data of time v/s temperature.I wrote a php file to query data from mysql, but my flex program is not able to connect to mysql, is there any configuration I need to update. I am using XAMPP

View 1 Replies

Flash :: Error Connecting To URL

Jul 1, 2011

I am trying to connect to this service from my pc.[URL].. using the flex Webservice libs but I get this:

[Code]...

View 2 Replies

Asp.net :: Connecting Flex And Weborb?

Nov 3, 2011

I have

[Bindable]
private var model:AlgorithmModel = new AlgorithmModel();
private var serviceProxy:Algorithm = new Algorithm( model );

[Code]....

And when i call serviceProxy.Solve_Send(request); with request is array and i want use model.Solve_SendResult in my code flex to draw many cubes use papervison3d but in the first time i received model.Solve_SendResult = null . But when I click again then everything OK.

View 1 Replies

ActionScript 2.0 :: Fla Not Connecting To Database

Sep 5, 2007

[code]...

I got the script to work perfectly, even got to register a few hundred members to the site. However, my old host had a bandwidth limit of 400gb so I had to move to a new provider. I transferred all the files with no problems, and even setup the database properly. My new problem is registering... I can login just fine using an existing account I had made. But I go to try and make a new account and I get an "undefined" error.[code]...

View 1 Replies

Make 3 Animated Gif Files For All 3 Stages Of Button?

Jul 31, 2009

I want to make 3 animated gif files for all 3 stages of button. If I use transparent png files when creating gif Im gonna preserve transparency of png files, my question is if I import transparent gif animation to flash and convert them to button stages are they going to keep their transparency. If somebody know how to do this please help.

Gif animations is going to look like this: metallic looking orb rotates on transparent background on x axis from left to right side of gif file, what I need is that when I upload swf file containing this gif to internet, you can see only metallic orb and everything around it need to be transparent so you can see web page background. It should be looking like flash file is part of the background and interacting with it.

View 14 Replies

ActionScript 3.0 :: Load XML Files Into A Datagrid Using A Button?

Jun 22, 2010

I also have two different simple XML files, each would only be a single column of data, lets say they're called file1.xml & file2.xml I have 2 buttons, and I want to be able to click button 1 and load the data from file1.xml into the datagrid and have its column of data displayed, same for button 2 and file2.xml.

View 1 Replies

ActionScript 3.0 :: Load Different Swf Files Depending On Button?

Apr 13, 2009

im starting to get the hang of 3.0 now.. but i have a little problem loading different swf files related to witch button i click..
 
everything works just fine. when clicking on a button the movie plays and its listening for the end of each video playing.. but i cant get it to load different swfs depending on witch button is clicked. is it possible to do this using the same loader as i do now?
 
heres my code:
 
var compact:String = "axesse_mc.swf";var compactreq:URLRequest = new URLRequest("axesse_mc.swf"); 
var loader:Loader = new Loader();loader.load(compactreq);

[Code].....

View 3 Replies

Javascript :: Upload Button For Multiple Files?

Aug 22, 2011

I want my file upload to be very simple, and what could be simpler than just a single button. The requirements are that you should be able to upload multiple files at once. It would definitely be an advantage if I could add file format filters as well, and design the button by myself (including the hover event).

I searched and found Plupload, which seemed to be awesome with the easy setup and functionality, but I can't quite figure out how to create my button; I've only found their Custom upload, which prints out the file names and requires at least one click on another button before it's done (and I can apparently not add any hover-attribute). I tried to edit the JavaScript to make the form be sent after all the files had been added, but failed.

View 1 Replies

ActionScript 2.0 :: On Click Of A <next> Button Display Swf Files One After Another

Jan 22, 2011

How can i on click of a <next> button display swf files one after another on a website?

I have created a few (will be a few hundreds eventually) flashcards (for leaning chinese characters), how can i make them show-up one after another on a click of a <next> button? (How to create the <next> button, where to place, how to code it, and how to make the swf files appear one after another when the button is clicked?)

Each flashcard is interactive with dozens of layers (all lasting one frame only, but there is a movie clip within a movie clip on the first frame of one of the layers (an animated clip to show *how to* write the character), it has a stop(); command in the first and last frames. And there are dozens of invisible buttons that allow the content (example words and sentences) to show up and hide on click of the buttons (all coded in AS2 i think).

Each flashcard on itself functions perfectly well when published , but i am really puzzled how could i connect all the flashcards and make them show up one after another on the click of the (yet to be created somehow) <next> button.

View 1 Replies

ActionScript 3.0 :: Draggable MCs With Lines Connecting Them?

Feb 5, 2009

I want to create a movie that allows boxes to be dragged around, and for lines to be connecting each box, wherever they are dragged. I have made the boxes draggable with the attached code.

what I mean, here is an example FLA: boxes.fla

I have no idea where to start on this, because searching for things like AS3 draggable movie clip with lines attaching, etc isn't very helpful.

View 6 Replies

Actionscript :: Connecting 3 Symbol Instances In CS4?

Jul 24, 2009

I am trying to create a group from 3 movie clip symbol instances on the stage. The three movieclip symbols are; node1, node2 & link.
 
here is what i was trying without success...// Trying to create a Nodegroup movieclip by attaching "circle nodes" to a "link" to each end
 
var linklist = null;
linklist[1] = this.attachMovie(link, 100);
linklist[1].node1 = link.node1;
linklist[1].node2 = link.node2;
 
but get the compile errors...
 
TypeError: Error #1006: attachMovie is not a function.
at test_fla::MainTimeline/frame1()

The Actionscript is a separate timeline layer called "actions".

View 3 Replies

Media Server :: Connecting To FMS From Flex?

Jul 14, 2010

I'm trying to connect to an FMS server with a Flex application. I can throw the rtmp URL straight in as the source for a VideoPlayer and it will work, but can't figure out how to get it to work with a NetStream. The pure Flash Video element works as in the FMS Flash demos, but is extremely laggy and lacks all the nice functionality of the built VideoPlayer. Is there any documentation on working with FMS with Flex? We're at a point where we need to decide quickly if FMS will do what we need to do or if we should purse other technologies.

View 4 Replies

Display A Message To Client Connecting?

Sep 1, 2010

I am fairly new to FMS and really am trying to learn about it. My question is simple I hope;

I would like a message to pop up to a client when they connect that the max users has been reached. I have it set for 5 users and so I would like when the 6th user tries to connect to watch the video, a little box will pop up and say "Sorry, Max users has been reached. Please try again in a few minutes."

I was able to develop something and get it output through trace commands by following a tutorial I saw online, but I could never get any sort of message box I built to pop up.

View 9 Replies

AS3 :: Media Server - Error When Connecting To FMS

Jul 29, 2011

I'm trying to stream my webcam to my FMS Server, using AS3, but I get this error message:

[Code]...

View 2 Replies

Professional :: Connecting A Kiosk To Server

Jan 3, 2012

i am self-taught and i have pretty good as3 and mxml skills and have worked with Flash Pro and Flex, but only for my own stuff at home. i have only done local AIR stuff that don't require sending and getting data from a server now someone has asked if i could build him a kiosks/server system, and i want to dive into that the kiosks would be deployed in stores and have touchscreens displaying pictures, movies, banners and accept user control and data.i plan to build his remote controlling software in Flex and the kiosk AIR apps in Flex or Flash pro.the kiosks should periodically connect to the server to see if updates are available  and download swf, jpeg and movie (mp4? flv?) files to the local filesystem (no live streaming is needed)also, user created data (forms only) should be sent to the server - i guess xml.[code]can all this be in as3 alone or do i need stuff like php also?also, would i be able in the controlling flex app to determine if specific kiosks are offline?

View 1 Replies

Flash Not Connecting Via Open-socket

Jan 1, 2010

I have moved on now to where this is clearly a Flash security thing.I have a flash client that attempts to connect to an open socket on the same host as the one on which it lives.I am able to connect successfully from inside the Flash IDE, and when I run the swf movie locally on my machine, after granting it security clearance in the white list it connects as well. However, when I call the movie via the browser (URL...) it fails to connect.The socket reports that a connection attempt is made but immediately disconnects.I have a crossdomain policy file that looks like this: in the root directory of the host.[code]In the flash movie I have a line that looks like this: System. security. loadPolicyFile (URL...);And I'm thinking maybe that's where the problem is, but the documentation on how to use this method is not entirely clear. I'm in Flash CS3

View 1 Replies

ActionScript 3.0 :: Connecting To A SQLite Database?

Aug 30, 2010

I'm developing a desktop application in Flash, but I can't seem to find any tutorials that aren't based on FLEX to connect my application to a database file.

Do I have to write my application in FLEX to use SQLite or can I create an AIR app in Flash and still use it?

View 0 Replies







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