flash

how to maintain ASP session during navigateToURL (safari issue!)

I have the following AS3 code that requires asp.net SESSION cookies remain intact, now it seems that SAFARI does not keep cookies well. (all other browsers are OK). I have cookie based sessions at the moment, question is how to alter the following code to support COOKIELESS sessions in case it works better? var request:URLRequest ...

Building Flash Movie Dynamicaly with Jpgs/png

I would like to create a flash movie dynamically with jpgs and other data on server. Is there any server side software that does this? ...

Flex Databound List with ItemRender - Reorder resets CheckBox Values

Hi I have a Flex List which is databound to a Array. My problem is that when I reorder the List using the built in dragMoveEnabled, the values are reset to the original values. I assume I need to somehow do a two-way databinding but I am not sure how. <mx:List width="100%" top="20" id="uiItemList" dragMoveEnabled="true" bottom="0...

Overlaying a transparent PNG over a SWF disables all click events in the SWF

Hi all, I'm trying to position a transparent PNG over a SWF movie through CSS (absolute positioning). But when I position the PNG directly over the SWF, all click actions on the SWF seem to be disabled. The SWF is asking to use your webcam, but you can't click any of the buttons. Check this link for an example. You can find the CSS her...

Extraneous text padding in Flash

It seems that flash.text.TextField in Flash has some built-in padding. In particular, my problem is that I need to left-align a text with some other graphical elements, and there is visible (about 3px) offset. The class flash.text.TextField (or any other related text class) does not seem to have property which could change it. I know th...

Create image viewer in ajax or flash?

I've been trying to do more Web development work recently (I currently do other tech stuff, but have some experience with Java, C++, VB, Python, and PHP) and I was asked to create a basic Web site with an image viewer. The site is for an artist and she wants the viewer so users can see thumbnails of her paintings and click them to see a ...

Problem getting FLVPlayback to work with Streaming Server

I am trying to use the CS4 Flash FLVplayback component to connect to a streaming server. I know the stream is accessible because I can create the connection and view the video using Actionscript, but I would love to use the built in features of the component. I am dragging a FLVplayback component onto the stage, setting "isLive" to true...

Flex: How to tell if TextArea has blinking cursor

Is there a way to tell if a Flex TextArea has a blinking cursor? One indication is if the component is focused: focusManager.getFocus() == textArea But it's possible to have a blinking cursor without having the focus. I'm not sure if the converse is possible (focus without blinking cursor). Edit: The rub here appears to be a di...

compile a swc in flash for use in flex, with a class written in flex

OK, It sounds complicated, but it's not. Here goes: I want to use some assets ( buttons, etc. ) I'm creating in flash in a flex actionscript project. Since all my assets are bellow 10K, I'm not planning to load a swf ,wait until it's loaded and create the interface. I want to use a swc and just instance the clips I need. Also, I want my...

Adobe Air Questions/Resources

I recently became quite interested in developing an adobe air application, and just had a few questions that maybe some more experienced air developers could answer. Firstly, what is the average time-frame required for an air project. Mainly I'm planning a somewhat ambitious project of porting a specific forum framework over to an air a...

Flash & SWFObject2 stops flash audio in background tabs

I use SWFObject 2.2 to play sounds for an AJAX based game I have made. I used to use SWFObject 1, and everything worked fine, but when I updated my game, I updated to 2.2. Now, when users try to listen to music on Youtube or Pandora in another tab on Firefox while playing the game, they can't unless they have that tab selected. What i...

swf to pdf using php

Is there any way to convert a SWF to pdf using php. i mean the page has a button on the click it must export the swf contents in pdf. ...

Using JQuery lightbox from flash

Hi, I have a flash movie from which I want to open a Jquery lightbox. Is it possible? Thanks ...

Setting PHP session variables using Flash Actionscript

Hello all, I have a simple PHP upload script that is called from my Flash App. I am sure it makes the call because it actually uploads the file! session_start(); $default_path = 'files/'; $target_path = ($_POST['dir']) ? $_POST['dir'] : $default_path; if(!file_exists($target_path)) mkdir($target_path, 0777, true); $destination = $t...

If I call a flash function at the same time as a href link will flash function always be executed?

Hi all, I have the following code in page1.php : <a href="page2.php" onClick="javascript:callFlash();">Go to page</a> This calls a function in a Flash movie on page1.php and opens page2.php. My question is this: Can I be sure that the flash function will always be called and finish executing before page2.php is called? (The flash f...

Export transparent png from Actionscript to .NET

Can you export a drawing made in flash as a transparent png in actionscript I know you can do it as a jpg with a white background but can you export the transparency? ...

Loading a SWF into an ActionScript 3 project (Flex Builder)

We're developing a small Flash gamelet for an European client of ours, who require us to develop our Flash game in such fashion that they can load our SWF game into their ActionScript 3 project, dynamically. Basically they have a console that will load many other Flash games, amongst our own, depending on which button the player presses...

swf to jpg using actionscript

Is it possible to convert an swf to image using actionscript. ...

Why can't I replace the movie clip in this example with another?

http://www.sephiroth.it/tutorials/flashPHP/print_screen/page002.php In this code, if I replace the movie clip with a different one, it does not work. What am I doing wrong? Code: function print_me(){ video_mc.pause() // first pause the playing video pn = new PrintScreen(); // initialize the PrintScreen class pn.addLis...

[Flash/Papervision3D] DisplayBoject3D's axis aligned bounding box, and why geometry is null?

I am trying to retreive the 2D bounding box for a 3D plane I have on stage. With some research I figured out I should be looking for: plane.geometry.aabb But the plane, added on stage and such has null for its geometry? - what am I doing wrong here? I am able to calculateScreenCoords and get screen.x, screen.y. But it would save my day...