when embedding a Flash object with the <object> and <embed> tag, there is an attribute called "wmode". It seems that most of the time, wmode="transparent" is the same as wmode="opaque" as the Flash doesn't actually have any transparent color so that the bottom HTML element is to be shown. As a result, "opaque" should be faster than "tr...
I'm working on a flash app where I load multiple swf's. But the problem is that they have different framerates (12/25/30). If I add 2 swf's they both play at 25fps. I found numerous topic about this but I can't get it to work (in AS3). Does anyone know why it doesn't work and how to make it working?
public class MainClass extends MovieC...
Hi,
I need code is as3 to reading a text file line by line and insert in to an array using AS3.
is it possible to do it with out having any special character.
sample.txt
Car
van
scooter
bike
I need to read the file and insert in to array like...Array[0]=car,Array[1]=car.....
Thanks In advance
...
I have some FLVs which I'd like to play. The following code works fine when running the SWF directly:
var sUrl:String = m_pMovieUrlList[iMovieIndex];
m_kNetConnection = new NetConnection();
m_kNetConnection.connect(null);
m_kNetStream = new NetStream(m_kNetConnection);
m_kNetStream.client = this;
m_kVideo = new V...
I am doing a meeting system that display documents (PDFs) for end-users using Adobe Flash AS3 and Adobe Air. as a requirement we need to develop some interactive tools between end-users alike chat, sending files, polls and such stuff, but I should do it based on peer-to-peer connection. (No client/server method is allowed due to cost and...
Hi!
I have a Web page in ASP.NET MVC (C#) and jQuery where I have a swf file that reads its content from a xml file. And to render this swf, I've already tried jQuery Flash plugin, jQuer Media and swfobject.
And in this same page, there is an input text where I write a text and this text will be loaded to the swf via ajax. The text wil...
I need a way to copy dynamically (Ajax) loaded content into the clipboard in a Web browser. There are many libraries out there that will mimic the copy-to-clipboard functionality using Flash. However, with the new Flash 10 default security settings, copy-to-clipboard setting now requires explicit user confirmation. ZeroClipboard is a J...
I am having a problem with preloaders showing up in my flex apps. I never had this problem when developing flash apps so I got the idea to use a flash app as a shell with the sole purpose of showing a preloader while the flex app loads. I am not sure how to do this though, and I also need to ba able to pass the FlashVars from the shell f...
I have a flash (flex) web application and when it first loads the cursos is in the username field blinking. However, you can't start typing because Flash does not have focus. You have to first click on the flash app. Is there anyway to give Flash focus on load? Would this be in the html or in flash?
Thanks.
...
Hello,
I have a flash embedded, it is required for uploading a file and i want to place a image over it.
Image1 Shows the expected result: http://i42.tinypic.com/2jcfshv.png
but however i dont know how to achieve it, it looks like this:
Image2 Shows the actual result rendered by browser:
http://i40.tinypic.com/2hnp848.png
This ...
Hello,
I searched ExternalInterface but didnt got to know, how to implement it.
I want to run/execute a flash when clicked on an image element.
<img src="a.png" onclick="runFlash()" />
my Flash
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#...
I have a Flash CS4 AS3 swf (host) that loads a Flash 8 AS2 swf (client) using gSkinner's swfBridge.
This works great and the Host can call functions in the client no problem. However I want to be able to call a function in the client and have that function return an array to the host.
This is the code I thought would work -
Host (AS3...
It's easy enough to find the flv file on sites that use http to serve it up, but what about when they use RTMP?
...
Hi!!
I have a html for render Flash swf files and this has its parameter "movie" and this "movie" value is the url of the swf.
And in my swf, I have a method loadXml("myXMLFile.xml") that reads a xml, get its attributes and show them in swf. So far so good...
But, what I'm looking for is to pass a QueryString in the movie value, such...
Here's a really frustrating Actionscript 2 problem I have with movie clips associated with classes that are created on the timeline and need to be referenced in code right away:
-- I have a movie clip "C" in my library associated with a class "C".
-- Class "C" extends MovieClip.
-- I have a movie clip on the stage with frame labels "o...
Hi!
I have to dynamically send a flashvars value from <object>/<embed>, for example "<object name="flashvars" value="test=myxml.xml"> to my swf file.
And in my AS, I have this:
var xmlPath:String = _level0.test;
doc.load(xmlPath);
So, this way I want to read several xml files (at least it's my intention!).
But nothing of what I do ...
Hello,
Is there a class/component/library for drawing graphs in flash ?
And i am not talking about the bar charts, but actual graph like neural graphs, or road graphs etc.
Also if someone has experience with it, how big a graph can be plotted out until it becames to big and it loads verry hard ( how much nodes, routes ).
Thanks a lot....
As I am building a Flex framework for minigames, I plan to bundle a bunch of graphic assets (movieclip symbols) into a single swf file, which I will load into my Flex application, before extracting the symbols from the swf file for use in my application. My question is this: how do I do this through actionscript?
Thanks!
...
I have an AS2 swf that has an array that is updated when a user clicks on items on the screen. The array stores the currently selected items. This As2 swf is hosted by an AS3 swf loaded in using Loader class and a local connection between them is managed by swfBridge.
I want to know what the best way for both AS3 and AS2 swfs to share ...
Hello I was wondering if it is possible to cast my JSON string as a custom object?
basically :
var customObject:CustomObject = JSON.decode(evt.result as String) as CustomObject;
Regards Adlertz
...