I have a Wordpress site. I want to embed a Flash file in one of my pages, like this:
<object id="wdmmg" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
width="100%" height="100%" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="src" value="/_flash/main.swf" />
<embe...
I've got some text that includes links that I display in a RichEditableText component. How do I change the color of the links from the default blue? I tried the example posted by Peter deHaan but it doesn't work with SDK 4.1. I found a way to do this in MXML, but the text needs to be localizable which means I load it at runtime based o...
I would like to integrate a "virtual blackboard" functionality with my e-learning website. I would like users to be able to participate in "meetings", with the following functionality:
chat (optionaly voice chat/videochat)
virtual blackboard (collaborative drawing)
screensharing (so one of the users can present material like pictures t...
Wow, my first post on Stack Overflow. Have I "arrived"?
Okay, this is an oddball. I'm trying to determine whether there might be some programmatic way to introspect the classes within a linked SWC at runtime.
To give a little more background (maybe there's a completely different way to go about doing this), I'm considering a general fr...
I want to encode / decode a string in AS3:
var string:String = "This is an text";
encode(string) will give for example: "yuioUasUenUwdfr"
decode(encoded(string)) will give: "This is an text";
It does not have to be secure or anything.
Thnx!
...
I'm trying to build an air 2 application with cs5 and as3. When I try to do "private var customClass : CustomClass;" inside the class definition of the document class of my fla the constructor of the document class is never called and I don't get any errors or warnings. If I comment out the private var it complies and the trace statement...
I have the following problem with objects in actionscript3:
var o:Object = new Object();
destroyObject(o);
trace(o); // [object Object]
function destroyObject(obj:Object):void{
obj = null;
trace(obj); // null
}
Since objects are passed by reference in AS3 I assume that the previous code would change o to null, but it doesn't. ...
Hi,
I made a flash and embed it into a webpage. I use the browser to test the flash, an intersting thing, after I upload the flash into the server, and press F5 to refresh the browser, the browser still use the old one, I can't enforce the browser to use the new flash swf file!
How can I tell browser to use the new swf?
...
How can i list all the names (and values) of public (and private / protected) const defined in a class ?
public class Layers {
public const BACKGROUND:String = "background";
public const PARENT:String = "parent";
public const MAP:String = "map";
public const LINES:String = "lines";
public const POINTS:String = "poin...
I download some videos to disk from video websites like youtube, after extracted frames of the videos, I delete them from disk immediately. I want to do get the video from video website again, further more, locate the frame in the video.
One method I think out:
I know the real address of the video(e.g. www.youtube.com/../xxx.flv), so I ...
I have a scenario in which i want to show hide multiple datagrid columns at the same time based on a user selection. I can write a click handler for the button and hide all columns one by one but I don't want to do that instead I want to group certain columns and in my click handler want to be able to hide the complete group in one go. I...
Hi guys,
I have created a simple card game in Ruby on Rails+ajax with jQuery for animation. It's working Ok, and I wanted to develop a multiplayer version. It looks like it's not so simple as i thought.
I have also tryed to port the game completely to JS into the Canvas tag. This is possible for me and I could make the animation there ...
Hey guys, what's up?
I am trying to make a fade in/out in a music in a Flash (CS5) project. I imported the sound to library, set a classname for "Export for ActionScript", and I was trying to fade with TweenLite/TweenMax, like this:
var sound = new MySound();
sT = new SoundTransform(0.1);
sound.play(0,99999, c_sndEnvironment);
TweenLit...
Hi, Im trying to save whats being captured by the webcam in the Flash Media Server installed in my machine, but the netConnection object fails at connection. Can you tell me what Im doing wrong or where should I start looking? How do I know If my FMS server is allright?
var RTMP:String = "rtmp://localhost/vod/legend";
var nTimer:Num...
Situation: Got a flash object with an icon bar (div with pngs) on top of it. Works on all browsers except Firefox 3.6 on Ubuntu 8. Example: http://ListAndPlay.com
Problem: Icons suddenly disappear after the flash is being loaded. See this screenshot: http://api.browsershots.org/png/512/e3/e30de0b1ad995fa1aa9c14cbc19fb43c.png
What I've ...
I usually organise tournaments on my site (flash based) and this time I have added a tournament in which users have to complete a jigsaw puzzle and the one who completes it in the least time wins some prize. As the jigsaw puzzle always produces random location, it is difficult for them to hack. They can't even directly download the game ...
Hi,
We create Flash games which are embedded within third party wrapper SWF files, which are exported for FP9.
If I create an FP10 SWF which uses Pixel Bender classes (Shader, ShaderData), when I run them in an FP9 wrapper within an FP10 player, an error is thrown
VerifyError: Error #1014: Class flash.display::Shader could not be foun...
I've got a function wich can accept a varible number of parameter with a rest operator.
I want create an object passing the argument collected with the rest operator directly to a constructor without create an object and call an initializing function and without passing the entire array but the parameters ah I do with apply() function...
I need to detect when a Flex Spark List (spark.components.List) data has changed so that I can programmatically change its scrollbar.
I know that List is a an EventDispatcher but it's unclear which event I'd register for.
Edit: My List's dataProvider is an ArrayCollection that elements are added too. So the dataProvider is never replace...
In Flex, is it possible to listen to all event types of an object that's an IEventDispatcher? addEventListener's first parameter is the type, which is a string. In many cases the documentation is not clear what event type it fires. I'd like to attach a generic listener to inspect the events.
...