flash

AS3 Flex masks with black background from png bitmap

Hi all What I am trying to achieve might be trivial, however I am loading a PNG mask which does not have a transparent background, but rather a black background, with the shape defined on top in white (the actual mask which needs to be applied). Apparently Flex expects me to provide a mask with a transparent background for it to work, o...

What's the easiest way to add flash to an html page to use with Jquery?

Is there a method in Jquery to add a flash movie easily? ...

as 3 button error

Hello! I'm very new to ActionScript 3.0 and Flash in general. I'm trying to update a website that someone else did with Flash, and am having issues with it. I need a button to link to an outside website, but I keep getting the error "access of undefined property" on my button. I am using cs3 by the way This is my code, any help would be...

use boolean with visible, as3

Is there a better way to do use a use a boolean with visible? I'm setting up animations that have conditions for visibility, and I don't want to use something that performs poorly. This animation blinks 30 times and stops. It works without error, but takes a moment to load. I would like to learn other ways of using visibility with condi...

How are Flash library symbols constructed? Why are width/height already available in constructor?

Suppose I draw a square on the stage, convert it to a symbol, export it for ActionScript with a classname of "MySquare" (and of course a base class of MovieClip). How is it that in the MySquare constructor, the width and height of this MovieClip are already available? In fact, any named instances in the clip are also available. I'm co...

Magento customer webservice / api

Hi guys, I need some sort of way to handle Magento's customer login, customer account creation and order checkout via some kind of webservice to be used for Flash, preferably XML. As far as I know the Magento API doesn't have these features. I found the Mammoth Webservices extension but it seems that the project is inactive judging from...

Flash AS3 - How do I access display object in other frames (aka a frame other than one)

getChildByName('name') will work as long as that child is in the first frame. ...

Substrings, timer and LED lights, as3

How would I sync my timer with my LED lights? I don't understand how to to set up the strings and conditions, so that they are unique to each number space. Need a condition and values for each blinker var condition:Number = 5; if(condition==5){ blink.visible = !blink.visible; //blink_.visible = !box.visible; //blink__.visible = !box.v...

flash dynamic textfield, multiline and wordwrap acting funky.

I have this weird thing happening with flash and a dynamic textfield. Basically, someone rolls over a marker on a map, and a tooltip pops up with a dynamic textfield. The textfield is set to multiline=true and wordwrap = true, and I defined a specific width of 160 pixels. The problem is, some of my text is jumping to the next line, some...

Speech recognition with Flash or Silverlight

I'm developing a web user interface to enter some information that is not very complex but needs to be loaded in real time. I think that the application could make use of speech recognition to facilitate the task. Te core of the interface is being built with Javascript and jQuery, but can easily include a flash or silverlight component...

Will HTML 5 kill Flash? Is it even worth my time to learn Flash?

Apple is always in the news these days with "i" this and "i" that. One of the biggest beefs people have with Apple is the lack of Flash support. Last year I held the same belief, Apple's choice to exclude Flash support just seemed senseless. HTML 5 seems to have changed this though. One of the most popular users of Flash is YouTube, ...

A* (A-star) implementation in AS3

Hey, I am putting together a project for a class that requires me to put AI in a top down Tactical Strategy game in Flash AS3. I decided that I would use a node based path finding approach because the game is based on a circular movement scheme. When a player moves a unit he essentially draws a series of line segments that connect that...

Service for converting SWFs with ActionScript to Video (MPEG, AVI, or MOV)

The SWF files generated by our application are a basic template that reference external resources (images, and textual data) that actionscript uses to fuel the display. Thus the SWF is responsible for the creative layout of the screen the flash player. It is the results of this actions script, images, and textual data that need to be c...

Control an embedded flash movie's playback in HTML/php

Hi I am using an embedded flash movie in my web page. I would like to show some alerts on the page when the movie has played for x seconds, pause the movie while the user views and dismisses the alert and start playing the movie again after that (or the user can press the play button, not important) The important parts being - the app ...

flash: how do i know how many times a string contains the substring?

for example, how do i know that the "hello world" string contains three letter l? ...

When I use a ws2007FederationHttpBinding, will flash applications be able to call my webservice?

Hi all, the question is in the title :) So when I host my webservice on a ws2007FederationHttpBinding binding, will flash web applications be able to consume my service (after authenticating against a trusted STS ofcourse...) ? greetings, Tim ...

Hide div after specific time and after buffer the flash video.

Hi i embed a video in my html page and i want to hide div after complete the video. and a specific time.my video time is 12 sec. I am using this function $('#fvideo').fadeOut(12000); and html code. <div id="fvideo" class="video"> flash video </div> UPDATE actually what i want is that flash video fadeOut time should...

In which case would HTML5 be advantageaous compared to flash ?

I have read a few articles, I can't see why one would use html5 instead of flash so any few examples which could show the advantages ? ...

HTML + FLEX: display flash behind HTML

hi, how can I display my flash video, behind the tags on top of the page ? Website: http://www.sanstitre.ch/drupal/portfolio?tid[0]=58 thanks I'm using SWFObject wrapper (cross-browser) http://code.google.com/p/swfobject/ <div style="background-color: rgb(255, 255, 255); width: 100%;"> <object height="445" width="660" type="applicat...

Can I use JSFL to set the "Flex SDK Path" in a FLA's library path?

I have a big set of fla's that use an ActionScript 3.0 class that uses the Embed Flex SDK feature. (Like this; [Embed(source="pngasset.png")] ) My Flash CS3 IDE knows where my Flex SDK path is. And my global actionscript library path contains; $(FlexSDK)/frameworks/libs/flex.swc; However when I recompile an older Fla. I get a dialog ...