ActionScript 2.0 :: ASFunction And IP Addresses

Oct 20, 2003

How would I use ASFunction with dynamic texts? Can someone gimme a example (code not .fla)...How would I display the IP address of a person with flash?Complicated:A person views my signature. It shows the IP Address of a person along with a input box for their name. They type in their name. How would I make it so that, after a name is typed in and a button is pressed, both the name and the IP address are sent to a file? Only I can view the file. Well, the file could be called list.php or list.txt...and then I can CHMOD it so others can't view it...

View 4 Replies


Similar Posts:


ActionScript 2.0 :: Use ASFunction With Dynamic Texts And IP Addresses?

Oct 20, 2003

How would I use ASFunction with dynamic texts? Can someone gimme a example (code not .fla)...How would I display the IP address of a person with flash?Complicated: A person views my signature. It shows the IP Address of a person along with a input box for their name. They type in their name. How would I make it so that, after a name is typed in and a button is pressed, both the name and the IP address are sent to a file? Only I can view the file. Well, the file could be called list.php or list.txt...and then I can CHMOD it so others can't view it...

View 4 Replies

Professional :: Getting All IP Addresses From PC

May 11, 2011

In my project, I need to get all IP adresses from my PC. I find out, that if I have more than one LAN it is quite problem. I use ZINC to get IP adress from my PC:
var ipAddress:String = mdm.Network.IPAddress;
but this get me only one IP and no all of them.

View 1 Replies

ActionScript 1/2 :: URL Decode Street Addresses From PHP

May 6, 2009

I had a php programmer write me a script to download information from a local real estate board, and it works great, but we had to have it download to an xml file using urlencode in php (there were characters in the listings that caused problems - ie. > < & "). Anyways, now I'm parsing the information in flash, and still left with a few "+" signs between street names (ie. Bear+Mountain Road).

I tried adding:
var loadVars:LoadVars = new LoadVars();loadVars.decode(i.attributes.street);trace(i.attributes.street);
In my actionscript, but I still end up with "Bear+Mountain Road."

I guess either the "decode" function doesn't work to remove "+" signs, or I'm using the wrong thing. Right now it seems to be ONLY "+" signs, so even if there is a way to search the attribute and remove them that would be great!

View 1 Replies

Actionscript :: Use Dictionary And Store Addresses As A Key?

Aug 5, 2011

Right now I am using ArrayCollection. But I want to change that to Set as I want make sure do duplicate values come.

var addressList:ArrayCollection = new ArrayCollection();

One way is I can use Dictionary and store addresses as a key. And I can just use keys to iterate. But I am looking for Java HashSet like implementation.

View 2 Replies

Media Server :: Limit IP Addresses That FMS Uses So That IIS Works?

Apr 11, 2012

I have managed to install the trial version of FMS - developer 4.5 using the defaults including Apache, and it works reasonably well. However it has used-up all the available IP addresses so that IIS does not now work. I need IIS and FMS to reside together on the same server, as IIS provides document download and upload for our web-site on a different server. I have tried changing the FMS.ini file to limit the IP and Ports used, but to little use. My server is Win2k8 R2, and IIS V7.5 + V7.0 for FTP; all 64bit.

View 6 Replies

Actionscript 3 :: Send Multiple Addresses To URLRequest?

May 17, 2011

I'm using the weather.com XML service to retrieve forecast data. I created an instance of UrlLoader and passed the entire HTTP address including credentials, location and other parameters to it. This works very well in tandem with the XML(urlLoader.data) functionality in that I get the result for the specified location ID. I then use E4X to trace just the nodes needed.

The tricky part is that I have to do this for 19 additional cities. I've done the initial work in the Main class, Main function, private function onXmlLoaded. I tried creating a new public function getCityName making the new URLRequest, tracing XML and adding values to my components. However, when I attempt this, I receive

Error 5006: An ActionScript file cannot have more than one externally visible definition.

How can I easily setup the URLRequest to request data for all 20 cities, and parse the results thereafter? Do I pass an array of location IDs to URLRequest, because that's the only part of the HTTP request that's different. Do I create separate ActionScript files with their own class and functions for each of the 20 queries?[code]...

View 2 Replies

ActionScript 2.0 :: Associating Email Addresses With Different Selections?

Aug 2, 2007

I have a comboBox that I need to associate different email addresses with the different selections (the "selections" are the labels of the comboBox - not the data... the data fields for the comboBox are blank). right now, as written it returns "email2" no matter which I pick.

Code:
if (comboBoxName.getValue() == (("selection1") || ("selection2") || ("selection3") || ("selection4") || ("selection5") || ("selection6") || ("selection7") || ("selection8"))) {
var comboSelectionEmail = "email1";
} else {
var comboSelectionEmail = "email2";
}
Also, is there an easier way to do this than by using the if statement?

View 14 Replies

ActionScript 3.0 :: Add The Event Target Name To String Addresses

Aug 4, 2009

I am trying to add the event target name to the string addresses. The MC I am trying to target is called 'scotlandAddresses'. I tried the code below.[code]

View 2 Replies

ActionScript 2.0 :: Capable Of Logging IP Addresses And Domain Names?

Jul 17, 2003

Is flash capable of logging IP addresses and domain names?? If so how do u do it.I know Java can so i asumed flash could too..

View 2 Replies

ActionScript 1/2 :: Can't Use Image As Link Using Asfunction?

Jul 25, 2009

I have a pretty large which was coded using AS2 in about 2006 so I'm trying to make a few changes using AS2 which I'm pretty rusty on.  I have a swf which loads an xml file into a textarea in flash and it all works well.  I have to link some images which appear in the xml file but those images have to be links to external sites and that is where I am running into problems with my asfunction.  Here is the code.

[Code]...

View 14 Replies

ActionScript 2.0 :: Text And Image With Asfunction?

Feb 20, 2005

I am trying to load text and image through a external .txt-file using the asfunction. So far I have managed to load the text but not the image. (The image is baseline so it should work).

View 1 Replies

Flex :: Recognize Email Addresses As Object In A Text Field?

Aug 3, 2010

way to convert an email address once entered in a textfield as an object like shown in this image on MS office outlook ;

the point is that now in outlook as my cursor is positioned just after "user2@gmail.com" if I click backspace I will delete the entire email address, as if it was one object and not simple text entered.

View 1 Replies

ActionScript 2.0 :: Asfunction Parent Doesn't Work

Sep 29, 2009

[Code].....

Clicking on the html tag with asfunction doesn't work this way. I have to move the function part inside the myTextcontent.myMenu timeline to make it work. Instead of moving the function inside the movieclip which asfunction is targetting I would like to keep it all together. Is this possible? Perhaps some way to add a '_parent' code to ik looks for the function in the same layer as the asfunction line? Or some html back slashing so it moves up the 'tree' so it finds the function in the same timeline?

View 1 Replies

ActionScript 1/2 :: Contact To Appear As Bold Text Within ASFunction

Sep 10, 2010

<a href='asfunction:loadText,"+msgA[0]+",,"+msgA[0]+newline+msgA[1]+newl ine+msgA[2]+'Contact: '+msgA[3]+"'>"+msgA[0]+
How do I make "Contact" appear as Bold text?

View 11 Replies

ActionScript 2.0 :: Asfunction Breaking The Scroll Buttons?

Jun 15, 2005

when my asfunctions are called from text loaded in from xml, it stops my up and down scroll buttons working properly (when you click on the scroll button and then release it, you have to move the cursor by at least 1 pixel before the button will work again).

View 1 Replies

ActionScript 2.0 :: Rollover TextField - NOT Button - Using Asfunction?

Mar 19, 2005

I got this:

Code:
X25 = "<a href="asfunction:myClick">Show Box</a>";
box._visible=false;
function myClick() {
box._visible=true;
}

Where X25 is the name of a dynamic text field variable (not instance name).

What I really need is for a rollOver action - you need to physically click the text box for it to work and I need that for another action

View 4 Replies

ActionScript 2.0 :: Image Click From XML Content To Hit Function Using Asfunction?

Sep 14, 2010

I have had a look at this link:And this is exactly what I need to be able to click on an image wrapped in an <a> tag which comes from my XML content.I have added my image, added the <a> tag to the image and when I fire it up in AS2 and mouse over the image, the mouse cursor changes to the hand as is meant to.I've added my function, which when clicked on, should call a trace to check that it's working and it's not happening and no doubt it has something to do with the path of where my function sits. I have moved this around now to several places without any joy.If I test this on the root, in a simple scenario, it works. My page however sits on the 6th frame of the root timeline and this is where I believe things are going wrong.

View 6 Replies

Actionscript 2.0 :: Asfunction Doenst Work With Dynamic String

Sep 22, 2009

I want the to use the 'edit_pizza' or the 'add_pizza' function whether i am editing or add a new order. So i am checking if "aktOrder" is set (or filled because it is an array) and setting 'clickFunction' the name of the function.Afterwards i put that in the string which will be added to "windowText.htmlText" at the end. By tracing 'clickFunction' i see that it is 'add_pizza' which is right. But in the string it doesn't work.

View 5 Replies

ActionScript 2.0 :: Where To Reference _root To Load A Swf Into An Empty Mc Using An Asfunction

Mar 21, 2006

I just need to know where to reference _root to load a swf into an empty mc using an asfunction. Canadian out with this previous question, and the trace seems to be working, however my clips aren't loading. There needs to be a reference to root somewhere right? Everywhere I try to add it yields the same lack of result. Here's Canadian's code:

[Code]...

View 1 Replies

ActionScript 2.0 :: HREF In External Text File With ASFUNCTION

Jun 22, 2006

I am a little confused with the ASFUNCTION. I understand how to use it to call a function from within the swf, but how can I embed a link in the external text file? Is this even with ASFUNCTION? When I use an <A HREF etc it doesn't work. I have searched all over the forums and can't find the answer to this really simple question. Also, one other thing. Is there a good character map somewhere for UTF-8 encodings? For example, I can't seem to get Trademark and bullet points to work.

View 9 Replies

ActionScript 2.0 :: Back Button Not Responding After Asfunction Called From XML?

Dec 31, 2006

The back button in my flash project becomes unresponsive untill I move the mousecursor only a pixel in any direction. Strangely enough it works fine for links that are in the flash file like the navigation buttons on the left side, but becomes unresponsive as soon as I call an asfunction from within the XML file.Its quite complicated to explain. Maybe its just best that I show the flash file and let you see for yourself.

[code]...

This is what you need to do in order to reproduce the problem.Open the swf named "hometestback.swf "in the swf folder.Click on "sitemap" button at the top (the XML data page is loaded into the textpane) Click in the textpane on the "partner benefits" link (its the first link under "company title") The new XML data is loaded. Now hit the back button (the little arrow next to the company ::partner benefits title) And the page will go back to the previous "sitemap" page. However If I click on the backbutton again without moving the mouse nothing happens. (it should move back to the first page)Well you can see the overstate of the button but the button functionality is never started.

In the debugger I can't reproduce the problem, but when playing the movie as a test its still there.I tried making different buttons. So they would load a different instance of the button and the swf would be forced to load a new button on every page it landed.I tried onPress, onMouseDown, onRelease none of it works.I tried creating movieclips with the functionality of a button.I tried mouse event listeners. So the back button would at least detect a new mouseclick.I even tried starting from scratch and recreated the entire site all over again.However no click of the mouse seems to be noticed by the flash player untill I've moved the mousecursor just a little bit.

From within the XML the only thing I call is a function inside the swf.The back button works by inserting the last page the user was on into an array and when pressed the back button moves back to the last page (framelabel) in the array.

View 8 Replies

ActionScript 2.0 :: Make A Button To Load An Input Text Field For Email Addresses?

Jun 29, 2009

I'm trying to make a button to load an input text field for email addresses. I've been trying lots of different approaches but nothing seems to be working.Code:Quote:

on (release) {loadVariablesNum("subscription.php",0,"POST");
gotoAndStop("thanks");
}

I just need the button to communicate with the PHP code I have setup.

View 0 Replies

ActionScript 2.0 :: Asfunction - Include A Link To Display A .txt File In Place Of The First One

Jul 3, 2004

i'm loading an external .txt file into a text field and displaying it as html, works fine... but i when i include a link to display a *second* .txt file in place of the first one, it only works if i click on the link twice. i'm using 'asfunction' in the html link in the txt file. someone suggested replacing 'loadVariablesNum' in the root script with 'loadVars.sendAndLoad', but something isn't right

View 4 Replies

ActionScript 2.0 :: Load Text And Image Through A External .txt-file Using The Asfunction?

Feb 20, 2005

I am trying to load text and image through a external .txt-file using the asfunction. So far I have managed to load the text but not the image.(The image is baseline so it should work).

View 1 Replies

ActionScript 2.0 :: Dynamic Text+links - Asfunction - Accede To A Specific Label Of An External Swf?

Oct 13, 2004

I am doing a dynamical menu they are scroll, with links, I am using asfunction. If I call an external swf:

[Code]....

But, How I do to accede to a specific label of an external swf?? I want that it loads the animation and begin to it turns from the label that I indicate.

View 2 Replies

ActionScript 2.0 :: Send Email To Several Email Addresses By Clicking Submit Button One Time?

Jul 16, 2010

How can I send email to several email addresses by clicking the submit button one time. I am using Flash AS-2 .Shall be glad for any reference.

View 6 Replies

ActionScript 2.0 :: Scripting HTML "asfunction" ?

Oct 5, 2005

I'm trying to use this generic function in an HTML-enabled dynamically loaded text box (.txt file):

Code:
<a href="asfunction:my_mc.loadMovie,file.swf">Load Movie!</a>
....to load a new .swf ("artist.swf") into this mc: "_root.content"

I used the kirupa tutorial to create a flash movie with transitions. So i have a transition mc and here's an example of the actionscript that I've been using on each navigation button (this example is on the button that leads to the releases section).

Code:
releasesbutton.onRelease = function() {
if (_root.section != "releases.swf") {
_root.section = "releases.swf";[code].....

View 8 Replies







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