RE: [Flashcoders] How to simulate Osiloscope

2011-08-10 Thread Steve Abaffy
Well depends on how much of the oscilloscope's functionality you want to reproduce. What signal are you going to simulate. I would imagine that all you are going to do is show a Sine wave and switch time bases. In this case all you have to do is graph a sine wave on your screen and change the

RE: [Flashcoders] Strange Button Behavior

2011-06-13 Thread Steve Abaffy
/2006/10/11/geturl-flash-projector-firefox-pro blem/ http://www.adobe.com/devnet/flash/articles/local_network_playback.html http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net /package.html#navigateToURL%28%29 Glen On 11/06/2011 19:35, Steve Abaffy wrote: Hello, After

[Flashcoders] Strange Button Behavior

2011-06-11 Thread Steve Abaffy
Hello, After some more investigation I have found that the buttons not working problem I was having is not a browser malfunction. I have found that when I put the site on a web server all works well regardless of the browser. But when I put the site on a CD a run it from there, all calls to

[Flashcoders] Strange button behavior

2011-06-09 Thread Steve Abaffy
Hello, I have a flash button that when it is played on IE9 works. It calls an off site website, but when I try it on IE8 the mouse over actions that the button is supposed to have work, but when pressed nothing happens. The entire application was written in AS3, is there something that I am

RE: [Flashcoders] dynmically adding waves together problem

2011-06-06 Thread Steve Abaffy
It would seem to me that you are drawing the two waves with some kind of sine function. Y1 = Sin(x1+Phase1) Y2 = Sin(x2+Phase2) So all you have do to create the third is Y3 = Sin(x1+Phase1) + Sin(x2+Phase2) Remember of course that Y3 will have a max/min of +2/-2 assuming of course that

RE: [Flashcoders] How make an SWF run on IPad?

2011-05-02 Thread Steve Abaffy
(or maybe a combo of the two at some point). For now, an app out of Flash CS5/AIR SDK, is the best option. Kevin N. On 4/28/11 4:21 PM, Steve Abaffy wrote: I have been searching the web for about an hour now, and I can't find a SWF to MP4 convert that will allow the actionscript (i.e. buttons

[Flashcoders] How make an SWF run on IPad?

2011-04-28 Thread Steve Abaffy
I have been searching the web for about an hour now, and I can't find a SWF to MP4 convert that will allow the actionscript (i.e. buttons etc..) to work. What I am trying to do is convert my flash presentation to something that will run on an IPad. I have entire site written in actionscript 3.0

[Flashcoders] How to Make SWF work on IPad

2011-04-28 Thread Steve Abaffy
Something I forgot to mention SWF will be delivered over the web. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] How make an SWF run on IPad?

2011-04-28 Thread Steve Abaffy
than Flash. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Steve Abaffy Sent: Thursday, April

[Flashcoders] Strange Behavior with an email link

2011-04-25 Thread Steve Abaffy
I have the following code, and in IE8, IE9, Chrome when the email link button is pressed, it opens the client email as expected but it also opens a new page that says Navigation Cancelled in Firefox it works without opening the extra page. How do I make it stop doing that. function

RE: [Flashcoders] Strange Behavior with an email link

2011-04-25 Thread Steve Abaffy
);} ); On Apr 25, 2011, at 1:07 PM, Steve Abaffy wrote: I have the following code, and in IE8, IE9, Chrome when the email link button is pressed, it opens the client email as expected but it also opens a new page that says Navigation Cancelled in Firefox it works without opening the extra page

[Flashcoders] Something I don't understand about loader

2011-04-24 Thread Steve Abaffy
Hello, This code Is not exact it is to show what is happening. myLoader :Loader = new Loader(); myLoader.load(new URLRequest(filename)); // loads a imagefile then in a function var mc1:MovieClip = new MovieClip(); var mc2:MovieClip = new MovieClip(); mc1.addChild(myLoader);

RE: [Flashcoders] Something I don't understand about loader

2011-04-24 Thread Steve Abaffy
: [Flashcoders] Something I don't understand about loader Steve Abaffy skriver: what is going on here??? Each DisplayObject can only be on one display list. Trying to add it to another one when already on a list will automatically remove it from the first one before it is added to the second one

RE: [Flashcoders] How to access MovieClip declared in one function in an event listener

2011-04-22 Thread Steve Abaffy
.) Is all of this code on the timeline? -Gerry On Apr 22, 2011, at 12:35 AM, Steve Abaffy wrote: So basically the only way to make this work is to declare the myMovieClip as a global variable?? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun

[Flashcoders] Why doesn't this work addChild() removeChild()

2011-04-22 Thread Steve Abaffy
Hello, Why doesn't this work?? In the same function Var Mort:movieClip = new Mort(); addChild(Mort); removeChild(Mort); I get this error The supplied DisplayObject must be a child of the caller. ___ Flashcoders mailing list

[Flashcoders] Why doesn't this work addChild removechild

2011-04-22 Thread Steve Abaffy
Quick update Function{ Var Mort: MovieClip = new Mort(); Try{ removeChild(Mort); }catch(e:Error){ // Do nothing; } addChild(Mort); } This function is called multiple times and each time it adds the child Mort, but I want to remove the one placed

[Flashcoders] How to access MovieClip declared in one function in an event listener

2011-04-21 Thread Steve Abaffy
Hello, I basically have the follow: Function DrawMyStuffOnScreen():void{ Var myMovieClip:MovieClip = new DefinedMovieClip(); Var myButton:SimpleButton = new DefinedButton(); myButton.addEventListener(MouseEvent.CLICK,DoSomething);

RE: [Flashcoders] How to access MovieClip declared in one function in an event listener

2011-04-21 Thread Steve Abaffy
(myMovieClip.TextField.text); // This show a complier error of basically I don't know what myMovieClip is; } On Apr 21, 2011, at 9:44 PM, Steve Abaffy wrote: Hello, I basically have the follow: Function DrawMyStuffOnScreen():void{ Var myMovieClip:MovieClip = new

RE: [Flashcoders] problem with adding two digits

2010-12-14 Thread Steve Abaffy
It has to do with the fact that computers have to convert all numbers to binary then perform math on those numbers and then convert back to decimal. In the process of this conversion you get results like these. If you need the addition to be accurate and you know that the numbers will always

RE: [Flashcoders] Math help

2010-09-10 Thread Steve Abaffy
What you need is something called Translation. I am leaving the office so I can't work out the problem for you, but basically pick a point on the map and call it 0,0 and then the lat and long of that same point will represent 0,0 and all you have to do is subtract or add the lat and long of the

RE: [Flashcoders] Calculator

2010-03-17 Thread Steve Abaffy
The question what is 15% of 3000 is different then 450 is what percentage of 3000. The equation sum/total * 100 = percent is valid. In the first question we have Sum/3000 * 100 = 15 solves to sum = 450 In the second question 450/3000 * 100 = percent solves to 15 -Original Message-

RE: [Flashcoders] Placing sprites on the circumference of a circle

2009-11-09 Thread Steve Abaffy
Rotate the sprite the same as the angle your using. So if it is at the top of the circle use 90 degrees, if it is half way between the equator and the north pole then 45 degrees etc... -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] why is called Vector in AS3? why not TypedArray?

2009-04-27 Thread Steve Abaffy
Well with regards to the monitor position, I have always thought that the bottom left corner should be 0,0 just as in the Cartesian coordinate system so that increasing numbers go to the right and up on the screen. It makes graphic mathematical equations so much easier. -Original

RE: [Flashcoders] Intersection on circle based on angle

2009-03-17 Thread Steve Abaffy
The x and y coordinates are X = r * Cos(angle) Y = r * Sin(angle) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Tuesday, March 17, 2009 9:15 AM To: Flash Coders List Subject: Re:

RE: [Flashcoders] What is the ActionScript equiv. to HTML param name=LOOP value=false /?

2008-11-01 Thread Steve Abaffy
In the last frame of the movie clip add a stop(); action. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of William Adams Sent: Saturday, November 01, 2008 2:06 PM To: Flash Coders List Subject: [Flashcoders] What is the ActionScript equiv. to HTML param

RE: [Flashcoders] sizing an arbitrary loaded swf

2008-10-02 Thread Steve Abaffy
Just brainstorming here, not sure if this will work. Can you not put a box or something on the stage that is the same size as the stage. If you can access individual components on the stage then get the size of this box and you will know the size of the stage. Just my $0.02 worth -Original

RE: [Flashcoders] What kind of Movies will play directly in a Flash Page

2008-09-11 Thread Steve Abaffy
setting on the file type .flv on server. This will cause an appearance of 404 when it is actually there. B. On Wed, Sep 10, 2008 at 10:17 AM, Steve Abaffy [EMAIL PROTECTED]wrote: Yes I did this. However I also found the if I go to the webserver and try to play the flv movie directly using

RE: [Flashcoders] What kind of Movies will play directly in a Flash Page

2008-09-11 Thread Steve Abaffy
the following line to the htaccess file: AddType video/x-flv .flv On Thu, Sep 11, 2008 at 4:03 PM, Steve Abaffy [EMAIL PROTECTED] wrote: What should the mime type be?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl Sent: Thursday, September 11

[Flashcoders] What kind of Movies will play directly in a Flash Page

2008-09-10 Thread Steve Abaffy
Hello, I have a client that has a .wmv movie and wants to know how you can get it to play directly in the browser window without opening a helper app such as Windows Media Player. Does the movie have to be converted to a different format or how is this done. Basically he wants

RE: [Flashcoders] What kind of Movies will play directly in a Flash Page

2008-09-10 Thread Steve Abaffy
. Steve Abaffy wrote: Hello, I have a client that has a .wmv movie and wants to know how you can get it to play directly in the browser window without opening a helper app such as Windows Media Player. Does the movie have to be converted to a different format or how

RE: [Flashcoders] What kind of Movies will play directly in a Flash Page

2008-09-10 Thread Steve Abaffy
of Movies will play directly in a Flash Page Make sure your source is relative to your website and not a path like: DO: movie.flv DON'T: C:\foo\bar\movie.flv On Wed, Sep 10, 2008 at 9:57 AM, Steve Abaffy [EMAIL PROTECTED] wrote: I have found that using a FLVPlayback component will play the movie. I

RE: [Flashcoders] pythagoras question

2008-08-27 Thread Steve Abaffy
It sounds to me like your trying to find the x,y coordinates along a line. If this is the case then: M = (starty-endy)/(startx-endx) and B = -startx + starty Then Y = m*x + b where x is the current x location of the train and y will be the y-coordinate of the train. I hope this helps.

RE: [Flashcoders] Random numbers list

2008-07-28 Thread Steve Abaffy
Every time you generate a new random number go through the array and see if any match the new number if so generate a new one and check again, if not add it to the array. With only 10 numbers in the array it would check very fast so you wouldn't be taking a performance hit. -Original

RE: [Flashcoders] barcode

2008-07-24 Thread Steve Abaffy
It all depends on what is the code for the barcode, There are many types. You can check out IDAutomation not sure of the website but they sell a bunch of different barcode type fonts. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent:

[Flashcoders] OT: Need help finding a List or good book on how to code for InDesign CS3

2008-05-05 Thread Steve Abaffy
Hello, I apologies for the off topic post, however I have spent the last 5 hours looking all over for a good book or list for writing vbscript for InDesgin CS3 with absolutely no luck. So if anyone is also an InDesign user that can give me a hint or a resource I would really appreciate

RE: [Flashcoders] urgent angle problem

2008-02-05 Thread Steve Abaffy
Just add 360 that should do it. But I wander if in your code you have if (angle 0) shouldn't that be if (angle 0)??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: Tuesday, February 05, 2008 11:11 AM To:

RE: [Flashcoders] least to greatest

2007-07-06 Thread Steve Abaffy
I am not sure if there is a sort method for arrays such as Array.Sort(direction) if such a function does not exists then you can always write a quick bubble sort function. function bubblesort(ArrayName){ changesmade = true; for(y = 0; y ArrayName.Length; y++{

[Flashcoders] Adding Buttons Dynamically

2007-05-31 Thread Steve Abaffy
I would like to be able to add 1 to 18 buttons to the stage dynamically. Then buttons need to have dynamic text. So the idea would be that there would be one generic blank button with dynamic text. So basically, If(Room[x] != undefined){ Createnewbutton; //not sure of exact code required

[Flashcoders] Animated Button Problem

2007-05-30 Thread Steve Abaffy
Hello, I am trying to make an animated button. This is what I have so far. I have a blank button graphic, a blank movie clip for the animation, and a downstate blank button. I make a new symbol (button) In the Up frame I have the blank button graphic and then I put a text box on it and

RE: [Flashcoders] format alert text

2007-04-25 Thread Steve Abaffy
Can you not use \t in the text for tabbing, not sure about making it bold tho. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maziak, Peter Sent: Wednesday, April 25, 2007 3:48 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] format alert

RE: [Flashcoders] Scaling Up an Image in Proportion to width or height

2007-03-29 Thread Steve Abaffy
Yes but you could do it like this You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * (1/ratio); Which is the same thing as _height = _width / ratio; This would be (_width/_height * _height) this cancels the _height leaving you

[Flashcoders] How to run an external exe file

2007-03-21 Thread Steve Abaffy
Hello, I am creating a Flash exe to run off of a CD. I have a second exe that I want to run from the first. The second exe runs fine by itself, but when I start it from the first all the resources of the second exe file do not load, it looks as if they cannot be found. Both exe files are

[Flashcoders] FW: How to run an external exe file

2007-03-21 Thread Steve Abaffy
Hello, Sorry if this is a repost as I didn't see it the first time I sent it. I am creating a Flash exe to run off of a CD. I have a second exe that I want to run from the first. The second exe runs fine by itself, but when I start it from the first all the resources of the

RE: [Flashcoders] Annoying, (should be simple) bitwise problem

2007-03-21 Thread Steve Abaffy
You could try. Var col = 0xff; Var redmask = 0xff; Var greenmask = 0x00ff00; Var bluemask = 0xff R = col redmask; G = col greenmask; B = col bluemask; R = R 16; G = G 8; //Blue does not need shifting. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [Flashcoders] How to run an external exe file

2007-03-21 Thread Steve Abaffy
Of Jim Berkey Sent: Wednesday, March 21, 2007 2:36 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] How to run an external exe file On 3/21/2007 at 11:39 AM Steve Abaffy wrote: Hello, I am creating a Flash exe to run off of a CD. I have a second exe that I want to run from

RE: [Flashcoders] trig? calculus? put me out my misery

2007-03-12 Thread Steve Abaffy
If I understand this correctly the movie clip will point in some direction and when it is clicked the clip moves off in that direction. If this is correct there are several ways to handle this. First I will assume you want the clip to move off in a straight line, curves can be done as well but

RE: [Flashcoders] Adding Dynamic Text to Scroll Pane

2007-03-01 Thread Steve Abaffy
Hello, Thank you for the warm welcome, I am glad to be here. The problem unfortunately still exists. Here is the code I now have. Data = new LoadVars(); Data.load(/listing.txt); Data.onLoad = function (success) { if (success) { ListingTextMC.Listing_Text

[Flashcoders] Adding Dynamic Text to Scroll Pane

2007-02-28 Thread Steve Abaffy
Hello, I am new to the group and have already looked at the archives, and on line for the answer to this and can't find it anywhere. Here is what I have. I have a MC which has a ScrollPane. I have the ScrollContent set to nothing (Also tried setting it to a dynamic text box) and when I