ActionScript 2.0 :: Go To A Contact Page When Click On One Of The Venue Names
Feb 26, 2005
im making a nightclub directory site in flash mx....and once the viewer searches on the search scene the results are listed from my mysql database using PHP, and the venue name is a hyperlink to another scene in flash that shows the rest of the information about the venue including movie clips and pictures too..also in the database. i got the 1st part but now im having trouble with the venue name , which is the hyperlink going to the contact scene in flash basically in a nut shell how can i do ex: [URL]
i got this part done now when u click on one of the venue names on this site it goes to a contact page....this is what i am trynna do...so all the info is coming from a database......and what do i change the urls of the listings in the database too... if u want i can email the flash scene to u....send email...
View 13 Replies
Similar Posts:
Feb 23, 2011
I am loading swfs into a movie clip. However, the contact button is not a loaded swf any longer. It's in the main flash page. This is what I want to do. All the buttons load the external swfs except when I click on the contact button that is in the main flash page. I need to get the other buttons to load after I click the contact flash button. Below is the code for the contact button and the one under for one of the other buttons.
[Code]....
View 3 Replies
Jul 14, 2006
I am currently trying to develop an application in Flash.Currently I am working on trying to contact a webservice to get a list of course names.I am getting the results but I cannot even parse them. In the schema for my Web Services Connector, it prepopulates to say that it expects the results to be ArrayOfAnyType.So I have this code in my on( result) call:
Code:
var x:Array = this.results;
var y:XML = x[0];
trace(y);[code]....
Now, when I try to go through that XML object and print values using this script:
Code:
var children:Array = y.childNodes;
for(i = 0; i < children.length; ++i)
{[code]....
From what I have gathered in the help menu, Flash has two types of XML nodes, a node, and a textNode.nodeValue will always be nukll for a node but on a text node it will return what you would expect and I don't know that I can convert between the two or force it one way or another.I don't have a clue why it is like that but apparently that is how it works.What can i do to get this data in?
Is there some way to get it to parse as an array? As far as we can tell, it should be going from the webservice as an Array, SOAP should convert to XML and then Flash should decode back to an array... it doesn't seem to be working that way though.
View 5 Replies
May 12, 2011
I have here a nice contact form. The only problem I got is that I would like to have the field names (name, e-mail, telephone), displayed inside the right field, (so when the user clicks inside, the text would disappear automatically) in stead of displaying the names next to the fields. My first tough was to write inside each field, in flash the field names, and it was ok for the first look. But the user needs to delete first the field names like "name" from the input box, in order to enter his own. How could I make these field names automatically dissapear when the user clicks inside a text box?
The code:
stop();send_btn.addEventListener(MouseEvent.CLICK, submit);
function submit(e:MouseEvent):void{var variables:URLVariables = new URLVariables();
variables.fromname = name_txt.text;
variables.fromtel = tel_txt.text;variables.fromemail = email_txt.text;
variables.frommessage = message_txt.text;
[Code] .....
View 3 Replies
Jan 26, 2009
i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,
function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....
View 0 Replies
Jan 25, 2011
I have a website completly done with flash How can I add google maps to my contact page using AS2?
View 6 Replies
Jan 9, 2010
I have a problem with my contact page,when I fill in the fileds,and click on SEND, the information is supposed to clear from the fields, and send to the specific email addressI am hosting with they support php, but for some reason they tried to say they cant do it for spam reasons??? I have given the read,write permissions
<?php
$sendTo = "degrees28@hotmail.co.uk";$subject = "Enquiry from Your Website";
$headers = "From: " . $_POST["name"] . "<" . $_POST["email"] .">
[code].....
View 17 Replies
Jan 18, 2010
I have a task to figure out why the contact page isn't working.is my site
PHP Code:
<?PHP
$to = "sven@peachypro.com";
$subject = "OEX Charters";[code]................
View 1 Replies
Nov 16, 2009
I have the script for my contact page but I have no idea where to put my e-mail so it send it to me and not some random place.[code]
View 1 Replies
Jul 29, 2010
1. on my contact page built with Flash CS5, I try to enter text into the boxes. Only the characters c,l,o,n,t will actually type. Nothing else enters. What did i do wrong? 2. I can't for the life of me, make a pretty flash link work to go to another URL. /facepalm
View 2 Replies
Oct 21, 2011
I have the following code on Home_mc which is working fine. But when I move from Home_mc to Contact_mc it should stop. How can I stop it? What is the code.
Code:
var mySwf2:SWFLoader = new SWFLoader("Clouds.swf", {width:1000, height:400, container:this, onComplete:completeHandler2});
mySwf2.content.mask = MaskCloud_mc
[Code].....
View 1 Replies
Sep 11, 2010
I created a movieclip animation that only activates when i rollover the movieclip button. I further extended the frames and created another frame animation that i active only when user clicks the button. So i have a roll over/out animation and click animation in the same movieclip in the same layer. Now the problem is that when i click on the button, its supposed to take me to another page, and it does, unfortunately without the click animation. That means after i click on the button its supposed to first finish the click animation and then go to another page. But when i click, it takes me to another page without showing the click animation
SO I tried the If function, but i seem to make a mistake somewhere and i dont know what to do. Now there is no error in script, but onw there is a problem in link, the button finishes the click animation but it does not go to the tarrgeted"about" frame. here's the code
[Code]...
View 1 Replies
Oct 23, 2009
I have a movie clip that loads in the main timeline, when i click on any of my buttons theres a quick flash of the main page. Im loading my movies on level 1 so i guess my question is, how do i get rid of the movie on the main time line?
View 2 Replies
Aug 15, 2011
Is there a way to get the names of variables from a flash game? I have been playing with my players health with the code;
javascript:document.embeds[0].SetVariable("_root.player.intHP", 0)
I am looking for a way to find out the rest of the variables, like damage and such.
View 1 Replies
Feb 24, 2011
How can I read the click tags names used by a flash file?
View 1 Replies
Sep 26, 2008
the source files work perfectly when I upload them to my server - but when I insert the form into my flash website - I am unable to receive the contact email at all. The problem must be with the flash file becuase I have not altered the php (except to send to my email)
I am using Flash CS3 (but publishing for action script2) I have double checked all my input field sare named correctly with var_names that match the php code. The form fields have been created as a moviclip named "form" and the following action script attached:
[Code]....
View 7 Replies
Jun 11, 2010
[URL] Above is a link to view the project I'm working on. Once the site loads if you go to the "Contact Us" page the content doesn't load correctly. I'm using an extrnal .xml and .css files for the content. I'm also embedding the fonts dynamicly. If I test the file locally on my computer is works fine the image loads as it's supposed to and content looks correct. However when I post the files to the server (which work exactly the same way) I get the white box when you can see from the link above. I'm at a complete loss as to how to to fix this.
View 3 Replies
Nov 6, 2010
I'm trying to edit a Flash file, that get it's data from and XML file.Now when you click on one of the menu items, the page + page title should change, but somehow the page title remains the same. (at least for the first 3 menu items) But when you go to the last menu item and then back to one of the first 3 menu items, the correct page title is shown.I'm no flash / AS expert, so I can't really find out what the problem is, but it seems like it has something to do with this function
Code:
_root.getCurrentText(thisText0, _parent.num);
View 4 Replies
Dec 6, 2006
If I "Right Mouse Click" on a Flash SWF file embedded in a page and click "Print" it prints just the flash, in perfect colour etc etc..How can I achieve this exact operation, but as a button in Flash? So it prints just as if I did the above operation.
As an extra, if you know how - Is there any way I can default the page to print out "Landscape" too ?
View 3 Replies
Aug 26, 2010
We've got an Illustrator file with something over 1,000 layers. We're trying to import this into Flash and keep the layer names intact, such that they become the names of the movie clips that are imported for each layer and can be used programmatically. (It is a diagram and arrows, boxes, etc all have callout names that will eventually allow them to link to a database.)As near as I can tell, the Import dialog will NOT pass this info across between the two parts of the dialog.
View 1 Replies
Jan 7, 2009
[URL]
it's like panning. But only when you click on something in the menu..
View 8 Replies
Jan 13, 2011
I have a text object, which I've converted to a symbol (specifically a button, as intuition tells me this is what I would want).
Anyway, I want to make it so that when the user clicks on the button, it redirects them to a page on my website.
Now, I understand that I should be using navigateToURL(new URLRequest("sitegoeshere"));
but I can't figure out how to make it conditional so that it DOESNT execute that code until the user clicks on the object in the frame that the code is attached to.
One other problem as well is that as it is, when it gets to the recirect code, I get a popup saying that flash has stopped a potentially unsafe operation. How do I make it so that it doesn't simply deny the running of that code?
View 3 Replies
Mar 20, 2011
I started a thread about a reference to a symbol House, in the output window, which was: House_1. A lot of people said some useful things about that. All day I've been thinking about it, and I came to the conclusion that I don't understand things, at a very basic level.
Consider:I make a movieclip which I give the Symbol name Drawer. (I don't export it for AcitonScript.)On the stage I manually place two instances of this Symbol. The first one I give the Instance Name drawer (in the properties panel). The second one I leave nameless.Now if I trace the names of both these clips, by
trace(this.getChildAt(0).name);
trace(this.getChildAt(1).name);
the output window gives me
drawer
instance2
Now I know that the so-called "instance name" which I gave in the Properties Panel (drawer) is, in reality, a variable name which Flash gives my first instance behind the scenes. And instance2 is a name that Flash gives my second instance. What exactly the nature of that name is, I do not know.My point is: both names (drawer and instance2) are the .name property of these movieclips. Otherwise I could not have traced them through asking for the .name property, in the above. Yet only the first of these two can be manipulated:
drawer.x can be set;
instance2.x can (as we know) not be set.
But...why? What is the real difference between these two kinds of names? How can they both be the .name property of their underlying movieclip, yet be of such a different nature? What IS the nature of the instance2 name? If it's a String, how come the .name property of one movieclip can be a variable name, while the .name property of another (but identical) movieclip is a String?
I've searched every bit of web page on the net I could find. But it looks as if nobody addresses this issue. We all just work with it - but it makes no bloody sense. A name property = a name property, you'd think. Whether Flash set it or I set it should not make a difference. The x property of a clip, for example, does not change in nature according to who set it - me or Flash.So, again, just to emphasize the problem: how can a property (the name property) of a movieclip change in NATURE depending on who set it? After it's been set, shouldn't the name property of a clip be of exactly the same nature as the name property of another clip?
View 8 Replies
Aug 2, 2009
My dillema is that on my site when you load a video on one page then click on another page the audio keeps playing. I've had a look around other topics but nothing seems to work for me. I've put in things like videosname.stop() with no success.
View 25 Replies
May 12, 2010
The main problem is the page needs to be pushed down when the ad is opened, there needs to be a a code that will push the page down, not cover it up...
View 1 Replies
Sep 27, 2011
i am trying to create an Faq page using xml.. and actionscript 2.0. the question and answers are laid out in a tree stucture form.on clicking a question answer appears below it when you click again it disappears..how should i go about it..i have very litlle knowledge in xml parsing..
View 1 Replies
Feb 11, 2009
i am trying to make a new website where i want to add the map of the earth.My problem is that i want to make each country on the map, a different link. so for example if someone will click USA on the map, he will be redirected to a different page, relevant to USA.
View 3 Replies
May 17, 2010
I want to create 2 separate SWF's placed in specific locations on an HTML page. When you click on the one SWF it targets the other SWF to animate. [URL]
View 1 Replies
Aug 23, 2002
How would I create an effect so that when a user clicks a button, the page scrolls off the screen while a new one comes in? Would I create the page at like its width+the page width? would i have to create a whole different page for difference screen resolutions? (because my page takes up the whole width of the screen using the chromeless window script).
View 8 Replies
Dec 22, 2011
I'm aware of the .click() method but the click must be on a prezi loaded (flash) so don't really have a html element to use.
What I have instead are the exactly coordinates of the place I want to simulate click on. Is there any way I can do that?
The click must activate a flash element. (A play button)
Note: There is a similar question around that have an answer witch require swf control. I don't have that so that method is not applicable.
One other quick question... what happens if I simulate a click on an element that has display: none. It click on the elements "under" it? (as a normal click would do; and yes I know this sounds funny but I don't know how to explain it otherwise). If yes I was thinking of making a position absolute div, put it on top of flash and use .click(). The problem is that i have a feeling that the click won't be applied on flash.
This is somehow a combination of javascript simulate mouse click on specific position and mouse click somewhere else on page (not on a specific div).
View 1 Replies