Want to send in State, City, County variables from Flash to PHP page:
function retrieve() {
var scriptRequest:URLRequest = new URLRequest("http://localhost:8080/GSM/KJVold.php");
var scriptLoader:URLLoader = new URLLoader();
var scriptVars:URLVariables = new URLVariables();
scriptLoader.addEventListener(Event.COMPLETE, handleLoad...
Hi guys,
I'm pulling my hair out (once again), trying to find a way to read the activity level of audio of a NetStream, similar to how you can do it with a Microphone. I'd hate to have to let each client send it's activitylevel through SharedObjects or the like, which right seems to be the only way to actually get it to work.
Thanks so...
I wanted to make a magnifying glass effect in one of my project.
I want this magnifying effect on full flash, i.e. even on dynamic object. So this is why i can't use large static images.
Please suggest me best way to proceed on this problem.
...
I'm working on an application where I'm drawing some rectangles on the screen, and then will need to manipulate the shapes (change their size, location). I tried to do something with .drawRect and clearing the shape each time I was manipulating it, but the RAM usage was spiking and then falling (presumeably because i keep reinitializing...
I'm attempting to draw a background to a chart. If I try to call
canvas.beginFill(0xff0000,1)
canvas.drawEllipse(10,200,300,-30);
canvas.endFill()
And -30 is outside the range of the chart, it won't draw anything. I want it to draw an ellipse that is cut off by the edge of the chart.
...
I'm playing around with streaming live video to the Flash Player. The problem is, it seems (from my logs) that many users will open a live video feed and then just leave it open all day, whether or not they are actually watching it.
As you can imagine, this is a horrendous waste of bandwidth. So I would like a way to determine if the us...
Hi
I want to find the longitude and latitude of place with a the help to a zipcode.
Can anyone tell me how to do that?
An example in actionscript what be very much helpful for me. Because i am making a project in Flex.
Regards
Zee
...
I'm looking for a best practice to synchronize 3 separate flash banners displayed on the same page.
Basically all of them need to preload (politely), notify they're all prepared after what a command would somehow launch the animation of the 3 of them synchronously making them act like one and single add.
The solution needs to be x-br...
Hi all!
I have a flex application and I want to add a new custom component with action script at runtime.
This works fine. I have created my custom component and added the following code:
var freeView:FreeView=new FreeView();
freeView.setStyle("showEffect",this.fadeIn);
freeView.setStyle("hideEffect",this.fadeOut);
freeView.visible=fals...
Anyone know of a good reg exp that can do this, optimally in one go? It needs to remove whitespace at begin/end of each line, remove LFs and CRs and replace with a single space but if there's a <br> (or <br/>) at the end of the line it should not add a space. I'd need this in a JavaScript conform regexp.
...
Is it possible to change smoothly transition between one bezier based animation and another using TweenMax ?
Before the first is complete I would like to create a new curve for the object to follow.
t = new TweenMax(movieClip, speed,
{bezierThrough:[{x:84, y:207}, {x:300, y:345}],
orientToBezier:false, ease:Sine.easeOut, onComplete:w...
I'm using as3corelib to decode/encode JSON strings. In my little experiment I want to encode
an object (UserInfo) to JSON string and decode it back to the object, however it seems to fail at the convertion point (the last line), why would that happen? how can I make it work?
The UserInfo class
public class UserInfo
{
public var le...
I am trying to stop the audio of the video swf and i can't get it to stop. Here is my code for loading the file
var myLoader:Loader= new Loader();
myLoader.x=420;
myLoader.y=200;
// boolean variable set for use below in our function
var screenCheck:Boolean = false;
//These three linces keep stafe elements the same size, so they don't d...
I am using Flash CS3 - AS 3.0
i have the following code that i am using to make the image count external, I am not sure if you all are familiar with Slideshow pro, i dont think that you need to in order to help me.
function albumStuff(event:SSPDataEvent) {
if (event.type=="albumData") {
total1.text = event.data.totalImages;
}
}
...
I'm looking into making a music theory lab application, where you can see the graphical relation between music theory concepts. I would like this to be available online, so Flash and Silverlight come to mind.
But I would like to dynamically generate tones and chords etc from user input. This is something I know is a very underdeveloped...
Have some code that's been in use for quite some time - always compile with mxmlc. Just compiled it with amxmlc and it gave me errors over the presence of "customItems" - nothing else at all in the entire 1500+ line AS3/flex program. I took out the customItems reference and it compiles with amxmlc just fine.
Nothing about that featu...
I'm trying to do a bottom menu like in www.zara.com.
My code have a transparent movieclip that shows the menu when mouse rolls over it, and hide when mouse rolls out.
The menu appears over that transparent movieclip, so I can use the roll over and out actions to maipulate the menu with the transparent MC.
The problem here is when m...
I am populating a textfield programmatically and scrolling to the maxScrollH as the new text is added so the user can see the progression of text. This works fine, until I click the TextField, which sets scrollH back to 0 and places the caret in the text at the equivalent position.
textField.setSelection( text.length, text.length ); //s...
I have a Flex3 application which has to be capable of uploading multiple files and monitoring each files individual progress using a label NOT a progress bar.
My problem is that a generic progress handler for the uploads has no way (that I know of) of indicating WHICH upload it is that is progressing. I know that a file name is availabl...
Is there any way of getting a list of registered listeners for an EventDispatcher?
I know that EventDispatcher has the hasEventListener method to tell you if any listeners are registered, but is there an easy way of interrogating the EventDispatcher to find out what the listeners are?
One way I figured to do this was to subclass Event...