Tagged Questions
0
votes
0answers
26 views
Detect Unsafe swf File [on hold]
I am creating an online advertising services and I want to allow users to upload .swf files to my server.
I know nearly nothing about .swf files but I understand that they can be harmful to the ...
0
votes
1answer
14 views
Convert Loader into SWFLoader
I am trying to load external swf file into my AIR application and of course AIR gives me security violation exception.
Now I am trying to find workaround in more hackable way, first load swf with ...
0
votes
1answer
36 views
Actionscript 3 - List error when loading another a swf in my swf
I am working on a AS3/Flash game and we are running into an issue when we load our home page swf into our login swf after someone successfully logs in.
TypeError: Error #2007: Parameter child must be ...
-3
votes
1answer
20 views
Flash Actionscript 3 Link not open in SWF File
Software: Flash CC
I need to add a link to my swf "movie"-banner. I have watched now over 10 Tutorials but it still not work. I can click on the banner but nothing is happening.
This is my code:
...
0
votes
1answer
36 views
Flash SWF taking up too much RAM - crashing unexpectedly?
I have created a game in Adobe Flash CS6 which uses a lot of video files. As a result it seems that when I try and publish the game I manage to get to the 4th question and the game just crashes. I ...
0
votes
0answers
26 views
Flash Air Embedded MP3s play in android app but not in swf
I have a music application made with AIR which is working perfectly when loaded onto my Android phone. However, I also want to upload the swf file to my website to show everyone. But the mp3 files do ...
0
votes
2answers
80 views
How to correctly load und unload swf galleries for PORTFOLIO web site?
My problem looks like: I have five buttons and four of them are loading four different swf galleries into the main swf, the last one unloads all galleries. Each of them has exactly the same code, the ...
0
votes
1answer
32 views
Control a SWF file using backend programing?
I have been search for a few days now for a way to work on this.
Basically I could like to send flashvars to my swf file using some backend language like PHP or Python, then execute it and capture ...
0
votes
1answer
55 views
Insert external link to swf (using a wysiwyg editor)
I have developed a website for a friend, which has to include some swf files. Those files come from his customers who want to get advertised at his site, and therefore cannot be edited.
The site is ...
0
votes
0answers
34 views
SWF file button (link) w/o ActionScript does not work
I don't know a lot about Flash/SWF, and I just wanted to do a - what I thought - easy thing. Adding a link to an existing SWF file on the fly (while downloading - need some dynamic behavior).
I'm ...
0
votes
4answers
29 views
as3 store an external varible and keep it
I dont know if this is possible, but i have an SWF file which i want it to get info from an xml file only one time and then store it(keep it) there until a "newer" data will push into it
I know it ...
1
vote
0answers
77 views
FlashDevelop embedding swf “Definition for symbol not found”
I am trying to embed a symbol from a swf and getting the following error: Definition for symbol 'ball' not found.
This is the code
package
{
import flash.display.MovieClip;
public class Main ...
0
votes
0answers
28 views
Excessive SWF size for a simple external CSS sheet
I'm working on a flex app which is built in Apache 4.12 and I am loading an external CSS file to change some theme related stuff. I have the sheet set to "Compile CSS to SWF"
This all works fine but ...
0
votes
0answers
15 views
SWF Flash video playback slowing down
Is there a code so i can unload loaded swf movies from stage because its give me lag issues. Lots of swf movie loads on stage one after other and i want them to load on loop. Here is the code that iam ...
0
votes
0answers
22 views
Export MovieClip to SWF in Flash Player 11?
Can i export a movieclip to SWF with Flash via AS3?
I've tried do this:
var buffer:ByteArray = new ByteArray();
buffer.writeObject(MOVIE_CLIP_HERE);
buffer.position = 0;
buffer.writeBytes(...);
...
0
votes
0answers
17 views
Event.RESIZE not working with EXE
I made a
stage.addEventListener(Event.RESIZE , reAdjust);
that just works fine with the SWF. But when I convert it to EXE using SWFKIT.
that Listener no longer works.
Do if have to do ...
0
votes
1answer
24 views
Invoke JavaScript Functions from Flex on html page
I'm trying to call javascript function from my swf (action script). I'm using ExternalInterface.call class for this.
In my swf file, I add following code:
ExternalInterface.call("fnname","welcome");
...
0
votes
1answer
32 views
Unloading an external .swf within itself in action script 3
I have been trying to look for a method, I've tried numerous code examples none have worked.
This is the code I'm using in my my main .SWF file to load the external .swf file called (Stage4.swf). How ...
0
votes
1answer
39 views
How can I better compress my swf file?
I have a fairly simple flash ad that I have created. The swf file is currently 119kb, and I need to compress it to 40kb.
There is only one image in the file and it is only 5kb, everything else is ...
0
votes
1answer
43 views
How to cancel/change a function via Flex in External SWF? (Error #1063) [Flex, Air, As3]
I'm getting swf from external website like the way:
import mx.events.FlexEvent;
private var request:URLRequest = new URLRequest("http://blabla.com/test.swf?user=100004604079959");
private var ...
0
votes
0answers
20 views
Check length of the SWF Video using Java
An application written in Java and there's requirement to find out the lenght (i.e. time) to be taken by the .swf file when it's playing. It's an video file.
Please suggest some solution.
0
votes
1answer
21 views
Actionscript connect method and parameters
I am new to Actionscript, in the following code, a flash swf file tries to connect to the FMS server. What are the parameters here? I mean
h = host
a = application
r = room
c = I don't know what is ...
0
votes
0answers
31 views
Template for flash/flex to create animated SWF's in bulk
Is there a way to create sort of a template project in flash/flex etc that I can use to do the following...
Using the template, create bulk of swf movies i.e. by invoking command line compiles such ...
0
votes
1answer
2k views
Error: SWF from http://xx.xxx.xxx.xx/vw.swf?nocache=1.1 may not connect to a socket in its own domain without a policy file
Im getting this error every now and then. I mean its not coming always some times it gives error and some times it doesnt.
I have checked all other similar posts but no solution worked!!
my ...
0
votes
0answers
33 views
how to start your game with another button in another swf file
I need to make a game in actionscrip 3 but I am stuck on a problem.
I have a menu that is loaded from the moment I start my game, and in that menu is a start button that will start my game.
The ...
0
votes
1answer
37 views
Preloader does not work online
I've made a project that uses a preloader in the scene 1 and the content continues in the scene 2. The preloader have the follow code:
stop();
...
0
votes
4answers
76 views
Converting SWFs to EXEs
I'm building a program in Actionscript 3 and would like to convert the .SWF file to an EXE without using Flash Pro CS5. I found http://swf-to-exe.com/ and it works well, but I'm wondering if there is ...
2
votes
1answer
34 views
Controlling instance of another frame AS3
I'm new to AS3 and I am trying to access an instance of a frame from another frame. Here is my code.
package {
import flash.display.MovieClip;
import flash.events.Event;
import ...
0
votes
1answer
91 views
Collision Detection with ActionScript 3.0
Hey I am beginner Flash Action Script 3 developer.
I am using hitTestPoint() to detect collision between a car and a stage drawing. Car is moving in the stage so I am using hitTestPoint().
There is ...
0
votes
0answers
22 views
How do I replace an SWF Panel icon?
I have built an SWF Panel for use in producing certain types of animations for our company's games. This panel is loaded into the Flash UI on startup and may be docked like any other panel by the ...
1
vote
0answers
57 views
Dynamic as3 app for mobiles
Ok guys I will try to be as clear as possible:
I have a web app based on PHP and AS3. The user enters personal data, and with all that dynamic info, the app generates a swf clip with audio, text and ...
0
votes
1answer
85 views
Externally loaded SWF from application directory not loading twice
I have an external SWF that I'm planning on using to load movieclips with content that would need to be able to change without altering the source file.
I get it to load perfectly fine and ...
0
votes
0answers
52 views
incorrect mousewheel in chrome (webkit)
I'm using this solution (https://github.com/KumoKairo/BlastedMouseWheelBlock). And here is example (http://scroll-check.herokuapp.com/). As you see in chrome static private function scrollHappened ...
0
votes
1answer
67 views
External swf still loading to other scenes? How to properly unload?
I have encountered same problem but in different scenario, i have 4 scenes and in my 4th scene i have 3 button inside that loads and unloads external swf. Within the 4th Scene it works perfectly but ...
0
votes
1answer
22 views
How align external swf into a specific MovieClip?
i am new here.i have a problem, i am trying to import external swf into a Movieclip but when i do it...my swf isn´t align.i don´t know why.
the code that i use is:
var request:URLRequest = new ...
0
votes
1answer
81 views
Import extrenal SWF to FLA file and align it in as3
I have a project FLA and i am trying to import to stage one external SWF. The code that i am using to import SWF is:
var request:URLRequest = new URLRequest("myswf.swf");
var loader:Loader = new ...
0
votes
1answer
113 views
In swf AS3, how do you extract string content from a website
In swf AS3, how do you extract string content from a website?
In a html web page, they display a single line of text. In the swf, I want to use as3 to access that page by its URL and retrieve that ...
0
votes
1answer
43 views
Problematic AS3 code / exported swf doesnt work as it's supposed to
Well I'm really new to this actionscript stuff. Is there anything wrong in the following code? Whenever I export this, the .swf movie doesn't play, it just shows the 1st frame. Is a "if()-condition" ...
0
votes
0answers
68 views
Help creating android game using external swf files as levels
i am somewhat of a beginner with ActionScript 3 in Adobe Flash. I am trying to create a game that will include external swf files as seperate levels.
The problem is that i am not sure how to unload ...
-1
votes
1answer
51 views
AS3 Decompiler. How it works [closed]
I was always curious how AS3 decompilers work and how someone was able to make one.
Does anyone know?
//
Note: I'm not interested in a specific decompiler
-1
votes
1answer
48 views
Go back to HTML page from flex page
In my application I am having a HTML file which is calling a SWF file (flex page) when a button got clicked. I am performing some operations in the loaded flex page and while clicking submit in that ...
0
votes
0answers
59 views
How to show the menu of your game again in actionscript 3?
What I am trying to do is to make a game in as3. What i did so far is that I made a game and from that .swf file loaded a menu in with the name "startScreen.swf". From that external swf file can i ...
0
votes
1answer
146 views
mousewheel doesn't work in swf (browser chrome)
All other browsers are ok (see bottom mid). I can'n scroll list only in Chrome (all versions). I use this code:
package com.spikything.utils
{ import flash.events.Event;
import ...
0
votes
1answer
31 views
How can I determine the lowest flash player version my swf can be published for?
I have a project that is complete. How can I determine the lowest flash player version I can publish this project for?
I am using Flash Builder 4.7.
Also I am using:
Starling
Feathers
Dragon Bones
...
0
votes
0answers
46 views
Listing all public variables/instances in a swf
Ok, I've been working with this issue for a couple of days now and I am alsmost losing it.
So this is the scenario:
I have a host that loads swf files, and it has a function that is supposed to ...
0
votes
0answers
34 views
AS3: Always reloading swf? Why?
I have a Homepage, which plays a mainSWF. In this mainSWF I have a loader, that loads external swfs from my server. With a button you can unload this external swfs an load a different one. Some of ...
0
votes
1answer
61 views
Flash CS5: exported swf does not play [AS 3.0]
Well I'm really new to this actionscript stuff. Is there anything wrong in the following code? Whenever I export this, the .swf movie doesn't play, it just shows the 1st frame. Is the if() condition ...
0
votes
1answer
67 views
What are _loc_ variables when swfs are decompiled into AS3?
When running swfs through decompilers (my own swfs, not somebody else's), I've noticed a lot of mention of certain variables:
_loc_1
_loc_2
_loc_3
.
.
.
_loc_n
As in the following example:
private ...
1
vote
2answers
198 views
How do I unload an external “.swf” file to load another?
I am a student who's working for months on a game and now I've got stuck on a problem.
I am new to actionscript 3 but i learn fast.
I can load my menu screen ("startScreen.swf") into my game ...
0
votes
1answer
258 views
TypeError: Error #1009: Cannot access a property or method of a null object reference. at Slide1_fla::MainTimeline/frame1() AS3
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Slide1_fla::MainTimeline/frame1()
TypeError: Error #1009: Cannot access a property or method of a null ...