ActionScript 2.0 :: Detecting Region According To IP Address

Feb 6, 2006

I have a swf that has a world map divided into 3 regions...ASIA, AMERICAS, EUROPE... I need the appropriate region highlighted according to the users IP. I can use ASP file to detect the IP.
1.My problem is to get the IP from the AS Page to SWF File. &
2.Determine which region does this ID belongs too..

View 5 Replies


Similar Posts:


ActionScript 2.0 :: Detecting IP-address?

May 13, 2003

How do i detect the IP address of the one that's visiting my web-site? Is there a way?

View 14 Replies

Get Logo To Appear Next To The Address When Website Address Is Typed In

Jul 14, 2009

how to get your logo to appear next to the address of your web site when your website address is typed in,
for example if you look at the website address at the top of the screen you see (logo) [URL]

View 1 Replies

Hide Mouse Only In A Certain Region Of File?

Apr 18, 2010

I really enjoy flashing (I just do it for fun) but I'm very slow (read:dumb) when it comes to scripting.

Currently I want to create a site where in a region (the green textblock) your cursor disappears, gets replaced by an ecliptic mask and instead of the normal textblock, you see another textblock (red in the picture above) with hopefully hilarious changes to the original text with said mask when I'm done. When you move outside of the textblock(picture, whatever) to hit the link at the end of the page, your mousecursor reverts to the one you always have and is not hidden and replaced by the mask anymore.

I got the two textblocks done, it works fine. But for the life of me i don't know how to code that the mouse cursor is ONLY hidden in the region where the text is and not everywhere.

My script looks like this so far:

_root.maskee.setMask(_root.glass.masker);startDrag (glass, true);
Mouse.hide();

View 4 Replies

Actionscript 3 :: Is There An Equivalent To C#'s #region Directive

Apr 11, 2010

Just started coding in AS3 with FlashDevelop and coming from a C# background, I would like to know if there's something equivalent to the #region directive in AS3? The #region directive in C# essentially allows an IDE e.g Visual Studio to collapse or expand a section of code to improve readability. With #region directives, you can split codes in sections e.g constructors, properties, public/private methods to aid others perusing your code.

[Code]...

View 1 Replies

ActionScript 2.0 :: Can't Seem To Define A Certain Region For The ClickTAG

Feb 12, 2010

I'm designing a Flash Ad that requires a specific clickTAG.

ActionScript Code:
//
this.onMouseDown = function() {
var fo:LoadVars = new LoadVars();
fo.send(_root.clickTAG, "_top", "POST");
}

I want to implement user initiated sound, but I can't seem to define a certain region for the clickTAG. Also I'm using AS 2.0 I know the clickTAG won't take me to the proper location, but I uploaded it to my website to test the audio.[URL]I've attached 3 images or you can just go to my website and see it (click the link above).I tried placing an invisible movie clip over the location I want the clickTAG to work and attached the ActionScript to the mc.When I scroll over the audio button it changes, but when I click it, instead of playing the audio it just tries to go to the URL.I also tried using a button, but that didn't work either.

View 0 Replies

ActionScript 3.0 :: Specify Rectangular Region Zoom Into Video

Jul 3, 2009

If it's possible to zoom into a video? For example specify a rectangular region in the video and zoom in.

View 1 Replies

ActionScript 3.0 :: Flash - Invisible Hover Region?

Aug 17, 2010

I need an event to fire when the mouse enters a certain area. There will be two of these areas on each side of an image that will be changing every couple of seconds (so both hover regions will be changing with it). (They will make a button appear to advance or go back an image.)I'm sure there are a few ways to do it, but what is the best way to get this to happen?I could try a mouse listener for the whole thing and test if it's within the coordinates but that seems gross...

View 4 Replies

ActionScript 3.0 :: Hide Intersecting Region Of MovieClip

Oct 27, 2011

So I've been working on a Character class for platformer/ generic side-view style games. The problem is that i might need bits of characters to appear to go through other characters (i.e. char 1 grabs char 2 and runs char 2 through with weapon) the problem with this is that the characters' parts are contained in movieclips to run code on them holding them together and keeping me from having to position them just perfectly every frame in the IDE. it seems I have four choices:

1) Completely reprogram the display list -not practical

2) just hide the area of the movieclip that is intersecting with the other character

3) break apart the characters and merge them into an "interaction manager" movieclip

4) just give up.

I don't have the skills for option 1. Option 3 is ok i guess, but i'd rather try option 2 first. My biggest problem is that i have no idea how i would go about selecting just the intersecting part of the movieclip without reprogramming some part of the display list. If anyone can understand this, please give me something to point me in a direction.

View 1 Replies

ActionScript 1/2 :: Check If Email Address Is A Legitimate Email Address?

Nov 20, 2009

How do I check if email address is a legitimate email address? Is there any possibility in that?

View 7 Replies

ActionScript 2.0 :: Capture A Region Of The Image With A Mouse Click?

Feb 7, 2012

i have an image, on that image is a box moving with the mouse, i need to pretty much capture a region of the image with a mouse click - kinda like a snapshot.

View 9 Replies

ActionScript 3.0 :: Find A Qualified Flash Developer In My Region?

Apr 14, 2009

My organization is looking for someone with heavy Flash/AS experience for an upcoming project. How do I go about finding people with the right qualifications?

View 2 Replies

ActionScript 2.0 :: Loading Html Window Into Movieclip Region?

Sep 17, 2009

if it is possible to load basic html web pages (like text) into a movie clip, or at least use actionscript to set the bounding box of the new window to have the same border region as the original movie clip (such as 600x400 pix at x+100, y+150, for example).

Alternatively, is there a method in which I could load several large scale text files into a region of a movie clip, without having to create endless .as files filled with thousands of

+ "
" +blah+" "+blah+" "+blah+" "+blah+" "+blah+" "+blah+" "+ "
" +...

View 2 Replies

ActionScript 3.0 :: GetColorBoundsRect That Can Only Search In Specific Region Of The Specified Location

Jul 30, 2011

Well, I am working on motion detection in AS3.

I already understand how it works, now in this swf what happen is there are filters added to the video(output) to make the motions color white. I will put the files here.

The swf is inside the bin folder. (this is made by soulwire) Here is his site/blog

[URL]

I am trying to mod it to improve it. Well you can study code if you want to

But what I want to do with getColorBoundsRect is:

- Having only one source to detect the color "WHITE". But having multiple "getColorBoundsRect" detecting white on that ONE source but on DIFFERENT regions.

Lets say this M1(colorboundsrect) will only detect the first part of the source) and M2 will be detecting on another region of SAME source.


1 source, but multiple getColorBoundsRect on different regions of that 1 source

View 0 Replies

Actionscript 2.0 :: Letting The User Capture A Region Within The Stage?

Mar 2, 2009

what I'm trying to do is allow the user to pick a section of the stage, click, and have the region defined be copied and show up on the other side of the stage. It may be better explained to think of it like a camera game. The player has cross hairs, can move the square (which tracks the mouse) around the stage, and click to capture that square's pixel information, store it to a new movieclip and display it on another area of the stage.

I've found many resources online about capturing BitmapData, including capturing from embedded FLV videos, but I haven't seem to be able to find anyone who has created something like this which captures from a moving region. However, I have seen it done before in a game that is no longer online from PBSkids.org.

Here is what I have so far. Right now, when I click the movieclip loads all white pixel data and I'm not sure why.

[flash=]import flash.display.BitmapData;
import flash.geom.Rectangle;
import flash.geom.Point;
stop();

[Code].....

View 1 Replies

ActionScript 3.0 :: Memory - Use Copypixel To Copy A Region From This Tile Map

Oct 25, 2009

I am going to start using copypixel and I wonder if I am understanding the concept well. I am having doubts about memory use. This is my question: If I have an external image (tile map) I loaded , each time I use copypixel to copy a region from this tile map, I am using additional memory or only the map is located in memory? In my application I need to copy a bitmap region from a tile map to a variable (var 1) and then copy another region from this var 1 to a second one (var 2). My concern is to increase the use of memory.

View 5 Replies

ActionScript 3.0 :: Horizontal Auto-scroll Text W/ Region Detection?

Jul 20, 2010

to make a single-line text box auto-scroll a text string horizontally with a way to detect new words on the x-axis.I'm trying to make a rhythm practice game for ESL students at my college, but I'm a linguistics major, not a programmer.I want something that is similar to the vocal part in Rock Band (minus the pitch, for now)So for a simplified, proof-of-concept version I just need it to detect when a new word has collided with a defined region of say "100 < x < 50".I know how to implement the microphone using activityLevel to detect when the user is speaking into the mic, but just not how to use activityLevel alongside the region detect of the new word in the text box.

View 4 Replies

Professional :: Mouse Cursor Becomes Vertical Bar Outside Of Dynamic Text Region?

Sep 21, 2010

Coworker is developing a Flash project and has a small dynamic text field inside a movieclip.  Imagine the text field being 200 pixels wide by 50 high, and sitting at the top of the canvas.  As she moves her mouse around the LOWER part of the canvas, directly 'under' the text field, her cursor changes from the standard arrow, to the vertical bar (that is used for text selection).  This is inexplicable and odd and is also interfering with her ability to do other things in the project.  Has anyone seen this behavior?  She has turned off 'Selectable' for the text field but that doesn't help things. 

View 1 Replies

Flex :: Determine If A Series Of Points (or Polygon) Is Within A Rectangular Region?

May 20, 2011

I have been looking at posts about determining if a point lies within a polygon or not and the answers are either too vague, abstract, or complex for me. So I am going to try to ask my question specific to what I need to do.I have a set of points that describe a non-straight line (sometimes a closed polygon). I have a rectangular "view" region. I need to determine as efficiently as possible whether any of the line segments (or polygon borders) pass through the view region.

I can't simply test each point to see if it lies within the view region. It is possible for a segment to pass through the region without any point actually inside the region (ie the line is drawn across the region).Here is an example of what I want to determine (red means the function should return true for the set of points, blue means it should return false, example uses straight lines and rectangles because I am not an artist).

Another condition I want to be able to account for (though the method/function may be a separate one), is to determine not just whether a polygon's border passes through the rectangular region, but whether the region is entirely encompassed by the polygon. The nuance here is that in the situation first described above, if I am only concerned with drawing borders, the method should return false. But in the situation described here, if I need to fill the polygon region then I need the function to return true. I currently do not need to worry about testing "donut" shaped polygons

Here is an example illustrating the nuance (the red rectangle does not have a single vertex or border segment passing through the on-screen region, but it should still be considered on-screen):For the "does any line segment or polygon border pass through or lie on screen?" problem I know I can come up with a solution (albeit perhaps not an efficient one). Even though it is more verbose, the conditions are clear to me. But the second "is polygon region on screen?"PS I have a function for determining line intersection, but it seems like overkill to use it to compare each segment to each side of the on-screen region because the on-screen region is ALWAYS a plain [0, 0, width, height] rectangle.

View 2 Replies

ActionScript 2.0 :: Movie Clip - The Preloader Reaches The Leftover Region

Nov 12, 2005

i just wrote a radial preloader. i have a problem though: there seems to be some "residue". it is for a small gallery.. so when i test the loader using the bandwidth simulation, the first time it look perfect, but the second time, i can see part of the preloader from the first frame, and as soon as the preloader reaches the leftover region, that region is cleared.

View 1 Replies

ActionScript 3.0 :: Show MouseOver Effect On Dropable Region While Dragging A MovieClip?

Jun 4, 2009

I am creating Drag and drop flash application. While dragging an instance of a movieclip I want also the dropable region to show effect like MouseOver case. So that end user can confirm that they are dropping the item in right region. Here the mouse is moved while it is kept clicked .

View 8 Replies

FLASH :: Http Headers - Cannot See Component On The Page Instead There's A Blank White Region

Jul 4, 2011

from time to time I get feedback from my web portal customers that they cannot see Flash component on the page - instead there's a blank white region. When it happens I instruct them to clear browser cache, and it solves the issue. Is there any way to handle this differently, using HTTP headers etc.

View 1 Replies

Actionscript 3.0 :: Export A Region Of SWF Movie To PDF (image) When The User Hits A Button?

Feb 7, 2009

I want to export a region of my SWF movie to PDF (image) when the user hits a button. How do I do that?

View 2 Replies

Professional :: Get The Address Of The Pic?

Apr 22, 2010

I got a problem,how can i get the addressof my pic?? 

imgLoader.load(new URLRequest("abc.jpg"));
 
for example, address fo "abc.jpg" is D:work_folderabc.jpg

how can I trace this information??

View 7 Replies

ActionScript 2.0 :: Get URL From Address Bar?

Jul 9, 2006

How can I have actionscript read the URL that is in the address bar?

I have an if statement that needs to compare the url in browser to a variable.

Code:
if(!pagesURL! == aLink) {
this.onpagebg._visible = true;
} else {
this.onpagebg._visible = false;
}

View 10 Replies

ActionScript 3.0 :: Ping An IP Address?

Nov 5, 2008

I would like to use a flash interface to display a list of 10. IP Address's and have a constant Ping on them, thenbe able to print out a report. The interface I can handel, is there a way to have Flash (Via PHP or XML) ping an IP address?

View 7 Replies

ActionScript 3.0 :: How To Get Ip Address Of Client

Jan 24, 2011

I want to get ip address of client (Browser) on which flash player is playing.
 
so how can i get ip address of client in as3, without any server side interaction ?

View 8 Replies

ActionScript 3.0 :: IP Address In The Banner?

May 11, 2011

I was asked to create a banner in flash.how do I include the 'location' name or the user's IP address in the banner?

View 1 Replies

Flex :: Get Website's IP Address Using AIR App?

Jan 12, 2011

How do I get the IP address of a certain website using Flex 4 via an AIR application? I know that this is do-able using ping but how can I replicate the same only this time, using AS3 in Flex 4 and as an AIR application.

View 1 Replies

Flex :: Get IP Address Of An AIR 1.0 Application?

May 25, 2011

I need to find the IP Address of the system my AIR App is running. I found a similar question here. But the solution is with SDK version higher than 3.5 it seems. Can this be done using Flex 3?

View 3 Replies







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