flash

how to change radiobutton size and label size in actionscript.?

Hi guys... I am trying to change my radiobutton size and label size in pure as3... searchRB = new RadioButton(); searchRB.name = "search"; searchRB.group = rbg; searchRB.label="Search"; searchRB.labelPlacement=ButtonLabelPlacement.BOTTOM; searchRB.selected = true; searchRB.move(0, (searchInput.y + searchInput....

AS3 How to create scrollBar for Movieclip in actionscript 3

Hi guys.. I am trying to scroll a movieclip with a scroll bar....I have tried ULscrollBar but it ends up only works for text... Are there anyway to scroll MC by using only AS3 in flex environment...? Thanks. ...

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>...

How to drag a movieclip to change different movieclip's value?

Hi guys.... I am trying to create a mc with drag function.My question is how to change another movieclip's x value when I drag my first mc... videoSlider.addEventListener(MouseEvent.MOUSE_DOWN, scrollMC); videoSlider.addEventListener(MouseEvent.MOUSE_UP, stopScrollMC); private function scrollMC(event:MouseEvent):void{ even...

unable to add dynamic images in flash image gallery( Joomla Module )

Hello All i m using flash on a module of Joomla to display images, i embed flash player code into javascript , it fetch images from an XML files wher images are predefined and it works fine, now i have a problem that i m collecting images from database, means images are dynamically, so i m unable to fetch that images an display on flash...

Why is there a difference in the tweening I am doing when I tween two objects?

I have a TextField and a Sprite both at y = -20; and they are in the correct position. Then I do this tween. Tweener.addTween(t, {y: 20, time:0.5, transition:"linear"}); Tweener.addTween(noteBar, {y: 20, time:0.5, onComplete:Hold, transition:"linear"}); (t is the TextField and noteBar is the Sprite) What happens when I do this is th...

How can I display flashfilms in ASP.net?

In my current project I have the following situation: A multipage PDF gets rendered by some nasty software into a flash film. My job is to display that rendered flashfilm (will be rendered as file) in my current asp.net application. I don't know what the rendered flashfilm will look like, but I assume all flash files behave the same? Or...

FlashDevelop Compile settings

I'm using FlashDevelop (latest version) + Flex 4 SDK for some projects, and am finding it a very efficient setup so far. However, I have a problem. Say I create an AS3 project in FlashDevelop, and add AS3 10 classes to it (in 10 .as files), one of them being my main class which will be the principal SWF. As expected, my main class comp...

OSMF Flex examples

Hi there, Are there any examples on how to use the code found in the OSM framework in Flex? I would also need the player to be skinnable (hopefully by CSS). Thanks! ...

Actionscript 3 :Simple Drag Question.,..

Hi guys.. I am trying to create a scroller...The videoSlider is my scrollBar and I want to drag it so my secondMC will move....everything works fine in my code but if I mouse down in my videoSlider and up outside of it....The drag state still apply and it's not what I desire....any ideas?? Thanks... videoSlider.addEventListene...

Is there a solution to deliver multi-bit rate(dynamic stream) live video from pc camera other than FMLE?

I'd like to do it with actionscript, but so far I only found it's only possible with FMLE,which works as a standalone application. ...

Actionscript3: scrollBar drag area question....

Hi guys...My brain is fry now and I need you guy's help My last post http://stackoverflow.com/questions/3449725/actionscript-3-simple-drag-question I am trying to get the scrollBar(videoSlider) dragged to the certain point base on my secondMc(container) I have X number(dynamic) of small pics in my secondMc and I want my scrollBar stop...

Global style selector not supported for module style inheritance?

I've got an application that loads multiple modules and according to this document, styles should be inherited (possibly only if they are in the same ApplicationDomain which they are in my case.) This seems to hold true, except for embedded fonts. It seems as though I'm unable to use embedded fonts in my modules, when those fonts have b...

Detecting mouse move and release on a locked draggable object

I'm making a custom slider component. The head (the thing that you drag) is programmed like this: head.addEventListener(MouseEvent.MOUSE_DOWN, function():void { head.startDrag(false, new Rectangle(stubDiv,0,width - stubDiv - ((levels-maxLevel)*stubDiv),0)); }); head.addEventListener(MouseEvent.MOUSE_M...

Working example of NetStream.videoSampleAccess?

I'm currently building a browser-based application using Stratus. So far everything is working fine and I understand how it all works. The problem is when I try to manipulate the pixel data of the incoming remote video stream using BitmapData.draw(). What happens is that I get a sandbox security error, which is understandable. To solve...

How to change flash drive name using cocoa on Mac OS X

Hello, as stated in the subject, I am looking for a way to change a Flash Drive name/label which is appear on the desktop when the volume is mounted. I have tried different ways: 1) Disk arbitration 2) Just rename as a File using NSFileManager Thanks in advance, Vladimir ...

ActionScript StrictMode (beginner)

How do I turn on the strict mode in Flash Builder 4? --update I found something about "Preferences -> Actionscript 3 Settings", but there is no such option in Flash Builder preferences. ...

Flash Uploads and Proxy Issues

We have an internal application written in Flex that uploads content to a .NET web handler for processing. We have periodic issues due to clients behind proxy servers where it will occasionally prompt them to connect to the proxy server before doing anything, but if they do, the application doesn't work properly. If they cancel, the app...

firefox making white "flash" as it builds the page.

Ive been working on building a website with a flash slideshow component, and I am a little bit puzzled. When I view the page in Firefox (3.6.8), it appears to download the content of the page first and makes a white "flash" as it downloads the slideshow. But when I view the page in Safari it appears to build the page first, then downlo...

listing files in a folder using as3

I want to get a list images inside a folder but in order to do that, I need to get the names all the files inside a folder first. What flash class should I look into to allow me to do this? EDIT: how about doing this using php? what should I return/echo on my php file? ...