as2

Flash caroussel xml parse html link

Hello I am trying to modify a carousel script I have in flash. Its normal function is making some icons rotate and when clicked they zoom in, fade all others and display a little text. On that text I would like to have a link like a "read more". If I use CDATA it wont display a thing, if I use alt char like <a href="www.googl...

Flash upload keeps going after page refresh

I have a rather strange problem, well strange to me. I have a file upload tool that I created in flash (as2). The file uploads images and then writes the image details to a database. However, I seem to have a problem then when I refresh the page, the upload script keeps working. And this seems to cause some issues with writing to the d...

Easy way to bring a php variable on flash with AS2

Can you show me an example of a very easy implementation in AS2 (action script 2.0) to bring a var from a php file. I have a php script who return a value into the var $result when it is executed, how can i use this var on flash? Thanks ...

Send XML to php script from flash AS2

I have to send some specific xml to a php script (from flash AS2) that then sends out sms message based on the xml. I have been given the xml by the sms sender and have tested it via their live demo and that works fine. The problem I am having is getting flash to send this XML. The sms sender states that it needs to recieve the xml in t...

AS2 Net connection memory leak

Hi, I noticed that NetConnection leaks memory var nc:NetConnection = new NetConnection(); var o = new Object(); o.onResult = function () { trace ("onResult"); nc.close(); loadData(); } nc.onStatus = function () { trace ("onStatus"); nc.close(); loadData(); } function loadData () { // some amf serv...

How to restrict the text field in actionscript 2.

this is my code .. import RegExp; var userEmail:String; var userName:String; var userPhone:String; how to restrict my userPhone:String; to take only numbers? i tried the restrict property. the compiler gives me error. ...

Biztalk AS2 MDN AS2EdiReceive "No Disassemble stage components can recognize the data"

Okay, I've looked through all the walkthroughs on the MSDN.. and I don't know what's happening. I've got an asynchronous MDN that's being received by my One-Way port which has the pipeline as "AS2EdiReceive". All EDI files come in fine. It's the MDN files that generate the "No Disassemble stage components can recognize the data". He...

Using Google's youtube API is there a way to determine if a video has been removed or no longer available?

I have been using the Google data API to search video from Youtube and play it back in a chromeless player as part of a Flash (AS2) swf I have developed. here's my workflow - Search Youtube with PHP page that includes Zend_Gdata_YouTube class Retrieve and display videos in a Flash swf which play if user clicks. Store video ids in data...

Communication between flash files

How can I make something like this: http://www.litespell.com/altinorumcek/banner/etkilesimli/etkilesimli_craxla.html One flash triggers the other one. ...

Changing the framerate of a tweened animation in Flash

As part of a project I am recycling old AS2 flash animations for use in a new context. The old framerate was 60fps, the new 30fps. The new project is also AS2. Several of these animations are fairly complex timeline animations, with multiple layers, tweens, and clips within clips with timeline tweens applied. Editing these to run at the ...

Adobe Flash CS5 Tween Multiple Properties and MovieClips

Is it possible to make a classic tween in adobe flash cs5 to tween multiple properties and movieclips at the same time? For now, all the movieclips move to the same position. I really want each one to start in certain positions and then get a new custom x, y and rotation(in 20th frame) and then let a classic tween do the rest. I have u...

AS2 Dynamic MovieClip Selection

If I have movieclips called "test1", "test2" and "test3" in the _root, I can use: for(i = 1; i <= 3; i++){ _root['test'+i]._x = 100; } How do i use the "_root['mc']" selection method if all my test mc's are in another mc called layout. I have tried this but got a syntax error. for(i = 1; i <= 3; i++){ layout.['test'+i]._x = 10...

Embedding flash files

I have the strangest problem I can't seem to figure out. I have created a simple flash image gallery. Like every other gallery it gets photo information from an XML file. It works fine, I have had no issues working on the flash file locally. However once I uploaded the .swf and .xml (and all the images) I ran into some trouble. The .s...

Can I somehow use CS4 to build an AS2 project that uses the new FLVPlayback component?

We have a huge project written in AS2 with the old FLVPlayback component which was responsible for progressive download playback of FLVs. I'd like to support MP4 files (which is now supported in Flash 9 and up with the updated FLVPlayback) but would like to not have to rewrite all of the project. I've seen in various posts on SO surmis...

Flash AS2 interval problem

I'm using an interval for fade in effect of some objects in flash, but for some reason I can't get it to work if it's called on more than one object. function fadeInPage (pageName) { pageName._visible = true; alpha = 0; fade = setInterval(fadeIn, 15); function fadeIn() { alpha += 5; pageName._alpha = alpha; if (alpha>...

AS2 Trigger onRelease event

Hey all, i have a movieclip with an onRelease event. Is there anyway i can trigger this event in code? without clicking the movie clip? ...

AS2 Flash Input Text Problem

Hi, Well I've big problem and no idea how to sort it out. I've made a form in Flash using input text fields. The point is i'm Polish so our customers expect so they can put a polish character inside the input text field ( ex. źćż etc ). The problem occurs on WebKit Engine Browsers ( Safari, Chrome ) which just put normal characters ( l ...

drawing with two mouse using AS2(flash 8)

hi, i have made a drawing application using AS2.It works fine but when i try to use two mouse instead of getting two different lines,both the lines get connected it appears like a square wave form. So what i think is it is the problem with mousemove. can anybody help me out for drawing using two mouse.? thanks in advance ...

How to stretch , rotate movieclip or swf in as3 without code??

Well i am building the script as shown below http://www.uberprints.com/studio/?pId=AA2001OR&amp;cId=NAT&amp;dec=S Now click at "add image" and load any image.. The image will be shown on the shirt and the blue border shown around the image comes by-default or is it a movieclip ?? Secondly the image itself is a movieclip or external s...

preloading external swf files with actionscript as2

hi everyone, i'm relatively new with flash, so... i've been looking into this for 2 days now, so i hope someone can help me out. i have several external swf files, each one can call any of them. say i'm in home.swf and i clicked about.swf, i want to stay in home.swf whilst about.swf is being loaded so i don't have an empty screen....