I have a large .fla file with all my movieclips (and associated classes) for an entire site in the library.
The whole thing is getting unmanageable - compiling very slowly - and not getting any smaller so I would like to know the simplest way to manage my assets in other fla files to be brought together when the main fla is published.
...
In short I'm developing a 'widget' in flash that I would like to implement paypal into but I'm not sure how I could do server checks from the flash file.
What I want to do is when a user clicks a button I want to send form data from the flash file to a php script then send data back to the flash file. Keep in mind that the flash app i...
I'm a little bit new to Actionscript, but I can't figure this one out. I've done a lot of searching on this topic and haven't found a clear answer. I've tried the following solutions that people posted online but none of them work.
All the following solutions give the error: 1120: Access of undefined property myVariable
Suggestion #1:
...
For examples sake, lets say I have a Flash SWF on my web server. The SWF is quite simple, it just displays a text string in some font in the middle of the stage. The SWF takes certain parameters, one of which determines what text string is displayed. So if the parameter's value is "hello world!" the SWF would display the text "hello worl...
Hello. Is there way, how to close webcam connection in actionscript. I am opening stream through Camera.getCamera(). Problem is, that after freeing webcam instance (i tried many ways) LIGHT on webcam is still beam (tried on macbook pro).
...
I built 3 variations of a game for different platforms (i.e. Facebook, mobile etc.) in Flash CS4.
I now have the following structure (5 folders):
Facebook
Mobile
Website
Shared_classes
Shared_assets
In each of the top three folders there is a .fla file.
Every .fla uses assets and classes from the "shared folders" but also platform-uni...
Hello, I'm quite new at flex and have been following a game tutorial. I've created a class named Bounce (Bounce.as) but when I try to compile, I get the above error. I've been searching forums and help, but the only people who seem to get this error is with HTTPServer. How can I specify to actionscript 3.0 that I want to use a created cl...
Hi,
I have a Javascript API, which should be usable with GWT and Flex. Using the FABridge it is really easy to call Javascript methods from AS3 and vice versa. But when I try to register a callback to an AS3 method in my Javascript API I get stuck. Here is a short code sample:
public function initApp():void {
if (ExternalInterface.a...
Game description:
A quiz with different levels and different types of visual questions for each level.
OOP so far: GameBoard (where one answers questions), Dialog, HighScore, Controller/LevelController?
I have a document class called Controller which initializes the game:
public function Controller()
{
initGame();
}
function ...
Is it possible to store a Image in a SharedObject in Flash? It would be nice if it would work. I need to "store" Images locally but it seems not to be supported by Flash... So I 'ld like to put those images in a SharedObject that can be saved... but does it work with images?
I tried it with a Bitmap but if I want to read and add it to t...
Totally new to flash and actionscript. What I want to do is retrieve a URL into a page (probably in a hidden frame or something), populate the form it contains with the correct fields (via my script), including possible data to upload, then submit it back. I guess an analogy use-case would be if I had a user choose a picture and then whi...
Hi I'm wondering if I can have a packageless () AS3 class call a private method on the main class in the file. For example:
package demo
{
public class MyDemoClass
{
var helper:FriendlyHelperClass = new FriendlyHelperClass(this)
}
private function methodToCall():void
{
...
}
}
public class Frien...
Hey guys,
I've been trying to print a dynamically loaded jpg and for some reason it's never printing to scale, not sure what I'm doing wrong so here's what I've done so far
var request:URLRequest = new URLRequest(getAbsPath("pages/" + pagePrint + "_big.jpg"));
var loader:Loader = new Loader();
loader.load(request);
loader.contentLoader...
Hello, using various tutorials I created the next quiz in AS3. It's dynamic and I use an important function to set up the entire thing, and a counter to manage the quiz and arrays.
After picking an answer you click on a check button and then on a "Next" button.
I'm getting no errors, however for some reason calling the setup() function ...
I have the following code in ActionScript3 for loading images:
// Create the image areas
var imageArea1 = new imageArea();
var imageArea2 = new imageArea();
var imageArea3 = new imageArea();
var imageArea4 = new imageArea();
var imageArea5 = new imageArea();
var image1;
var image2;
var image3;
var ...
Hi All,
I'm having some troubles matching the value returned from RSA signing
a Base64 SHA1 hash in the actionscript as3crypto library with the result returned in c#.
I'm passing in a Base64 hash decoded as a byte array to the sign()
function provided in as3crypto and base64 encoding the result.
However, this result never matches the r...
Facts:
I have 2 classes: Entity and Ship. Entity extends MovieClip and Ship extends Entity.
I have a MovieClip associated to the Ship.as class file.
The thing is that I'm able to show, rotate and move the Ship object. However, I cannot change the pointer to the place I want in its timeline; in short: I can NOT have a successful respo...
Hello,
I have this code that loads thumbs and full images in my project:
private function processXMLHandle(e:Event):void
{
var xml:XML = new XML(e.target.data);
for each (var line:XML in xml.IMAGE)
{
var file:String = line.@THUMB;
var loader:Loader = new Loader();
loader.load(new URLRequest(file));
loader.con...
Hi,
I'm new in flex.
I have a design like this
in one page have two option like this
Hard & soft
when i click hard(option) there will show three option(in php got to another page) like
standard, square & pocket and in the page below BACK(when click this option it will back previous state(page)) option will be show
When mouse over o...
Hi guys,
I've developed a Linechart in ActionScript.When it work with live data,horizontal axis become too much clustered.So i'd like to increase the scale of Xaxis with more values.Can anybody suggest me ,how i can implement it
var lineChart:LineChart=new LineChart;
tradesAC=new ArrayCollection;
lineChart.dataProvider=tradesAC;
lineCha...