Can I use ExternalInterface to call a namespaced JavaScript function?
//JavaScript
foo.bar = function(baz) {}
// AS3
import flash.external.ExternalInterface;
ExternalInterface.call('foo.bar', baz);
...
Is there a way to extract plain text from a PDF file using ActionScript? If not, can you give me some hints on how it is implemented elsewhere?
...
I've been looking for a simple way to invert a mask in flash. Its just amazing how it doesn't have this feature.
I just really need to paint shape and whatever is below (in layers) wont show up.
Any suggestions?
...
This is my 2-part question. My understanding is small so "beer" with me.
This example counts from 1-100. I want the decimal keep counting to ten over-and over. (a.)How do I loop the decimal? 1-10 over-and-over. (b.)How to I get the whole and decimal value on the same dynamic
text field?
THING
"It's a counter with whole and decimal v...
i use FBML for the FB application
I have a flash and the flash suppose to call a javascript on the page. I read so many websites trying to figure it out but still having problem.
Here is the Webpage with the javascript:
<fb:fbjs_bridge/>
<div id="swfContainer"></div>
<script>
// the javascript to call and change the text of ztest001
f...
Hi,
I'm building Flex 3 application and I have a geocoding service (http://.../GeocodeServer) on a ArcGIS server (ESRI). I'm trying to execute a query on this service in order to retrieve some
informations.
Unfortunately, when I execute the query, I get this error : [RPC Fault faultString="" faultCode="400" faultDetail="Invalid URL"]
...
I'm trying to run Adobe's sample python policy server script, linked to here: http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html
I'm getting the following error:
# python flashpolicyd.py --file=policy.xml
File "flashpolicyd.py", line 40
with file(path, 'rb') as f:
^
SyntaxError: invalid syntax
...
Hi guys. I have a project I'm working on and I am really stumped on making a seemingly simple animation work.
The animation is of a coin scratching off a layer to reveal the layer beneath. I have the coin animated, and the layers in place. I am wanting to know if there is a way to erase/delete every place the coin passes over the stage,...
My counter goes to 100 at a constant speed.
Is there a way to ramp the speed of a counter?
Flash can use trigonometry values to effect speed,
but I don't know if that can change the timer class
on-the-fly.
There's a couple parts to it.
(a.) ramp the speed of a counter?
(b.) ramp in certain parts?
- have a range
- 90-100 starts ram...
I am trying to snap 2 vector points together but for some reason its moving the entire object instead of the point. I am trying to follow instructions in a book and the book shows that it is using the solid (filled) selection tool and it has the magnet turned on for snap options. It shows I am suppose to click where the (right triangle) ...
I have a simple Flash just put in for an facebook app.
it is so simple that only one frame and one text box. that's all.
I have this
<fb:fbjs-bridge/>
<fb:swf swfsrc="http://path/test2.swf" width="100" height="100" />
<script>
<!--
-->
</script>
and I have no error to show the flash in Firefox & Chrome.
But in IE, I get this:
V...
Hi,
I am writing a bit of actionscript that loads an xml file and displays movie clips etc.. appropriately on the stage. However I have come to bit of problem where i want to reset the display via a function through loading a different xml file. I have loaded the new file but the display doesn't change as if its still loaded the previou...
Just curious to know if empty movie clips or sprite can slow down a application or game. Reason being is because I want to use multiple sprites as containers for my object. So I can easy manage what objects are in front of others. Some points in the game, layers will be empty so I am just curious if I should just make those layers null i...
How do make a zero placeholder for the counter?
My thought was an "if" condition with greater
and lesser would work.
if count is more than .00 and less than 10.00, add "0000000" etc.
CODE "from some of the best minds"
//counts
var timer:Timer = new Timer(10);
var count:int = 0; //start at -1 if you want the first decimal to be ...
Hi All,
Can some one please direct me to a example where a combo box has been inserted in a datagrid using as3 in CS4. I have a idea that it can be done using the cellrenderer, but i am not able to figure out how to achieve it. i tried searching on net but could not find any working example.
I am working on a project where there are mut...
An html page contains FusionCharts component.
Below this component are a couple of html controls supposed to filter date for this component.
Initially, there was a problem updating the chart component, upon clicking "Filter" button
I used the following code:
currentChart.setDataURL(url);
currentChart.render("ChartDiv");
It didn't work...
I have got a memory leak problem in the example below(u can download the code from the link)
http://brandonmeyer.net/projects/SuperPanelDemo/SuperPanelDemo.html
Running in Profiler:-
What I am trying to do is creating new panels by selecting the Add new panel button.
I am selecting option allow Close (check box).
(After creating ...
Question: In Flash ActionScript 3, I extend a MovieClip as show below.
But when I create a ToolBar with ToolPictures, and set Xscale and Yscale, then it doesn't resize if I use cMyClip, it works correctly when I use MovieClip.
Am I missing something ? Or is extending not the same as inheritance ?
package
{
import flash.display.Sta...
http://www.uniqlo.com/utzoom/
Anyone know what kind of layout/arrangement this is called ar?
any idea how to crete such random and dynamic stuff?
...
I have a website that has a SWF embbeded on it with SWFObject. This SWF file has 1,5 MB. I would like to test if website (Lightppd) will be alive if 600 users per hour will try to open it. It will be approx. 900 MB / hour of transfer.
So I have 2 questions in one:
1) Does ab (Apache Bench) test handle SWFObject and gets SWF file while...