Questions tagged [flash]

For questions on Adobe's discontinued cross-platform multimedia runtime used to embed animations, video, and interactive applications into web pages. For questions related to memory, use the tag [flash-memory].

flash
10,308 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
1 answer
805 views

Flash/Actionscript 3 - import/embed XML file for export?

How do I import or embed an XML file so I can export a 100% independent SWF? My project reads an external XML file for text fields and images. When I export the SWF, none of the images/text will show ...
windbrand1's user avatar
0 votes
1 answer
281 views

Flash AS 2, Stacking items in the players inventory

I have an inventory with names, and now I would like numbers with the names that increase as more of the same items are added. Item Code: _root.player_inventory = new Array(_root.array); for (a = 0;...
James Adkins's user avatar
0 votes
2 answers
432 views

TextFormat not working as intended initially

One of my text items (Score counter for a game) does not follow the format I have set when said text label has the value 0 but as soon as it updates to 1 or higher, the text is formatted correctly. ...
Liam's user avatar
  • 65
0 votes
1 answer
511 views

hittest, removechild,not visible object remain issue,flash ,as3

I am trying to remove object called '_pokemon'. It should be removed if it get hit ten times by rain falling down called '_jednaLinia' (means '_oneLine'). I do use this code, and yes it does the job ...
derkarol's user avatar
0 votes
0 answers
44 views

Object persistance through frames

So I got an object called MemoryCards which consists of 3 frames. Frame 1 is Language1, Frame 2 is Language2 and Frame 3 is a neutral backside. Frames 1 and 2 contain a textfield with a word in the ...
sollniss's user avatar
  • 1,945
0 votes
1 answer
126 views

as3 ios app that has games running only on landscape and others only on portrait - is it possible?

I'm building an as3 iphone application that has a menu of games as a starter. I want some of these games to work only on landscape mode and the others - only on portrait mode. Is that possible? What ...
Maor Yichyeh's user avatar
0 votes
1 answer
249 views

Handling multiple audio streams in flex mobile application

I'm currently trying to write an app that will be able to stream from multiple sources, which I will have as a list. I would like for the user to click a choice in the list, then click the "play" ...
Will Muldoon's user avatar
0 votes
1 answer
235 views

Flash addChild object disappears

In the root, I have 2 buttons that when you press the first one, it goes to the first frame inside the movieclip, if I press the second button it goes to the second frame. I have the following ...
Anderson's user avatar
  • 101
0 votes
1 answer
93 views

How to get content in a flash embeded on a web site?

When dealing with simple web page, even if the page doesn't allow selecting text or right click, a browser with tools like inspect element is enough to get the content wanted. But is it possible to ...
Arch1tect's user avatar
  • 4,221
0 votes
1 answer
541 views

Get class by full package name in AS3

I have an xml with the following node: <states package="my.package.states" start="preloader"> <item name="preloader" class="Preloader"/> <item name="intro" class="Intro"/> <item ...
cpfmoreira's user avatar
0 votes
0 answers
235 views

Fill picture with color

I'm asking about ActionScript 3 code to fill attached picture with red color, then giving me message trace("100% painted"); when totally filled, and adding button to clear it again.
ewebbers's user avatar
0 votes
1 answer
185 views

Passing URL Params to new browser window/tab on USB drive from Flash moviclip

I'm running a website from a USB drive and trying to pass parameters through the address bar to a new window when a button is clicked in the embedded flash swf. The problem is that on some ...
user1470516's user avatar
0 votes
1 answer
557 views

Animations Lagging When Publishing from Flash CS6 To iPhone 4

I recently created an app in flash cs6 to be used on my iPhone 4. The app doesnt need to work through the app store its just a tech demo but when i put the app on my device all the animations become ...
Shaun Jeffries's user avatar
0 votes
0 answers
143 views

Automatic color correction in AS3

I want to color correct a foreground bitmap image so that it 'fits' with a background bitmap image. I am not sure whether this is possible automatically. Basically I want the reds in the foreground ...
dndr's user avatar
  • 2,339
0 votes
1 answer
149 views

Facebook app error with access token

I have flash game for Facebook. Yesterday It worked correct, successfully inserted data to database, but now when I try to start my app/game I got error: Fatal error: Uncaught OAuthException: An ...
user avatar
0 votes
1 answer
1k views

PHP variables to Flash via AS2 Returns Undefined

Really need another set of eyes on this, and thanks in advance! My php code: <?php header('Location: videorecord.html'); $hour = time() + 3600; setcookie(UserName, $_POST['UserName'], $hour); $...
NoJoeGo's user avatar
  • 23
0 votes
1 answer
1k views

Oracle Apex Flash Chart not displaying label

I am building stacked column 3d Flash chart in Oracle Apex. it is based on the PL/SQL returning SQL query. PL/sql is required to capture all types of properties and count number of instances in ...
Jestem_z_Kozanowa's user avatar
0 votes
1 answer
361 views

Action Script 3. How to get time from game and insert to database?

I'm creating flash game. Here is timer, which counts how long player playing. When "Game is over" counter stops. And I need to write this time to database. My counter format is MM:SS, so I don't know ...
user avatar
0 votes
1 answer
379 views

Swf is not showing on chrome when it loads images from external XML source

I have a swf file that's not working on chrome but works fine on other web browsers you can test the flash from this url: http://www.flawless-creativity.com/lifewindow/public/test-flash In the as3 ...
Kareem Mohamed's user avatar
0 votes
1 answer
746 views

Action Script 3. Timer starts count when I'm in menu, but game not started

I'm creating flash game and I get strange problem. Timer starts count when I'm in menu, but game not started. In menu I have button "Play", after It is clicked It add timer, but It shows how long ...
user avatar
0 votes
0 answers
68 views

How can I defer embedding a SWF until it's needed?

I am developing a product that will be a combination of HTML5 and a Flash SWF (using the Flex framework) in a single page. I'll put the SWF into a div that can be hidden/shown as needed. The SWF ...
Fred Ross-Perry's user avatar
0 votes
1 answer
295 views

Flash CS 5.5 Actionscript 3 - Buttons appearing on all frames

I have a program that lets the user go to various functions, that all work. However when I use the music player function that i made the play and stop buttons remain on screen when i click back to ...
Daniel Linden's user avatar
0 votes
1 answer
3k views

How to make Flash autoplay using <embed> tag?

When I use <embed> tags like this: <embed src="flashfile.swf" autostart="true"></embed> It may not autoplay. But if I user other fromat like this: <embed src="flashfile.wmv" ...
lee tan's user avatar
  • 133
0 votes
2 answers
62 views

Positioning a movieclip onto another movieclip 2

I'm creating a game where if you hit a zombie the zombie dies and his head is sent back in the direction you hit. It is like playing baseball with the zombies head with the head being the ball. I have ...
user2350724's user avatar
0 votes
2 answers
69 views

ActionScript Implicit Coercion Error

I'm new to ActionScript and Flash environments (just started) and I'm trying to get data from a .php file. So I found this AjaxRequest class on the internet. And I'm testing it with my Main ...
void's user avatar
  • 1,886
0 votes
1 answer
316 views

How to create Gallery like Android gallery in Flash AIR

How to create gallery like Android gallery which is zoom-able, slide to navigate, and slide to next content when user slide zoomed image to the most right/left. And in addition, the content(MovieClip)...
Tek Yin's user avatar
  • 3,020
0 votes
1 answer
208 views

Flash in Lazarus OsX

I want to embed Flash into Lazarus under Mac Os. I have read that people had some success under Windows and Linux while using Mozilla Plugin Panel but that doesn't work on OS X (plus, that project is ...
Raul Rosca's user avatar
0 votes
1 answer
154 views

AS3: Accessing a dynamicaly added child from another dynamicaly added child

So heres my question, I have a button on the stage that adds a MC called "fadeL" and "PDF1" Quick note: "fadeL" and "PDF1" are instances of "fadeMC" and "PDFwindow" heres the code for them: var ...
tnils25's user avatar
  • 21
0 votes
0 answers
364 views

Modify Local Shared Object with javascript or PHP

In my previous question I tried to figure out how to identify a computer as accurate as possible. I think the best solution is the usage of Local Shared Objects a.k.a flash cookies. I would like to ...
Patartics Milán's user avatar
0 votes
0 answers
155 views

Text in dynamic text box disappears when animated

I'm trying to animate dynamic text. The text is taken from a variable using mybox.text = somevar; The text appears in the box but once the box start moving the text disappears. I have Googled it and ...
nickb's user avatar
  • 902
0 votes
0 answers
3k views

Importing SWF File into Captivate

I have inserted a AS3 SWF (a Video Created in flash pro) into a slide in captivate. I have an audio that must synchronize with SWF in captivate. while I'm playing it in edit mode (in timeline) it ...
ali ponaki's user avatar
0 votes
1 answer
2k views

How to reconnect a dropped connection

I am working on re-connection of a user connection, after the user disconnects, due to slow internet connection. I need to get the user to connect back. The problem is, The connection is made ...
user1647017's user avatar
0 votes
1 answer
196 views

flash webcam code fails with error undefined

i am working through a flash tutorial on webcams but I dont know why the NetConnection is failing. Here is what i tried. Installed fms , created an empty folder vid2 in applications attempted to ...
Dr Deo's user avatar
  • 4,768
0 votes
1 answer
349 views

timer and datagrid flash as2

i have a problem with autorefresh datagrid on flash CS3 actionscript 2.. the datagrid provied data from a sql database.. here is the idea, i want to set a timer function to refresh the datagrid only, ...
Guzt Raij's user avatar
0 votes
1 answer
315 views

Flash CS4 dynamic text in arabic issue

n Flash CS4 IDE i try to put in Text Field with dynamic type some string in arabic and to stylize it with embedded Arial font. The problem is that i see the text , but it is "reversed" and for this ...
Ivan Chernykh's user avatar
0 votes
1 answer
81 views

Cannot unload previous swf while loading the new ones

I have made a main navigation page in adobe flash and 3 buttons in it. I have used this code in order to call some external swf's according to the button pressed. Problem is that when i press the ...
Alexander Kapriniotis's user avatar
0 votes
0 answers
81 views

Positioning a movieclip onto another movieclip

I'm creating a game where if you hit a zombie the zombie dies and his head is sent back in the direction you hit. I have two movieclips the zombie and the zombie head. Once the zombie is hit it will ...
user2350724's user avatar
0 votes
0 answers
1k views

Can't find a way to add Game Over in my flash game as3

So i followed this tutorial Asgamer Flash Game. I finished the tutorial and i cant find a way how to make my game when the ship goes 0 health must take you to another screen saying Game Over.I tried ...
Tony Zach's user avatar
0 votes
1 answer
112 views

How do I reference two dynamic objects when checking for collision?

I can't figure out how to get information on which slot the letter is dropped above, so the letters only snaps to the last slot, because it's the only one referenced properly. Can anyone tell me a ...
user2215588's user avatar
0 votes
1 answer
368 views

Waiting for Embedded Image to Load?

So I'm trying to load a sprite sheet. I've embedded it into the .swf, but when I instantiate a class and call a function that starts clipping from the sprite sheet, I get the error: "Parameter ...
Lapys's user avatar
  • 87
0 votes
2 answers
57 views

How can I check lower version of flash

How can I check whether browse has lower version of flash or not through javascript or jquery? I am able to detect whether Flash is installed or not.
user2346003's user avatar
0 votes
1 answer
1k views

Flash doesn't scale in Chrome

Here is the code html + js. for the page with the embeded swj movie. The settings for scaling are set to SHOW_ALL. It is done for zooming - when users zoom page in or out the flash movie changes its ...
Invictus's user avatar
0 votes
1 answer
1k views

How can I replay a swf movie on jquery button click?

I have a webpage with several swf movies that is created in dreamweaver and outputs several object tags like such: <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="...
zeckdude's user avatar
  • 16.1k
0 votes
1 answer
221 views

In Flex how would you pass a var object back and forth between an MXML application file and MXML component file

I have a Flex Application I'm working on with a group. It's a simple travel agency where our data pulled from a URL and stored in an XML object. Currently we have our application structured with the ...
DrTran's user avatar
  • 97
0 votes
1 answer
160 views

flash activex control 64bit

I'm making transparent flash window in Visual Studio 2008 native environment. Some important code: IShockwaveFlash* pFlash; CoCreateInstance(CLSID_ShockwaveFlash, NULL, CLSCTX_ALL, __uuidof(...
user2338162's user avatar
0 votes
0 answers
109 views

Work around to pass session variables between flash and php

Ok now I am trying to pass the session variable to flash and retrieve it in save.php. This is how flsahvars are used. var flashvars = { phpsessionid:<?php print $user_id;?>, }; ...
user2288650's user avatar
0 votes
1 answer
374 views

Is there a way to open links in the same tab as the periodical with Issuu?

I'm afraid I might not be able to explain that question any more clearly. I click a link, it creates a new tab, this is not the desired functionality. Is there a way to ensure that links will open in ...
Sturm's user avatar
  • 4,225
0 votes
2 answers
658 views

AIR for iOS App not showing on iPad

I have published an ipa from Flash CS6 without any errors (i.e., certificates and provisioning profiles seem to be in order) and ticked the "Install application on the connected iOS device" on the ...
John Ryan's user avatar
0 votes
1 answer
467 views

Box2d AS3 Flash simulating wind on top down view with friction

I am trying to make a top down game where you throw a disc using Box2d. The world has no gravity so the disc can be thrown and just bounces around the stage with the inertia and linear damping that I ...
user1961104's user avatar
0 votes
1 answer
768 views

How javascript access ActiveXObject

I am trying to check the availability of Flash Player and the version as given below var a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); if (a) { // a will return null when ActiveX is ...
dgm's user avatar
  • 2,317

1
132 133
134
135 136
207