AS2 :: Create A Profanity Filter For An Application?

Jul 9, 2010

Trying to create a profanity filter for an AS2 application. Working with code found on this site on another post that doesn't seem to work. Anyone see the issue here?

test.onPress=function (){
badWords = ["this", "wont", "work"];
var lc_content = formContent.toLowerCase();
for (j=0; j<badWords.length; j++){

[Code].....

The form field is called "formContent". This returns both traces no matter the input so it must be a problem with the structure but I can't see it.

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Profanity Filter - It Fails When The User Enters Only A Single Word?

Jul 13, 2010

First of all, props to Informatik at Actionscript.org for the following code. This is a profanity filter that will perform an action when it detects a word from an array. The problem is, it fails when the user enters only a single word:

Code:
var filteredWords:Array = new Array("apple", "grape", "orange", "watermelon");
submitBtn.onPress = function():Void{
if(checkFilteredWords(inputText.text) == true)[code].....

The code uses split(" ") to detect a space which is obviously causing the problem of failing to detect one word offenders. But without this, the filter would detect profanity in a word like "assets".

View 13 Replies

Flash :: Use The Blur Filter Without Crashing The Whole Application?

Jun 13, 2009

Just finished exchanging email with one of the Adobe Support reps. It turns out that one of the most widely advertised features is bugged and is only halfway functional, namely the "Blur" filter, available from the Filter panel. Does anyone of You know how to effectively use the blur filter without crashing the whole application? Adobe admitted that the problem persists and there is no fix to it in CS3 in Windows XP/Vista. I get an impression that i paid the full price for an app only partially functional...

View 2 Replies

Flex :: Why Pixel Bender Filter Behaves Differently In Toolkit Than In Air Application

Dec 8, 2011

I've tried this simpler filter with same Air code as below:

<languageVersion : 1.0;>
kernel NewFilter
< namespace : "Your Namespace";
vendor : "Your Vendor";

[code]....

Changing HUE_MAX slider in app (binded to MAX_RANGE parameter of filter), it doesn't filter out HUE values smoothly, but instead thresholds at HUE_MAX=59.9, where at lower values looks like no filter is applyed, and at HUE_MAX=299.9 where between 60 and 299.9 looks like this: [URL]

View 3 Replies

ActionScript 3.0 :: How To Create Glow Without Using Filter

May 12, 2011

I am creating an application for iPhone4, and one of the problems I am having is the lack of filter support. I am trying to create a "stroke" around some bitmaps... an example would be a text field that is white on a bright background - I would put a black stroke around it to contract it... there are other needs as well, but this is an example.

Before, I would just put a glow filter on the text field, tweak the settings and it looked good and did exactly what I wanted.But iPhone4 high resolution with gpu acceleration don't support filters - and I can't change those requirements... so any and all bitmap filters are out. Any way I can create a glow filter effect without using filters that would not be a major performance hit for fps and memory?

View 2 Replies

ActionScript 3.0 :: Create IPad Application But Flash Professional Cs5 Only Allow To Make Iphone Application

Nov 9, 2011

I am using Flash profassional cs5 and want to create an iPad application but it only allow to make iphone application. It allows to install on iPad but the resolution is very small.

View 1 Replies

Flash :: Create A Filter In Pixel Bender?

Aug 4, 2010

create a filter in Pixel Bender for AS3 to make this effect in the right side in this image:

[URL]

View 2 Replies

ActionScript 2.0 :: Flash Application Create A Connection To A Remote Application?

Aug 6, 2003

I need to make my Flash application create a connection to a remote application and have the remote application send periodic updates to my Flash animation. The remote app is written in VB 6, and does not support XML sockets. However, I don't need the ability to send or receive XML since I am going to be overriding the onLoad() event anyway.

Or maybe I do need that ability... I'm having trouble getting my onLoad() event to trigger. Right now I'm just testing the onLoad event like this:

[code]...

So, basically I'm trying to find out how I can format the data I'm sending it so that the onLoad() event triggers. I've read that the XMLSocket object listens for the Null byte, so perhaps the data I'm sending it doesn't terminate properly. I need a persistent connection from Flash to the VB app because the VB app will be the one initiating the updates to the Flash application. Is the XMLSocket the way to go here, or is there another class of objects that I'm missing?

View 1 Replies

Flex :: Create A Color Glow Filter With Duration?

Apr 13, 2011

I need to highlight a button's border, so I have created a glow filter like this:

<s:GlowFilter id="GlowFilter1"
color="0xD9D919"
blurX="30" blurY="40"
alpha="1"
/>

The problem is that I don't know to remove the effect. The effect remains in the opction as it was highlighted. Thus, I'd like to set a duration, or something that removes the effect I create.

View 3 Replies

ActionScript 3.0 :: Bitmap Filter - Push The DropShadow Filter Onto Movie Clip At RunTime?

Mar 10, 2011

I looked at the following example in the AS3 Reference: [URL] It is unclear to me looking at the package example how to apply this in standard ActionScript 3 without packages to a Movie Clip resident in my Library that gets called at RunTime. how I would push the DropShadow filter onto my Movie Clip at RunTime?

View 6 Replies

IDE :: Filter Is Using Too Much Memory - Apply The Filter To Only A Specific Area Of A Movieclip?

Jul 15, 2009

To achieve a zoom effect in our 2D flash game, we make the background of the game much bigger than the visible stage. This becomes a problem when the background is complex or when we apply a grayscale filter to the background. Is there a better way to do zoom? Or, is there a way to apply the filter to only a specific area of a movieclip?

View 2 Replies

Actionscript 3 :: Write "Intercepting Filter Pattern" Like Java's Servlet Filter In Flex?

Feb 10, 2011

I want to know how to write "Intercepting Filter Pattern" like Java's servlet filter in Flex.

And I want to insert it into the classes which have a role of server communicating.

View 1 Replies

Create An Application That Has Three Movieclips?

Jul 1, 2009

I'm trying to create an application that has three movieclips that when rolled over show a movie clip over everything that the user reads then they drag one of three pictures over to the corresponding movieclip. I have the Movieclip alpha down until roll over but i had issues with layer order. If its on top i cant access the drag items beneath it and if its below i cant see it.I tried using swapChild but then it makes it crazy. The DragItem "sticks". It shows up on pages it shouldn't (i have it on one frame but it sticks to everything and i cant get rid of it). It works when im on the current frame so i must be close?

here is what my code is currently:

//This is the graphic that i want them to hover over to call the movie clip to show
msdsHover_mc.buttonMode=true;
msdsHover_mc.addEventListener( MouseEvent.ROLL_OVER,

[code].....

View 1 Replies

Create A Flash Application?

May 29, 2009

I'm trying to create a flash application where the user can add points (I call them draggers) and he can move those points around an image. What needs to happen is that I will use these points and their coordinates to change the image.
 
What I need help on is how to accomlish the rotation. Let's say the user has added three points on the stage, and they want to rotate the three points along the center of whatever triangle they form.

[Code]...

View 1 Replies

Create My Own .fla File From My Own Application ?

Jul 15, 2009

I was wondering how to make a .fla file to be opened and read by flash and have all the elements required using my own program.the motivation behind this is that i want to create a whole lot of swf files that are all pretty similar but won't ever just be slight modifcations to a base file... that and it requires a lot of data to place certain objects in places and set their keyframes to specific things etc.so i wanted to automate creating the .fla files. how to create a .fla file without flash?

View 6 Replies

Actionscript 3 :: Possible To Create An Application

May 8, 2011

Is it possible to create an application that can add effects similar to what shape collage does? I know, it was made using java. Could something like that be built using as3?My idea is that it uses alpha to know, where to start adding the shapes. In php its possible to read every pixel of an image, to check its color, so we can know if it is alpha or not, so i think there is something similar in as3. The images could be uploaded thru filerefence.

View 1 Replies

Create A Room Editing Application?

Jul 27, 2010

My idea is to be able to have a number of different objects on the side of the stage, kind of in a toolbar, then to be able to click (and thus select) one of them and place it another area in the room with another click (basically placing it, deselecting it and fixing it in place where I clicked).

I'd then like to be able to re-click it and reposition it by dragging, if I so wish.

View 1 Replies

ActionScript 3.0 :: Create A Chat Application In AIR?

May 31, 2009

I want to create a chat application in AIR but i dont know that how a chatting server can be created in Flash.
 
Basically i want to create the window application using AIR, so that which can communicate with the server, but i dont know anything how to establish to server that can handle the client requests give by my application.

View 3 Replies

ActionScript 3.0 :: Create An AIR Application Without Using Mxml?

Apr 25, 2011

How to create an AIR application using only actionscript(without mxml)?

View 5 Replies

Create An Application Switcher In Flash?

Feb 15, 2010

A while ago, we created a replacement shell to run as a front end for a cybercafe. It was nothing fancy; just a flash movie that had button links to IE and a few trusted applications.

I'm trying to develop it further now and am wondering two things:

1. Is it possible to send an application to a frame within a movie? For example, have a static movie at the top with links, then when a button is pressed, the menu remains but the application opens below without overlapping. I know I can use HTML and frames but really want to keep it all in one movie/swf.

2. Is it possible to build on the above and have some sort of application lister that will allow you to switch between the two applications you have running. For example, a user may opem IE, the open Word. Word has now replaced IE and I want the user to have a simple click button to go back to an existing window rather than open another instance from the menu.

View 1 Replies

Flex :: Create A PDF Of Web Application Using AlivePdf?

Feb 28, 2011

I have a large web application with verticalScrollBar with few charts and large datagrid. I am planning to create pdf of my web application using AlivePdf.

Right now, Im using below code to creat a pdf of my application, but no luck.

var printView:DisplayObject = new InteractionsAnalysis() as DisplayObject;
printView.width = Application.application.width;
printView.height = Application.application.height;

[Code]......

View 1 Replies

Flex :: Create New Window In Air Application

Jul 27, 2011

how to create new window(same application duplicate) in Air Project.

View 1 Replies

Flash :: Create SWF Movie From C# Application?

Sep 21, 2011

I'm working on C# application where I get some user input, so I'd like to save it as animation to SWF.

I searched the web for some open library to do that, but I've found only dead links. Is there any open library for that?

View 2 Replies

Create A Module For A Flex Application

May 27, 2009

I'm trying to create a module for a flex application, and I want to send notifications to clients. I've been looking at the BlazeDS messaging service to push out the notifications to clients, but I want to be able to send certain updates to certain clients. The Flex notification framework doesn't seem to allow this - if we have a field in the message with a value of the user's user id for example, any client could theoretically subscribe to all messages for any given user id, and there's no verification on the server side to make sure that the client that has subscribed is logged in as that user id.Is there something I've missed here, or is the best way to handle this writing my own polling mechanism on the client side?

View 2 Replies

ActionScript 3.0 :: Create Log File In AIR Application?

Jan 3, 2011

How to create Log file in AIR application with detailed steps.

View 1 Replies

ActionScript 3.0 :: Create A Pop Up Dialog Using Facebook Application

Jun 9, 2010

how to create a pop up dialog using facebook application, i found some examples but it doesn't worked for me, now i loaded my friends then beside the profile pic of my friends in have a button name select, where if i select that current friend it will now pop up the image and name then have a button continue how should i do that?

View 1 Replies

ActionScript 3.0 :: Create MS Paint Like Application In Flash?

May 30, 2010

I am creating a MS paint like application in flash.... for this i have taken a movie clip named board.....nd i am allowing to draw different shapes in it through drawing API. But i want to create a bucket tool so that when user click in the shape drawn in movie clip (through addchild()). The color of that shape should change..

View 5 Replies

Flex :: Create A Webbrowser Inside Application?

Dec 10, 2009

Is it possible to create a webbrowser inside a Flex (not AIR!) application? I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible?

View 2 Replies

Flex :: Requirements To Create Adobe AIR Application?

Dec 17, 2009

i am working with Flex for quite sometime. but i hadn't get any chance to even look at Adobe AIR platform. I am planning to do some personal softwares using AIR.

Provided the background that am an absolute zero in AIR, what all should I have in my system apart from Flex builder? And how fast i can learn AIR if I am pretty comfortable in Flex?

View 2 Replies

Flex :: Create Multi-window Web Application?

Oct 20, 2010

I am using flex4, I am seeking the answer to create multi window web application. My application is some sort of complex, currently I only know using PopupManager to create a new window.Should I create each MXML for each window that I want to instantiate? And then load the mxml and put it into the stage? Is there any tutorial describing that? I want the program modular and easy to manager, extend.

The current way I am using is use Group to group up all the controls inside a window, and if user want to open that window, I will display the group and bring it to the front. Is it the right way to do windowing? But I can't support drag.

I want to know if there is any native support for draggable window, or dialog?

Also till now all the controls are put inside a single mxml file, is it possible to put one window(or one group) to be a separate mxml file?

View 4 Replies







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