ActionScript 2.0 :: Create A Personal Companion And Assistant Artificial Intelligence?
Nov 24, 2007
I am trying to create a personal companion and assistant artificial intelligence. If you are familiar with the Halo games, I am trying to create my cortana.What this project is, is a flash game that has certain features used for personal assistance in my work. Incorporated in that is going to be a few things that I need help with creating:
A chatbot part with custom responses
an RSS reader
a password protected parta reminder thing where in game (preferably but it doesn't have to be in game) I can type in a time, date, and message and it will remind me at that time with my message.A way for it to start up programs and open files for me
I have been working on something along the lines of a computer controlled version of snake.. and i have gotten most of it done, but i am having so many issues getting the artificial intelligence to work right. so far, i have it set up so that the head of the snake constantly moves toward the dots it is trying to pick up.
And i also have it set up so that every frame it checks to see if there is another block in its path. the problem is, once it knows there is something in the way, it cant seem to figure out how to get around it. in other words, i dont know what to tell it to do once it notices it is about to die.
I'm trying to create a property that can be set by extending classed and read publicly.I couldn't think of a good naming convention for a protected property with a public getter, so I tried to do this:
public function get name():String{ return _name; } protected function set name(string:String):void {[code]......
However I get the error (when trying to set name in an extending class): 1178: Attempted access of inaccessible property name through a reference with static type testing:TestComponent.1059: Property is read-only.
I'm trying to build a personal flash site. Just wondering what is the common practice to judge what dimension the swf should be. Because right now, my swf is of a fixed size or is there ways to have a fluid dimension that goes according to the user's resolution.
source control on personal Flex projects, and what eclipse plug-ins are available for these source control services? I'd like to add some personal projects to source control when they are ready.
i am making a Picture Gallery for a personal Project...
The code all works fine, although is probably quite messy, in the test movie environment within flash but when i publish or export the movie it doesn't load my images?
I am using Flash CS3 with AS 2.0
I will upload the fla, you can use any picture to test if you want.
Ok here we go I know its a lot to read but check it out anyways! This is my own portfolio site I've been working on. Im running short on time with it. Im willing to make permalinks on my portfolio to anyone who can help me out with this. :thumbsup: Download my files and have a look, otherwise you wont see what I'm trying to do. I have broken my site down into 3 separate sections.
I need a DataBase Software that collects E-Mail and personal information from subscribers in a Flash/HTML Website i'm building. I would like this program to be compatible with languages like: AS 3.0, HTML and CSS. This program must also have good marketing features like sending batch E-Mails, images and many things.
Is flash (actionscript 2.0) secure enough to use for a website that holds personal info, password, restricted areas, ect. How can I make it secure enough if it's possible.
I'm trying to create a series of scripts that will create some custom event listeners.
I have three movie clips on my stage. One is a movieclip who's sole function is to hold array's and the event listeners. A second which moves around the screen. And a third that is motionless.
The problem is that the argument I want to test (which activates the custom event) is held within a string.
What I want to know is, how do you test to see if the string argument is true?
Is it something similar to this:
var myCode:String="1<0";if(myCode){ trace('one is smaller than 0'); //Strangely apparently one IS smaller than 0!!! }
I think I'm going about this in the wrong manner, however this is the only way I can think of this working... (since I need to be able to dynamically create these events)
I'm trying to create a flash program that uses it's own code to send and create images. Each square has a colour and that colour gets added into the array. A black, then grey, then white is:
filecode = ["Bl", "Gr", "Wh"];
That works fine, but when I try to paste it into an Input text box it will only fill in the first part of the array.
filecode = ["Bl,Gr,Wh"];
So the program has NO idea what I want.The only ways I can think of fixing this is by putting in 402 text boxes to suit every box...But every one of them needs a Variable Name.Or by sending the information straight into the array. But this way you are just looking at what you just drew, and that is not at ALL practical.
At the moment I create an onEnterFrame function to ease a movie clip into view. I then delete it. I want to be able to recreate a similar onEnter Frame function later to swoosh the movie clip out of view. At the moment weird things happen when I try and do the second onEnterFrame.I know I could put this all in the original onEnterFrame, but I don't wanna be wasting processor time doing an if statement every frame to work out if it's time to swoosh out the movieclip. Or should I not worry because that's negligible cpu time?
I've been playing around with custom classes. My objective was to create a custom class (Testing) that would create a box when an instance of the class is created. I've tried three different approaches, however only (3) seems to be showing up. I'm just curious why (1) or (2) doesn't work?
Also is there a better approach than (3)? Since at the moment it's been created on _root. I hope the box can only be accessible through the instance. Since I'd like to incorporate the whole idea of public, private, encapsulation, etc.
create a rollover button that once hovered over would create the snow and once 'un-hovered over' (<---:s) the snow would stop falling. I tried creating the button but kept getting errors etc.... Im a total noob (been using flash for about 1 month) if you could give us a hand that would be great....
I am trying to do is create an "app" with flash that will allow an employee of the company to create there business card on the fly. The business card templates will have been pre approved and uploaded into the "system". The employee will be able to choose the card template that he likes the most and edit information on the card template such as Full Name, Title, Office Number, Cell Number, Fax Number, and Email. After he inputs his own information onto this template he will have the option to save the file as a pdf file, that will be used to print his business cards.
I'm new to Flash AS3. I started making a game and I am a bit confused. Let's assume that I want to create a game that has multiple levels/modes, how can I do this in an object orientated way?
When i create games in other languages e.g. XNA C#, i create a separate class then create an object of that class within the main class and run the game based on a simple statement.
I wish to create SWF (Flash) files with PHP but what is the best option for that nowadays? When I use Google I find all kinds of old pages about this subject, but not much is happening in this field lately, it seems..Ming is no longer part of PHP 5.3, and I can't figure out how to install it with PECL.('pecl install ming' doesn't work... but neither does any pecl package I try, so I guess I do it all wrong...)Is anybody actually using PHP to create SWF's or is this a bad idea anyway?
I know this is not flash oriented but after i make my flash website i copy the files into the www folder on my linux webhosting service and the index page loads when anyone uses the website url. Now if i want to have a second website at the same url how do i add a second domain ? my hosting service shows im allowed a max of 5 subdomains. me just where to put the second sites files including its own index file and how should the url be spelt to access the second site ?
There will be a "pool" of SWF files- I would like to create a "shell" swf that will load an external XML file that will determine which of the files in the "pool" the shell will play. I guess this would be called an XML-driven SWF playlist.Forgive me if my terminology is rather primitive- again, I'm new to XML (I'm an animator by trade.)