you can draw a best fit curve through points created from the data to get what you want, have a look on google for a class to do the best fit stuff, i've seen one but don't remember where. shouldn't be too tricky...

Roliks Long wrote:
Hey guys I have a questionn.

My client wants to have flash display a spectrum wave graph. I am using Swift and I know it examines the MP3 during the conversion process and generates spectrum values that can be used to create the spectrum analyzer animation. Wouldnt it be possible to take this information for all 17 values per frame and plot a graphic of the wave (EX: like a sin, cos wave or wav editor). I have tried a couple things and I havent been able to get it to work at all.
Any help would be appreciated as I am at a loss and getting frustrated now.
Thanks
-Ski




----------------------------------------
Subject: RE: [Flashcoders] <li> color
Date: Thu, 29 Jun 2006 10:19:42 -0400
From: [EMAIL PROTECTED]
To: [email protected]

Jason/Adrian,

I am running a SWF and it displays the <li> text and bullet in the color
from the CSS.

Here is a sample:

function loadCSS() {
        setupCSS = new TextField.StyleSheet();
        setupCSS.onLoad = function(success) {
                if (success) {
                        trace("CSS Loaded")
                }
        };
        setupCSS.load("template.css");
}

function displayText(currentText) {
        interfaceSWF.mainTxt.styleSheet = setupCSS;
        interfaceSWF.mainTxt.html = true;
        interfaceSWF.mainTxt.multiline = true;
        interfaceSWF.mainTxt.selectable = false;
        interfaceSWF.mainTxt.wordWrap = true;
        interfaceSWF.mainTxt.htmlText = currentText;
}

CSS - li {color: #C1A9C3;font-weight: 900;font-family: Arial;font-size:
16px;display: block}

Not sure if placing the <li> inside the <ul> is causing the issue for
you.

-- Chuck

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Thursday, June 29, 2006 9:54 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] <li> color

Also, be sure you are testing the .swf in HTML a browser.  If you just
double-click the .swf file on your hard drive, the bullet does not get
colored (not sure why that is the case)

Jason Merrill
Bank of America Learning & Organization Effectiveness - Technology Solutions _______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_________________________________________________________________
Try Live.com - your fast, personalized homepage with all the things you care 
about in one place.
http://www.live.com/getstarted_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--

__________________________________

Tom Rhodes - Developer / Composer
Wheelhouse Creative Ltd, 2 Albion Place,
Hammersmith, London. W6 0QT
Tel: 020 8748 4466  Fax: 020 8748 4850
www.wheelhousecreative.co.uk
__________________________________

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to