Actionscript 3.0 :: Form And Buttons Within External SWF Not Working When Loaded

Oct 20, 2010

I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:

this.mySWFLoadingClip.addChild(loader);

This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF. I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with, and the problem page is the Guest List page:
[URL]

Below is the code from my Main SWF file and the External SWF file with the form on it:

MAIN SWF:

var Xpos:Number = 0.0;
var Ypos:Number = 192.5;
var swf:MovieClip;

[Code].....

View 5 Replies


Similar Posts:


ActionScript 3.0 :: Form And Buttons Within External SWF Not Working When Loaded?

Oct 20, 2010

I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF.

I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with:

processing_mc.visible = false;
// Clear the form fields
first_name_txt.text = "";

[code]....

View 2 Replies

ActionScript 2.0 :: XLM Loaded SWF/PHP Form Not Working?

Jan 7, 2006

I am using XML to load an external SWF that has a form using PHP. (Tutorial from, also using XML box resize tutorial to load from with XML) The form works, as far as sending the email correcly, but it does not goto the next frame that says with back button, so it may be confusing to the user if it doesn't do anything when the click send.On the form it has this actionscript attached:

onClipEvent(data){
// show welcome screen
_root.nextFrame();

[code].....

View 2 Replies

ActionScript 2.0 :: Form Mailer Not Working When Loaded Into Movie Clip?

Apr 19, 2004

I followed this tutorial for a form mailerHowever when I try to load this from my main swf into a movie clip holder, it no longer works. It only wants to work by itself, im a novice at flash/actionscript but im wondering if this is causing the problem by trying to get to the root of my main movie instead of the actual mailer.swf?

onClipEvent(data){
_root.nextFrame();
}

View 3 Replies

ActionScript 3.0 :: Loading Jpg Form External Site Not Working On Server

Mar 5, 2009

I'm trying to load a jpg from [URL]. I load if from my computer, it works.. load it online, doesn't. And it doesn't give me any errors or anything. The completeListener is not working! Is there a problem with flash loading from other domains or what?.. If I test it, it shows in Safari's activity that the jpg was loaded, but it won't display it.

[Code]....

View 7 Replies

Flash :: Loading / Unloading External SWF Using Buttons From Loaded External Files

Feb 23, 2011

I spent almost a week trying to figure out how to unload a currently loaded swf using its button and loading a new swf... I have three files, a main.fla, file1.fla and file2.fla. In my main.fla, I have a code which loads the other two files. If i will click the "unload" button in the file1.swf, I would like the main.fla to unload the file1.swf and load the other file, file2.swf. Here is the code to load the file1.swf:

[Code]....

View 1 Replies

ActionScript 2.0 :: Scroller Not Working With Loaded Xml Buttons

Sep 21, 2006

i attach some buttons according to the tutorial from kirupa to a "menu_mc" mc.everything goes well. the buttons do attach.. the text inside them is visible!i make a scroller (also from a tutorial from over here) that scrolls a "contentMain" mc.everything goes well.... it scrolls.when i put the menu_mc inside the contentMain...... the buttons do attach, the scroller works fine... but the text inside my buttons is not visible.

1. can you tell me what's the problem? why don't the texts show?

2. how can I call the "scrolling()" function from inside that contentMain mc ... without using _root ?

View 2 Replies

ActionScript 2.0 :: Buttons In External Swf Not Working

Jun 24, 2009

I have this weird problem. I'm using a main fla to address all my external swfs into a loader. This is the script:

[Code]...

It loads just fine, but for some reason when I click in every button inside the loaded movie it wont work. Nothing happens, even though the mouse cursor changes to button mode.

View 4 Replies

Actionscript 3 :: Dynamically Created Buttons Are Not Working Externally Loaded Swf Files?

Aug 4, 2010

i have a swf file which is a framework file done in puremvc and i m loading multiple swf files. one of the swf file loaded into the main swf file loads multiple sub swf files in it. works fine but in the loaded swf file which loads multiple swf files in it.. button dosent work at all. i m not able to click on any button. i m jst making a tree structure so can be easily understood..

container swf -> external swf -> miniSwf file and in miniSwf dynamic button are not clickable but they have all the Mouse eventListeners.

View 1 Replies

ActionScript 3.0 :: Scrollbar Not Working When Loaded Into External Swf?

Apr 13, 2010

I recently purchased a scrollbar from the exchange marketplace and it works beautifully within it's own swf but as soon as I load it into a second swf (the main "start movie") it doesn't work. When I click on it to scroll, the tracker sticks to my pointer (like a mouse follower) and won't release until I click on a button leading me into another movie. The scrollbar component came with an external caurina file which is where I think the issue is coming from. I think it's having trouble finding the associated code when inside the second movie.  I've tried all sorts of parent vs root scripts to try and get it to jump a level to recognize the source of the original code.

View 5 Replies

ActionScript 3.0 :: Banner Ad Not Working As External Loaded Swf

Feb 10, 2011

I built a banner ad which works fine when I test it in flash. I then put it inside another flash movie in which it is loaded as an external swf ,my portfolio, and it it loads and only runs the 1st line of code animation and I can see the text that is waiting (outside the visual dimensions of the banner) I am also getting this error....what is going on?

[Code]...

View 3 Replies

ActionScript 2.0 :: External Links Within A Loaded SWF Not Working?

Aug 18, 2009

I have my parent swf created with the external swfs loading properly.once they are loaded, the links within the externally loaded swf's are not working. Here is the code I am using:

on (release) {
//Movieclip GotoAndStop Behavior
this.gotoAndStop("first");
//End Behavior

[code]....

View 3 Replies

ActionScript 2.0 :: Controlling External Loaded SWF With Buttons

Nov 23, 2009

Can we control the external loaded swf with buttons created on another swf. Let me simplify this: I have one swf in which I have created one small timeline animation and the second swf has the buttons to play and stop the animation.

Now I load this 2 swf in my main file and want to control the animation through that buttons.

View 1 Replies

Buttons To Become Inactive When External Movie Loaded?

Apr 11, 2009

I am working on a portfolio website and I have all my navigation with buttons linking to other pages, on the base level. All the buttons are scattered around the stage and when one of these buttons is clicked an external movie is loaded in the centre of the page.

The movie is a big white box with a slideshow of images from my portfolio in the centre of the stage.

My problem is that the buttons on the base level are easily clicked by accident, even though you cant see them with the white box.[code]...

View 3 Replies

ActionScript 2.0 :: Button Stopped Working On Loaded External Swf?

Feb 17, 2011

the swf that I am loading has a button in it that when I click on it, it will print the screen and it will email it to an email address.Everything works perfectly fine if I use the application(swf) on its own.however, I created a swf file that will load the above swf file in it when a button is clicked. the loading part is fine and it works as it should be. but the button for printing the screen stops working once the swf has been loaded!

View 3 Replies

ActionScript 3.0 :: Loaded External MP3 Player, StartDrag Not Working

Oct 23, 2010

all of the other buttons on an external movie are workign but the volume slider is not...

when i load the external file (the mp3 player) it works fine.

Code:
/* volumeStartDragging(event:MouseEvent):void
* Returns a mathematical value that we can use to adjust the volume
* the value is the relation of the volume ball to the line

[Code].....

View 1 Replies

ActionScript 2.0 :: Loaded An External Movie And Its Buttons Don't Work

Feb 19, 2003

i loaded an external movie and its buttons dont work but when i test the movie by itself the butts work fine

View 3 Replies

ActionScript 3.0 :: Dynamically Loaded External SWF - Cannot Interact With Buttons

Jun 17, 2009

I'm currently having a little trouble in a project where I have the following occuring:
Code:
preloader.swf --- loads 2x --- homepage.swf --- can load --- products.swf

When the products.swf is loaded, the starting animation occurs as expected and is displayed on the screen without an issue. However, I can't interact with any of the buttons contained in the products.swf. The products page works like an overlay over the top, and the homepage.swf contains an background which can be clicked on to close the overlay. If you click on the products.swf it reacts as if the background was clicked, which it shouldnt as the products.swf is located on top of the background.

I have already checked the obvious parts, and am ensuring that products.swf is located at numChildren-1, so nothing is getting in the way. The catch is that everything was working fine when the code was internal to the fla, and now as soon as I moved the code to an external .as file nothing works. I am using the same way of loading the products.swf as I am loading the homepage.swf, which looks like:

Code:
var productsLoader:Loader = new Loader();
productsLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onProductsCompleteHandler);
productsLoader.load(new URLRequest("products.swf"));
onProductsCompleteHandler:
[Code] .....

View 1 Replies

ActionScript 3.0 :: Make Mouseover Scroll Buttons Attached To Textarea With External Loaded Text?

Mar 1, 2009

I want to make a dynamic textarea with loaded text from an external textfile, and then I want custom made arrow buttons to start scrolling the loaded text on mouseover (not click) andt stop scrolling on mouseout. Ala like in this webpage[url]...

The part with the loaded text is fine, but I can't manage to script the arrow buttons to do what I've just described. Even though I have searched the Internet for recipes I just find how to scroll loaded text on click or with a scrollbar

View 1 Replies

ActionScript 2.0 :: CS3 Buttons In Loaded Swfs Loading Other External Swfs Into The Main Timeline?

Sep 11, 2009

I have a main fla file which loads an external swf into an empty movieclip on the main timeline which works fine but I want a button in the external swf to load another external swf into another empty movie clip on the main timeline.eg. start.swf loads UKEIAMap.swf into (empty movie clip within start.swf) MapLoader_mc then a button havant_b within UKEIAMap.swf needs to load HavantProjectSheet.swf into (empty movie clip within start.swf) ProjectSheetLoader_mc without unloading UKEIAMap.swf

View 3 Replies

ActionScript 2.0 :: External MC Loaded On Stage - Can Press Buttons That Are On The Stage Through It

Sep 26, 2008

An external swf is loaded using this code...

[Code]...

The problem is that even though this external movie covers the whole stage, My mouse can still "see" buttons that are on the stage, and I can click them. I don't want to be able to click the buttons through my external movie.

View 2 Replies

ActionScript 3.0 :: Pan Buttons Are Not Working But Zoom And Reset Buttons Works

Aug 12, 2009

im working on a zoom/pan gallery and i have a problem that i can't solve.URL...the pan buttons are not working but the zoom and reset buttons works. im working on movie the image using the mouse now, if you will hold the image and move it it will drag it on stage.the image is a loader the loads and image and placed on screen.there is a mask on top of it and a frame that indicates the size of the gallery.when the user pan the image loader content i want it to stop as soon as it gets to the gallery frame,but i cant seem to find the best way to do it.so basicly when the image is in 100% i dont want the user to be able to drag it but after you zoom the user will be able to drag it but only to the edge of the frame so there wont be any white spaces.i tried a lot of different ways to do it but all of them are complicated and not working the way that i want them to work.

View 2 Replies

Contact Form Not Working?

Jun 15, 2009

I am really in trouble with flash forms and need help please. Ive been trying to get a contact form working for a few weeks but have had no luck.Below is the code I am putting in to the flash form and php file.(this is the code I have put for the send Button)
 
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {               stop();         } else {         loadVariablesNum("form.php", 0, "POST");         gotoAndStop(2);     }}

(this is the code I have put for the clear Button)

on (release) {    name = "";    subject="";    message="";    email="";}

(And this is the php file i created in dreamweaver and saved it as form.php)
 
$to = "your_email@email.com";   $msg = "$name
";   $msg .= "$message
";
mail($to, $subject, $msg, "Message From: Online client
Reply-To: $email
");
?>
 
I have uploaded the swf file and php file on the server but my form is still not working by sending the information to my email.

View 1 Replies

ActionScript 3.0 :: PHP Form Not Working?

Dec 5, 2009

My site [URL]

The contact form is not sending. And I'm trying to figure out why...

<?PHP
$to = "sven@peachypro.com";
$subject = "OEX Charters";
$e = $_POST['email_txt'];

[Code].....

View 0 Replies

IDE :: Email Form Not Working?

Jul 2, 2007

I have a movieclip called Inquire.fla.In this movieclip i have a form and a button.The form is made up of 4 text fields.... name, email, phone, and message. Each has been given variable names. I converted the 4 text fields to a movieclip, and gave it the instance name "form".I back out to the main scene, click on the form movie clip and give it the actionscript:

onClipEvent(data){
_root.nextFrame();
}

I also have a button that is on the main scene. It has been given the actionscript:

on(release) {
form.loadVariables("email.php", "POST");
}
I then created email.php using dreamweaver with the following code:

<?php
$sendTo = "adamjcormier@hotmail.com";
$subject = "My Flash site reply";[code]....

The movie Inquire.swf is an external movieclip that is loaded into my main Index.swf. I upload the Inquire.swf, Inquire.html and email.php onto the 1and1.com server. When i view my webpage and fill it out.... absolutely nothing happens.

View 6 Replies

IDE :: Php Mail Form Not Working.?

Feb 15, 2009

This php mail form is not working in the Yahoo Server though otherwise worked in other Server. I talked with one Yahoo Service Representative for my Server and they stated that everything is fine with the Server and that the only issue they can see is you coded the script in PHP 5 because Yahoo only supports version PHP version 4.

<?
$destination="trnghosh@gmail.com";
$subject = "Message From trnghosh";

[code].....

View 1 Replies

ActionScript 3.0 :: Buttons Stop Working After Pressing Other Buttons?

Sep 14, 2009

I have three buttons and when I click the second one, the first stops working (e.g. no trace event and it won't go back to the frame "tab1") but the third still works. Then when I press the third button both the first and second no longer work. If I take out the gotoAndStop lines, the buttons work fine. The subsequent frames simply have stops on them.
 
b1.addEventListener(MouseEvent.MOUSE_UP,b1Pressed);b2.addEventListener(MouseEvent.MOUSE_UP,b2Pressed);b3.addEventListener(MouseEvent.MOUSE_UP,b3Pressed);
function b1Pressed(event:MouseEvent){    trace("b1 pressed"); 

[Code]....

View 4 Replies

Make A Working Form Mailer?

Nov 22, 2002

have been trying to make a form mailer in flash.The form mailer for me is provided by [URL] it gives me the codes to send stuff from my web site to my email.This is the code that formbuddy has given me

<form action="http://www.formbuddy.com/cgi-bin/form.pl" method="post">
<input type="hidden" name="username" value="USERNAME">
<input type="hidden" name="reqd" value="1,2,3,4">
<input type="hidden" name="url" value="URL">

the USERNAME value is for me to add my formbuddy username after i have signed up with [URL] .Now my problem is that i dont know how to put the hidden fields in flash, especially the <input type="hidden" name="username" value="USERNAME">. So how do i do it? And yes, i have seen all the tutorials they have here about the form mailers. I also tryed to put the the hidden fields has variables in flash which again did'nt work....

View 7 Replies

Reset Button On Form Not Working?

Mar 20, 2009

I am working on a flash site that was done by someone else. I have never used actionscript before so I am sooo new at this. There is a reset button on the form so when people accidentally type in something, they can just click on the "reset" button and it clears all fields. The problem is that it's not clearing.This is what I have in the code for the button:

on (release) {
fullName = "";
address = "";
message = "";
}

The three (fullName, address and message) are the names of my variable when you select each input field. Where am I going wrong with this? Nothing happens when I click it.

View 2 Replies

CS3 Flash Form (calls Php) Not Working

Sep 10, 2010

For some reason my flash file is not calling a php file and sending out an email including the data entered in the flash file.

I've taken out other movie clips and graphics to make this easier on everyone.

Fla File: [URL]

PHP File (in txt format for read-ablity): [URL]

Note; As you can see I've used _root.movieclip, I've tried it with out _root and still no luck.

View 1 Replies







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