After I saw the methods in flash.utils package, I decided to make a try:
// inside file Test.as
package com.tests
{
internal function packageFunction() {
}
}
But I got:
A file found in a source-path
'Test' must have the same name
as the class definition inside the
file
'packageFunction'.
packageFunction is a functio...
It seems like WPF was created as the application answer to Adobe's Flash. Silverlight is used for creating web pages. But, can that same functionality be pulled into a standalone WPF application. Scaleform allows Flash to be used within unmanaged C++ games. Can WPF be used to create the same type of interfaces? What I've read seems to m...
I have simple playback set up:
<script type="text/javascript">
var flashvars = {};
flashvars.skinName = "Clear_Skin_1";
flashvars.streamName = "movies/FLV768KB.flv";
var params = {};
var attributes = {};
swfobject.embedSWF(
"FLVPlayer_Progressive.swf",
...
I have a flash site which reads deep links from the URL, then using c# asp.net we read the url and write the appropriate meta tags for the page being requested.
e.g. GET
www.domain.com/en-gb/scene4/subscene2
and outputs appropriate meta tags to page
Then we redirect to the swfaddress friendly page containing the '#'
www.doma...
Recently a client was concerned that their SWF was "insecure" because the XML path was coming from Flashvars. This seems to me to be something that isn't really a concern as the SWF is only displaying images / text and a few button links. I can understand how someone could path to the swf and add a remote XML path in to add javascript to...
Hi Everyone,
I been trying to create a gallery in Flash with different movie clips.
Timeline
-back button
-next button
-stop button
-play button
-Main Movie
(these are inside Main Movie)
--Animation 1
--Animation 2
--Animation 3
I have the animations set up in Main Movie with instance name and frame names like "Animation 1". ...
Title says it all. When you set a project theme to Halo under the project's settings, executing in the browser renders as Halo. But viewing the same project in Design view still incorrectly shows Spark themed components which have different sizes and so on, making design view relatively useless. How is this resolved?
Edit: So, there is ...
I receive the following message when i start writing something inside a textField:
*** Security Sandbox Violation ***
SecurityDomain 'http :// localhost/crossdomain.xml' tried to access incompatible context 'file:///C|/.../Login.swf'
I don't see a reason for that message, but it seems that this message is thrown when i do Key.isDown (...
Hi,
I'm looking for an open-source alternative to http://pixlr.com/ .
For now we've implemented pixlr (both simple and advanced) for our open-source CMS but for pixlr it's necessary that the CMS is public reachable, so it's not possible to use it in closed usergroups like intranet applications.
Thanks in advance!
...
This issue has been boggling me a few days, I would appreciate any input.
On this site, the rotating flash banner at the top works fine in IE and Chrome, but when opened in Firefox, it doesn't load the picture or advance automatically. If you click on one of the other buttons to advance to another item, it works fine, but on page load, ...
I have a series of sections in the timeline and I'd like to use gotoandplay. How do I begin playback of another section of the timeline. Is there a way to detect the end of gotoandplay?
for example: 3 objects and 6 frames.
each object has a animate in frame and an opposity animate out frame.
At each frame the user can pick any of the ...
Is it possible for a Flex List to adjust its height automatically for the number of rows it's displaying? The problem I'm having is that the List renders taller than the number rows. The number of rows is dynamic so I'd like the List to automatically adjust its height based on its content. I've tried setting height="100%" which doesn't h...
So I am working on a project in which I need to trigger a click event. However, its a little more complicated then just that. I know how to dispatch an event by doing btn.dispatchEvent(), but the problem is I dont know which button it will be. Basically I am creating a wheel that spins. I need to trigger the click event of the element th...
Hi guys,
First of all, I am new to AS3. What I am trying to do is to make the ball, rotate in circular form. This is my current code:
this is the Circular.as
public class Circular extends Sprite {
private var ball:Ball;
private var centerX:Number = stage.stageWidth / 2;
private var centerY:Number = stage.stageHeight / 2;
...
Hello, are there any compilers for ActionScript 3 under *nix like systems or appropriate toolkit to work with Flash?
...
Please check the URL:
http://cde.cerosmedia.com/1T4c3744326abcd119.cde
I client want some thing like this. User will search a word and application searches that word in a opened page and highlight it. This is a Flash application and uses php at back-end to generate XML.
Can anyone help me out in this?
...
I want to create an endless loop, 8 items moving in a circular shape. When you roll over of each item, it will stop the moving, and you should be able to click it.
I dont know what should I use, should I use Event.ENTER_FRAME or the circular shape should be in movie clip, so that when there is a mouse over event, it will stop moving? I ...
hi there,
as i am new to javascript with flash. i have a small requirement. like i am currently working on a games website in which whenever i open the game a flash preloader needs to open first and hide the game file while the flash preloader loads. once the flash preloader completes its loading then immediately the game content need t...
Currently I'm allowed users to add application/x-shockwave-flash objects to their profiles in my website. I've only filtered the URL and the content-type is set to "application/x-shockwave-flash"
Is there any vulnerabilities in allowing my users to link to remote flash/video files?
...
I'm looking for some flash based plug-in which allows me to display an image as soon as the user selects it in the file dialog.
I looked at swfupload but couldn't find any way to display the image selected.. no handle on file path or contents as far as I could find.
Anyone knows how to do this? Or some other plug-in which does this?
...