ActionScript 2.0 :: Force Visitors To Leave Their E-mail?
Sep 29, 2006
I have this website with a photogallery and I'd want it to force every visitor to leave their e-mail addresses before they get access to the photos and other content. Just like a simple login function but all these e-mail addresses should be remembered by some PHP script, so I could use them to send news and other important information about this website. Pretty much like a news letter function. The e-mails could then be logged into a simple .txt document or something.
View 11 Replies
Similar Posts:
Jan 23, 2004
I made this small shop that uses Flash to collect data from the user (and what they want to buy) and PHP to mail the data in a confirmation e-mail. it's not working
View 1 Replies
Aug 12, 2009
Here is what I am currently using to link to my asp page so as to not log my visitors out wen clicking on a Jpeg image.[code]Here is the getURL actionscript I am currently using in my new swf but it logs visitors out.URL...How can I get to the page I want without fear of logging visitors out?
View 0 Replies
Jul 30, 2010
Can I make a user control system for my website based of visitor's computer's MAC addresses?Is it possible to get MAC address of visitors of my site in FLASH?
View 2 Replies
Dec 27, 2010
I was making visitor counter using as3 and xml. I wrote this ActionScript Code:
var a:Number;
var url:URLRequest=new URLRequest("num.xml");
var loader:URLLoader=new URLLoader(url);
loader.addEventListener(Event.COMPLETE, loadxml);
function loadxml(e:Event):void {
[Code] .....
But it didn't work -- every time I see the text you r visitor number 2. I tried it at server
View 5 Replies
Apr 10, 2009
how to go about this: I'm building an animation on the home page of a site that I think people shouldn't have to watch more than once. So, if they've already been on the home page and now they've clicked back to it a second time, I'd like to have the animation not play through again. Is this a good case for a cookie? Maybe I could set a flashVar that reads in the header or referring page, and if it's =="same domain" don't play animation?
View 2 Replies
Jan 12, 2010
I am trying to get a photo to reload by it salth so that visters to my web site dont have to pree the refresh button have a look at what i meen here [URL]
View 6 Replies
Mar 18, 2011
Is it possible to set up FMS to log uniqe visitors in FMS access log file? I am aware of unique IP and session ID (c-client-id) logging, but these do not represent actual number of viewers. So I was hoping to get something like unique browser ID (a cookie?) which I guess is the closest I can get to the actual number of unique visitors.
If anyone has other ideas, how to log unique visitors or a variable close to unique visitors, If browser cookie is the way to go, can someone tell me how to "forward" this to FMS log file? Also, what software would you recommend for FMS log analysis? Im currently using Sawmill, but Im not completely satisfied, because I cannot see how many people have watched the webstream for how many minutes, therefore the reporting is inaccurate.
View 4 Replies
Jun 9, 2010
i would like to put some files on my site that can be downloaded by visitors. what's the code I've to put on my "download" button ?and where do I have to put the file that should be downloaded ?
View 2 Replies
Oct 14, 2003
I would like to put some files on my site that can be downloaded by visitors... So, what's the code I've to put on my "download" button ? And where do I have to put the file that should be downloaded ?
View 11 Replies
Sep 24, 2011
I'm creating a kiosk with a place for visitor's comments. There are several sections to the kiosk each with their own stand-alone .swf file (not browser based; no html). I'm planning on using Shared Objects to collect the input from the visitors in each section and these will periodically be reviewed by museum staff before actually getting posted. My question is, can I create one .swf for museum staff that uses an array to review each of the SO's created by the individual sections or will a flash file ONLY read in one SharedObject forcing me to create a separate app for each section for the museum staff?
View 1 Replies
May 27, 2007
I would like to allow visitors to download flash files from my website.
I have the following code one my first button:
Code:
download_btn.onRelease = function(){
getURL("blankWebsite.exe");
}
This works fine and opens a 'Save', 'Open' or 'Cancel' pop-up box.
For button two (the xml file which visitors can use to populate the blank website they have downloaded) I have used the following code:
Code:
download2_btn.onRelease = function(){
getURL("template.xml");
}
However, rather than giving the option of saving the file (which is what I want) the file opens in a new browser window.
way to offer the 'Save', 'Open' or 'Cancel' options for the xml file rather than it opening immediately in a new browser window?
View 2 Replies
Feb 26, 2009
I wrote this with the idea that it would stop my header from replaying a million times for repeat visitors. However it doesn't seem to be working correctly. I need a little direction, has anyone else done something similar to this? Also Isn't there a way to have it expire? like in a week or something?
Code:
user = SharedObject.getLocal("user_profile");
if (user.data.name == undefined){
[code].....
View 1 Replies
Feb 13, 2010
I would like to know the simplest way to use a text link and open a visitors email client.
View 1 Replies
Jun 7, 2010
why my MC's wont leave the stage, or indeed, simply move position it would make me very happy if you could tell me.
The set up is this. I have a number of MC's on stage that i place into an array. When i click the stage the program moves onto the next frame where the MC's are in a different position and are then sorted on the y value. Simple. The code is pretty much like this, and by it self works a treat.
[Code].....
However, placed into the main program it decides not to work. If the MC's arent in the sorting array, they do move xy positions (but obviously dont sort). If they are placed in there, they sort, but seem to be stuck on their xy co-ordinates.
View 7 Replies
Jan 12, 2010
I need to be pushed a button after I selected it. In other words, I want the button remains down.
View 4 Replies
Jan 17, 2012
I'm using a scrollpane and when you release the mouse outside the flash area when scrolling it doesn't register the MOUSE_UP and gets stuck in its scrolling state. You then have to click inside the scrollpane to disable the scrolling. I'd like to use a MOUSE_LEAVE event to remove the focus from the scrollbar so this doesn't happen. What is the best way to disable the scrollbar when the user is outside the flash window?
View 6 Replies
Jan 14, 2011
When I add a link to text it takes me to a new tab. How do I make it so that it leaves the movie and goes to that link?
View 1 Replies
Aug 27, 2010
Is there a way to tell as3 to leave an object always on the foreground no matter what happens so that anything will overlap it?
View 5 Replies
Jan 8, 2006
lets say i have a bunch of AS in a frame and i want to delete all of it when you leave that frame or change frame
View 6 Replies
Feb 1, 2010
I am hoping someone has a quick answer for me on this. I am trying to handle a drag event when the cursor leaves the stage. Should be fairly simple with Event.MOUSE_LEAVE, but I am having unexpected difficulties.with:
Code:
this.stage.addEventListener(Event.MOUSE_LEAVE,this.mouseDragReleaseHandler);
I never reach the code in mouseDragReleaseHandler
[code]....
View 1 Replies
Oct 18, 2011
I have created a movie that requires the user to click on two points on an image. I want a visual indication to appear (eg a marker of some sort) to appear on the first and second click. Is this possible?
View 21 Replies
Sep 3, 2011
What happens when you add a MovieClip to the stage using addChild and then gotoAndStop to a different frame?Is the MovieClip automatically removed? Will it be there when you go back to the same frame?
View 1 Replies
Sep 15, 2011
Does anyone know of an event that can be called after a user clicks out of a TextInput?
I would like the user to enter information, and when they finish I would like to format the information.
View 2 Replies
Oct 31, 2011
How can I run code in Actionscript 3 when a page with my flash object is.well.I'm not sure of the term.When the webpage is left and the flash applet is exited?
View 2 Replies
Dec 7, 2011
I want to leave the for each loop as soon as the boolean is set to true.
[code]...
I've tried break and such, but this all doesn't work.
View 2 Replies
Jan 21, 2010
I am creating an expandable flash banner using Flash CS3/AS3, with Event.MOUSE_LEAVE to detect when the mouse leaves the banner. In closed state the dimensions are 300x250, when expanded it opens to 500x500. As far as I can see the banner opens and closes perfectly in all browsers other than Safari (only tested on v4.0.3). It seems that in Safari when expanded to 500x500, the flash player fires the MOUSE_LEAVE event when the mouse leaves the 300x250 area, rather than the 500x500 area, ultimately closing the banner prematurely.
You can see it working (or not working in Safari's case) here: [URL]
This is the code I'm using to open/close the banner:
Code:
addEventListener(MouseEvent.MOUSE_MOVE, open_banner);
function open_banner(e:MouseEvent):void {
removeEventListener(MouseEvent.MOUSE_MOVE, open_banner);
stage.addEventListener(Event.MOUSE_LEAVE, close_banner);
gotoAndPlay('open');
[Code] .....
View 2 Replies
Jun 14, 2010
I've got 4 button images that drop in when the movie starts, and when you click on an image it loads in an XML image flow. Problem is, when I click the "go back" button, it goes to frame 2 to start over, but the XML gallery/image-flow won't leave the stage. Link is below, code is attached.I've been pulling my hair out for a few days now
View 0 Replies
Aug 22, 2010
I need to remove the text from a string ie "C99X"or "B53" and leave the numbers. Which is the best way to do this?
View 2 Replies
Jul 7, 2011
I have a site that has multiple video clips on multiple pages. However, once you get a few pages into the site it really bogs down, and I am wondering if it might be that the previous FLV that was playing when you clicked on the button to leave that page, might still be playing in memory or behind the scenes?
I currently have the next page buttons coded with:
Code:
SoundMixer.stopAll();
and the sounds are stopping, but I am wondering if Flash still is using resources to keep the video playing on that frame?
Do I need to unload the video clip, or stop it somehow with the button?
These are external FLV's, NOT embedded in the timeline.
My CPU usage stays between 80-100% and once you click trough a few pages, it really begins to bog down, and stutter, and crash Flash Player.
View 1 Replies