Actionscript 3 :: Implementing Captcha In Flash?
Feb 21, 2010I'm developing a flash registration form and I need to incorporate dynamic 'captcha' images for confirmation.
View 6 RepliesI'm developing a flash registration form and I need to incorporate dynamic 'captcha' images for confirmation.
View 6 RepliesI was going to take a stab at creating a Flash captcha myself but after doing some searching I discovered that a couple of Flash-based captchas already exist. One turns out to be a dud, but the one I found at http:/[url]....seems to be pretty sweet (there are a few versions available on this page, make sure you are checking out the Flash version and not the PHP one). I tried cracking the source code but the way the captcha is generated actually seems to be outside of the Flash file.
View 5 RepliesI have a very simple mail contact form in Flash AS2 ( only three fields Name, Email and Comment ) in which I want to include onc captcha for some restriction. How can I add captacha in my flash form? I am very new in all these areas of php, mysql and flash so a small demo file will be much more useful.
View 2 RepliesI tried to implement this captcha [URL]. But It seems really hard I wasn't able to do it. I tried to make a test php page but it wasn't successful either.
session_start();
# ~~~ CAPTCHA Form Submit ~~~~~~~~~~ #
if ($_SERVER['QUERY_STRING'] == 'final') {
if ($_SESSION['secCode_ok'] === true) {
$_SESSION['secCode_ok'] = false; // reset old results
Then pass and execute query.
<input id="sec_code" class="input_captcha" maxlength="5" />
How to get a working example file?
how to load image and display in flash from http post?
i would to http post some website and return captcha something and display
captcha from response some website from using actionscript flash?
Possible Duplicate: Blocking comment spam without using captchaMost of the time Captcha is either broken by bots or by labor force working as data entry jobs in Asia. And then spam/content bots/scrappers get in.Wt are other strong and effective alternatives availableAnd I thought about something like on smartphones these days that it ask you to drag to unlock. I think if that can be made in Adobe Flash or maybe using HTML5? .. do you think it will work effectively? note that emphasize is on defeating HUMAN + BOT partnership where human element comes from Asian countries to enter Captcha code or simple answers and then bots come into play.
View 1 RepliesI am looking for a walkthrough for implementing a call for a webservice from an swf file, I cant find any..
View 1 RepliesI have made a flash site using CS3.I bought a preloader online but cant get it to work (not getting any responce from the site where I bought it). It should be straight forward. Copying the loader movieclip to the first frame in my timeline and so on. Gon through the instructions several times and is pretty sure I´m not missing anything.Anyway, when publishong I get the following error message:[code]Warning: 1058: Migration issue: The property _root is no longer supported.This property has been removed. The closest equivalent is the Stage, which serves as the root of the ActionScript 3.0 display list..I do believe the actionscript used in the preloader is v.2 and the project is made in AS3.
View 6 RepliesI need to implement a realtime connection between 2 or more players, that will play a Flash game. I've read that RTMFP is a good choice to make this connection the best possible (were best=less lag between actions), but, I am quite new to this kind of things, what documentation/tutorial/guide you think would be the best to get started and finally make a good implementation of RTMFP?
(Also, I read that there are differents servers or frameworks that provide the same, like Cirrus, Red5, etc, what pros and contras have this?, taking cost into account). I was reading the adobe documentation, there is an example too, but I'd love to see some more flash game based example, even a very basic one, so I can extend that functionality and start making tests. I got it working, now, I need to know how to make a webservice for the peer ID interconnection.
I'm a django(python) web developer. I can also make 2D flash games. I'm planning to make :
online flash games distribute them to various websites then use dynamic in-game ads inside these games( ad changes during game play).
[Code]...
I'm trying to work out how to use states in my Flex app.I've created two states, State1 and Stage 2. Both are based off the base state. I've created a few visual elements for State1, and given each of them includeIn="State1".But when I'm in design mode and click on State2, these elements are still visible?If I try to delete them while State2 is selected, all that happens is RemoveChild is added to the State2 tag.
View 1 RepliesI haven't used the implements keyword before, and I've been trying to use it to implement the IEventDispatcher class to see if this would allow me to use addEventListener() in a class that extends Object (this is my understanding of what it's for - correct me if I'm wrong).My class is like this:
package
{
import flash.events.Event;
[code].....
Within C# there're these things called indexers that do something similar to this:
public Something
{
public Object this[String s]
[code].....
implementing and editing XML within Actionscript worked out swell - no problems so far..but the some_xml.send() seems to become a true nightmare!
Soit, here's an example:
I made a little "keep-in-touch" maillinglist, where visitors can leave their adress, click the "send" button - and let the administrator view the list on a secure page. XML suits fine for this job, i think.
Code:
on (press, keyPress "<Enter>") {
mailInput_xml = new XML();
mailInput_xml.ignoreWhite = true;[code]....
I have a custom form that I want to implement and I am having a problem figuring out how to do so. I want to have it work like an inner popup where it blurs and unblurs the background imageHere's my setup:FLA file contains-UILoader for swf sectionUILoader for random background imageLets say I load a section called home.swf into the section loader. Within the home.swf I have a button for someone to call up the form.swf. Is it possible for the form to blur the random background image when loaded then unblur it when it's done? I also have no idea how to unload it.
View 1 RepliesI am trying to implement a preloader for loading an swf. I have an swf named 001.swf. I need to create a preloader for loading this swf. So should i create one more swf for loding the 001.swf.
View 7 RepliesI'm pretty new to Flash, and having a few problems with a website I've had to design for my college ICT course.I built the site entirely in Flash, which went perfectly, then went on to build a scrolling image gallery banner for use on a gallery page of the site (assuming that it would be an easy task to chop the banner into the website).When I've tried importing the file to the stage/library it leaves all the images behind (as they are in the library of the first file) as well as the actionscript required to call the images; leaving me with just a new, blank layer.I've also tried copying the actionscript code into the website document and transferring the images from the gallery library to the website library, however, the gallery is written so that the stage is used in its entirety to show only a certain amount of images, meaning that the proportions of the banner are all wrong on the website file.Is there any way to integrate the flash file for the gallery into a confined area of the stage in the website document, or am I going to have to alter my designs so that the gallery goes entirely across the page (put up and shut up style).
Attatched are download links to the two files in question, sorry if they're a little on the large side.
[Code]...
I cannot believe that implementing a simple class should be so hard. I am trying out the simple example outlined on the Adobe website: url...I copied the class code from here to file Greeter.as in subdirectory Learning. Then I created a dynamic Text field on the stage.
View 3 RepliesHas anyone implemented a Set class in ActionScript? Specifically, a Set which is similar to Python's set implementation (unordered, unique, O(1) membership, etc). I'd like to be able to iterate over it using for each, perform operations like union and intersection and get a list of all the contained items... Which would all be possible to implement using Dictionary and Proxy, but I'd rather not reimplement it if someone's already done the heavy lifting.
View 2 RepliesOurs is a Flex/Parsley/Blazeds/Spring project & I'm trying to implement java Enums in Actionscript3 and all I have to do is to send the Enum value to Spring service method.
The Java Enum Code (this is generated from XSD)
public enum ReferenceLookupType {
PATIENT_VISIT_TYPE("PATIENT_VISIT_TYPE"), PATIENT_STATUS("PATIENT_STATUS"),
PATIENT_VISIT_INVALID_REASON("PATIENT_VISIT_INVALID_REASON"),
LIPID_PREFILLED_CODE("LIPID_PREFILLED_CODE");
private final String value;
[Code] .....
How to implement Enums in Actionscript the right way.
I am looking to implement an address navigation bar in Flash that will be made into a SWF. Basically the user will be able to interact with the address bar just as it is in the top of the browser (enter URL, change url, enter javascript, ect).
View 2 RepliesI have a timer I need to implement when a "question" movieclip object is added to the screen, but even though the code is all right and definitely works it's not running when the movieclip is actually opened in the swf.
ActionScript Code:
question.addEventListener(TimerEvent.TIMER, timerFunction);
function timerFunction(event:TimerEvent):void
{
[Code].....
I'm trying to write a prototype function that will use setInterval. The following script defines a simple movieclip prototype that traces the clip's x position when called. The function works fine when called explicitly ( _root.foo.trace_x(); ), but does not when called by a loop.There are three clips on the stage, their instance names are foo, man, and chu. I created an array so I could loop through and have each one run the trace_x function once.Here's the code:
Code:
clips = Array('foo', 'man', 'chu');
num_clips = clips.length;[code]....
but instead, the output is "undefined" over and over and over.An example .fla can be found at http:[url]....
why I didn't put it into games category. I've got a game, it's mostly OOP. I've only one frame with "include" statement and the rest is in classes. Now I'd like to do a menu.Can I somehow separate the code of buttons inside menu? I add new frame with a menu MC inside and the "stop()" code. The "start game" button has got this code inside:
Code:
on(release)
{
_root.gotoAndPlay("2");
}
In frame 2 there's a playable part of my game. It works but... Can I move this code somewhere else so I can manage all buttons in one place? I tried:
Code:
_root.menu.start_button.on(release)
But it's not working (as if it should...).
is there any easy way to implement this using Flash ?[URL]
View 4 Repliesi, am building an portfolio site and i have come a long way (still a beginner) but now i found an problem. After i load xml file for paths to portfolio assets i load actual jpg's and/or swf's. But i am stuck since i do not understand how to implement padding so thumbs will be spaced evenly.[code]but than how to position first thumb?
View 3 RepliesI have heard that Web Service class is not available in AS3.implementing a WebService in AS3 with authentication.
View 2 RepliesI am working on an augmented reality project and I cannot use FLARToolkit because the marker I tracking is a company logo, The logo is a black T-shape with white writing inside and I cannot use any part of it to create a marker that FLARToolkit will recognise. I decided to implement my own tracking / bitmap recognition which follows the following process...
1) Convert to B&W
2) Color all possible regions in different colors
3) Find the best candidate from the colored regions
Here is the tracking code so far: [URL]. It works but it is suffering form a few problems; It's slow, sometimes a dark area is mistaken for the logo, it isn't aware of orientation, it is affected by different lighting conditions.
i want to implement a simple list containing 6 items in action script 3.0. The screen shall show 4 items at a time and it has to get the key presses just to move UP?DOWN in the list.
View 1 RepliesI'm trying to implement a dynamic starfield into the game blaster mines (chapter 11) from the book "The Essential Guide To Flash Games" (from Jeff and Steve Fulton) but had no success yet. I built a separate starManager.as class and a BasicBlitArrayStar.as class for it. Also I'm using a pool for inactive and active stars (basically I think it's the same method when building the projectiles or rather particles except that the stars move only when the mouse moves (using the same direction).
If u don't know what I mean check out the parallax starfield from [URL]:
freeactionscript.com/2010/06/endless-starfield-parallax-scrolling
Currently it's not working. The inactive pool is full of stars but when I try to draw them on the background I can see absolutely no star. Even when there is an active star available it doesn't draw it on the background. The goal is a starfield that uses similar techniques from the framework like particles and projectiles do. I have some things in mind like getting the child index for creating different star layers but currently I'm not able to realize it properly.
Here are some code excerpts:
starManager.as:
package {
import flash.display.BitmapData;
import com.framework_mod.src.BlitArrayAsset;
import com.framework_mod.src.BasicBlitArrayStar;
[Code] .....