Actionscript :: Create An XML Of Several Images (positive And Negative) But Can't Find A Program That'll Do That For Mac OS X

Jun 2, 2010

I have an object that I want to be able to recognize in AS3.There's a port of OpenCV for AS3 already, that works with Haars cascades, so now I need to create a cascade of my object.

From what I've read, I'll have to create an XML of several images (positive and negative), but I can't find a program that'll do that for Mac OS X.

Is there anything I can use that'll generate that XML on Mac OS X?

View 1 Replies


Similar Posts:


Actionscript 3 :: Convert Negative Into Positive?

Jun 1, 2010

i'd like to negate a number and would like to know if there's a built in method that will convert a negative number to a positive OR a positive into a negative, depending on the number.

i know about Math.abs(), but that only seems to convert negative into positive. is there a method that will do both?

View 3 Replies

ActionScript 2.0 :: Positive To Negative Numbers?

Jan 19, 2007

Whats the best way to flip variable:Number polarity from + to - and back.Is there an actual method, or do you just assign the var to itself...eg...

speed = 5;
speed = -speed

View 2 Replies

ActionScript 3.0 :: Test For Negative Or Positive Numbers?

Nov 9, 2009

Is there a way to test if a number is negative or positive.I have some clips that position themselves on and off the stage. IF one moves in the other moves out the same direction the other is moving in. This also works the same in reverse. I'm trying to do this by checking the current clips position and see if its a negative or positive number. If its a positive then I can move it onto the stage and move the other off in the same direction. Maybe there is another way of doing this but I thought if I could check its value and see if its negative or positive it would be a start.

View 5 Replies

ActionScript 1/2 :: Rotation Positive And Negative Numbers?

May 12, 2009

I am creating a roulette type game that calculates the winning number based on the rotation of the main wheel. I am using if/else statements to determine the winning number based on the rotation. I am tracing the rotation in the output panel. I would like my rotation to go from 0-360, but the output panel traces 0-180 then it starts counting from "-180-0"
 
The wheel can spin multiple times. how to keep the numbers positive from 0-360 and not have to write my if else to accomodate the negative numbers?

View 5 Replies

ActionScript 3.0 :: Random Negative And Positive Numbers?

Feb 10, 2009

How can I create random numbers (negative and positive) ?Math.random() only produces numbers between 0 and 1.

View 2 Replies

ActionScript 2.0 :: Reversing Negative And Positive Numbers

Jul 9, 2009

I have a function set up to determine the speed of the mouse, if the mouse is moved to the left it is returned as a variable in a negative number. I also have a function to make a movie clip scroll along, at the moment if you set the speed to 3 it will move to the left. So a positive number will move the movieclip to the left So you can see my predicament because the numbers are opposite, is there way of reversing one of them?
Here it is in short

[Code]....

View 1 Replies

ActionScript 2.0 :: Convert A Negative Number Into A Positive?

Nov 13, 2007

Is there a way to convert a negative number into a positive using actionscript?

View 5 Replies

Flex :: Change Style For Positive And Negative Values?

Jul 6, 2009

Is there a way to change the style of Flex Chart according to the values.For example, in column chart, set green for positive value and red for negative value?

View 1 Replies

Actionscript 3 :: Generate Random Positive / Negative Number?

Feb 7, 2011

How do you generate a Number that is randomly postive or negative?

View 3 Replies

ActionScript 2.0 :: Negative To Positive Random Number Range?

Aug 29, 2006

How would one produce a random number, ranged from say, -100 to 100?

View 3 Replies

ActionScript 3.0 :: Generate Random Negative And Positive Numbers?

Mar 11, 2009

How can I generate random negative and positive numbers?

math.random generates only positive ones.

View 3 Replies

Actionscript 3 :: Turn Negative Number To Positive With Bitwise Operations?

Jul 16, 2011

Is there a direct way how to turn a negative number to positive using bitwise operations in Actionscript 3? I just think I've read somewhere that it is possible and faster than using Math.abs() or multiplying by -1. Or am I wrong and it was a dream after day long learning about bytes and bitwise operations?

What I saw was that bitwise NOT almost does the trick:

// outputs: 449
trace( ~(-450) );

If anyone find this question and is interested - in 5 million iterations ~(x) + 1 is 50% faster than Math.abs(x).

View 4 Replies

ActionScript 3.0 :: Getting A Movie Clip To Motion Tween From A Positive Value To A Negative Value?

Oct 13, 2009

I'm having a problem getting a movie clip to Motion Tween from a positive value to a negative value. I have two movie/buttons on my stage. When you click one the other movie Tweens from a y value of 0 to a y value of 400. That works fine. However, when you click the other button, the movie clip should then Tween from a y value of 400 back to a y value of 0. I cannot get this reverse tween to work.

Code:
// code for positive tween
function movePeople(event:MouseEvent):void {
movePlacesTween = new Tween(pageloaderB, "y", Strong.easeOut, 0, 400, 0.5, true);
}

[Code].....

The second tween never reverses. It just stays in place.

I've also tried the same tweens using the y value of pageloaderB... so tweening from pageloaderB.y to pageloaderB.y+400, which works, but the reverse does not -- pageloaderB.y+400 to pageloaderB.y.

why the reverse tween is not functioning?

View 1 Replies

Professional :: Create A Flash Program That Uses It's Own Code To Send And Create Images?

Sep 29, 2010

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.

View 3 Replies

Actionscript 3.0 :: Math.cos - Change Arithmetic Positive Progression To Negative Progression

Jul 20, 2009

Code: Select allimport caurina.transitions.*;
addEventListener(Event.ENTER_FRAME , kop)
function kop(e:Event):void {
dot.x = mouseX ;
dot.y = mouseY ;
[Code]... 

What i done there i draw a box and made it to movieclip and instance named it hook and created a invisible dot and called it dot. Then I calculated distance from box to the mouse then i took that number and put it in Math.cos command. And finally i made tweener to change box scale depending what my mouse distance from it.So if my mouse is close the box is big , if far - box is small. Ok, I want to know is there another way to do this ? Cuz , i cant think of other way to change arithmetic positive progression(like 3,6,9,12) to negative progression(like 12,9,6,3) than Math.cos command.

View 5 Replies

ActionScript 2.0 :: Find Out If Number Negative?

Jun 6, 2008

I need to check if a number is negative and if so, trace "true" and if not "false".

View 2 Replies

ActionScript 3.0 :: Find The Date In A Program?

Feb 14, 2010

I need to find the date in a program I'm writing, but I need to know it's accurate. Does anyone know how reliable the Date method is in AS3 at returning the actual correct date? For example, Date.dateUTC should return the date of the month according to Greenwich Mean Time, but as I assume Flash looks up the information from the users operating system. Is it safe to assume this will be correct? In windows for example, you can set the date in the calendar to anything you want - would this affect the value returned by Flash?

View 2 Replies

ActionScript 3.0 :: Loading Multiple Images - Make Sure The Program Will Start Once All Images Have Dispatched A Complete Event?

Jan 26, 2009

im loading multiple images but how do I make sure the program will start once all images have dispatched a complete event. like make a universal loader for all the other "small loaders" if you understand.

View 1 Replies

IDE :: Make A Program To Load Multiple Images?

Feb 4, 2009

I'm trying to make a program to load multiple images. So far, I have

Code:
import flash.display.*;
import flash.filesystem.File;

[Code]....

As far as I can tell, it's convinced that I'm trying to use the load() method from the scrollpane class (that's where the context help takes me). How do I specify that I want to use the loader class method?

View 2 Replies

Flex - Adobe AIR Program Can To Index All Images On A User's Computer?

Jun 7, 2010

What is the fastest way for a Adobe AIR program program to index all images on a users' computer? Using Open Source ActionScript-3, MXML Libs and classes.

Fastest - Same pc configuration, different time (seconds) To index - get a list of absolute links (like c://bla-bla/file ) and save them into file (index.txt) All images (like JPEGs, PNGs)

View 1 Replies

Create A Flash Program That Can Be Run On Facebook?

Apr 17, 2009

im trying to create a flash program that can be run on facebook. they require that the version be 9.0.115. how do i make sure the swf file i publish is this version? im using adobe flash cs3 proffesional

View 1 Replies

IDE :: Create A Program To Allow To Pick Out Of 3 Movies?

Mar 6, 2010

I've just started learning Flash and i'm looking for some help.I'm trying to create a program to allow you to pick out of 3 movies, select a day and time, how many people will be watching the movie and then show all the information.

I'm looking at having around 7 frames.My problem is that one of my buttons isn't working, I can't understand why as it is the same code (with the correct parts changed) as my other buttons which are working perfectly.

[Code]...

View 3 Replies

Actionscript 3 :: Create Command Line Program With Air 2?

Jan 16, 2010

Is there any way to create an Air 2 program that runs just in the command line? (no windows, no gui, etc)

Something similar to Windows Ping program. It would accept arguments and then output std out.

View 2 Replies

ActionScript 3.0 :: Check If A Negative Number Is Less Than Another Negative Number?

Jul 17, 2011

check if a negative number is less than another negative number. The if condition logic seems to be in order as far as i can tell but it doesent work for some reason :

Code:
public function minuscheck(testnumber:int):void
{
if (testnumber < -1)

[code]....

View 6 Replies

Professional :: Create A Simple 'prize Draw' Program?

Aug 23, 2010

I'd like to create a simple "prize draw" program that randomly selects a name (or number) from a list of names, I'd like it to be my own custom version. For a programmer this is probably the easiest thing but I'm new to programming (beginner), don't eve know if I'm in the right subcategory (flash).

View 1 Replies

Flex :: Create Multiple Processes In Adobe Air Program?

Nov 28, 2009

How to create multiple processes in Adobe Air program? Docs? Tuts? Algorithms? (for ex I have some design logic and some services client logic i want to run them in separate processes) (Air 2.0 is ok for me)

View 4 Replies

ActionScript 2.0 :: Create A Program Using Random Motion Of Two Movie Clips?

Mar 24, 2004

I am trying to create a program using random motion of two movie clips and uses hitTest to determine whether the two objects collide with each other.

I've gotten hitTest to work with the original movie clips, but when the user loads more movie clips (via a button and duplicateMovieClip):

[Code]...

View 1 Replies

Actionscript 3 :: Create A Flash Program With Consistent Performance Across Multiple Machines?

Jun 17, 2011

I want to create a flash program that tracks mouse and keyboard biometrics such as mouse movement speed, click rate, length of keystrokes and so forth. How can I ensure that if a user duplicates his/her actions across multiple machines with varying processor speeds I will record the same data?

View 2 Replies

IDE :: UIloader Can't Find Images

Nov 27, 2009

I am building a site in Flash cs4 and I'm a the part where i want to add my photos so I have inserted a UIloader to load my images and I have set the UIloader to pull from the images folder and it just keeps giving me an error message cant find images which I cant understand why cause the Fla file is in the same folder as the images,here's the part I really cant understand if I rename the images without numbers then it finds a couple of them???? I have always done it this way in the older versions and I know it works in the new version I have spent hours trying to find out why and have asked many people and they cant tell me why.

View 1 Replies







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