Flash ByteArray


Hi have an oscilloscope type of thing for my mp3player.. and it all
works good apart from when the first cycle of the readFloat always
originates from 0,0 and in the first piece of data it draws a little
vertical line from 0,0 to first piece of data of 256.
How would I
solve this ?
class="bbcode_description">Code:
var
spectrum:ByteArray = new ByteArray(); />SoundMixer.computeSpectrum(spectrum);
sp.graphics.clear(); />sp.graphics.moveTo(spX,spY+20);
for (var i:int = 0; i < 256;
i++)
{
 spc = -20 + spectrum.readFloat() * 40; /> sp.graphics.lineStyle(1, 0x0
hello everybody
at the current status of my project i must write
an application (With AIR or ZINC) who its job is:
1st-getting
some files from user
2nd-modify them with an algorithm
(encryption or encoding or changing byteArray) to simply corrupt the
file and make it impossible for other applications to read the
corrupted file!!
3th-saving corrupted file on disk!!
then i
must make another application to:
1st- open the corrupted file />2nd- fix it with the reversed algorithm of above "file
corrupter application"
3th- read it in normal way />currently the files that needs to be corrupted with my "file
corrupt
Development Tools & Services
hi, I'm working on a small web
project Combines between flash AS3 and php ,the project Depends on
three steps...
1- convert bitMapData to byteArray |with
JPGEncoder |
2- convert byteArray to String and Send it to php
and data Base.
3- receive again the string byteArray from php and
convert it again to byteArray.
the problem is STEP3 >> How
to convert String to byteArray??
Thank you to anyone who can
help me!!!!
Development Tools & Services
hi, I know its a true Pain but does anyone know any way to convert wav
ByteArray to mp3 ByteArray.Thank you to anyone who can help me!!!!
Development Tools & Services
Hi everybody!
I'm really stuck in this issue... And I'd like to
find out your help!
I found on Adobe site this code to create the
waveform in realtime of what is captured by the microphone. And it
works really great.
---WORKING CODE----
import
flash.media.Microphone;
import flash.events.SampleDataEvent; />import flash.utils.ByteArray;
import flash.display.Graphics; />var nWidth:Number = stage.stageWidth;
var nCenter:Number =
stage.stageHeight / 2;
var nScale:Number = 100;
var
myGraphics:Graphics = graphics;
var my_mic:Microphone =
Microphone.getMicrophone();
my_mic.rate = 10;
my_mic.g
Development Tools & Services
Hello all,
I'm tying to upload a file to my server, for a project
due by EOP today 0_o... I'm stuck on the ServerSide code though.. />I think it's the ASP code that I've got wrong... Has anyone got some
examples? I'm sure I've seen some on the Net, but I can't seem to find
anything at the moment...
Thanks
Here is my AS3 Code />
class="bbcode_description">Code:
var
ba:ByteArray = e.currentTarget.data as ByteArray;
var
baURLRequest:URLRequest = new
URLRequest("http://www.severadd.com/toolkit/app/scripts/saveByteArray.asp"); 
    &nbs
Development Tools & Services
Hi have an oscilloscope type of thing for my mp3player.. and it all
works good apart from when the first cycle of the readFloat always
originates from 0,0 and in the first piece of data it draws a little
vertical line from 0,0 to first piece of data of 256.
How would I
solve this ?
class="bbcode_description">Code:
var
spectrum:ByteArray = new ByteArray(); />SoundMixer.computeSpectrum(spectrum);
sp.graphics.clear(); />sp.graphics.moveTo(spX,spY+20);
for (var i:int = 0; i < 256;
i++)
{
 spc = -20 + spectrum.readFloat() * 40; /> sp.graphics.lineStyle(1, 0x0
Development Tools & Services

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow