In my flash site there is a video player that I want to have an option of switching into full-screen mode. It's the video player that needs to be set to full screen, not the whole stage. How would I go about this?
...
In a HTML/Javascript webpage, the javascript file takes the body of the html, renders the contents in the tag in Flash, and displays the flash content. The page is not flash, it is still Html, but the javascript must be modifying it to display it in Flash. What i want to know is what functions/methods does Javascript use to modify the ...
Hi
Can a stand alone flash / flashlite app invoke javascript functions using externalinterface or any other interfacing feature in actionscript ?
thanks
kunal
...
Hi I have an actionscript that moves a box across the stage when the mouse is over a left or right arrow shaped button . The script below does just that. BUT what I want to do is have the box repeatedly move until the mouse is moved off the arrow button . I have tried all ways can anybody please point me in the right direction .I have re...
I'm trying to use the Astra library from Yahoo but I'm getting an error saying the base class BaseScrollPane is not found. It appears to be imported from fl.containers.BaseScrollPane, which leads me to believe it should be a part of the base flash 10 library and therefore should be available, but it appears to be missing. Is this part of...
I have a loader loading two files. One can be anything, and the other is the one im working on. It has a textField.text within which it should list the variables in _level0 for both files. I dont mean objects or info like what os im using (which is all i can get now). I mean the vars defined in the AS. Like what you get when you debug yo...
I have 2 classes with a draw function in them, my Background class and VideoDisplay class. I'm not done with the VideoDisplay class, but I put simple traces in it to test. I call both the Background and VideoDisplay the same way in my document class, but when I try to call the draw function of the VideoDisplay class I get this error:
Er...
I need to create an OpenSocial gadget with a flash object as part of the gadget.
Is it doable?
Are there and caveats I should be aware of?
Where can I find samples to such gadget?
...
Suppose I've converted a vector image file (.AI/.SVG) to .SWF for ease of importing dynamically as the source of an Image in Flex.
To count colors now, I have to create a "new BitMap", then ".draw()" and iterate over all pixels and use ".getPixel()" to retrieve the color.
Unfortunately, because of anti-aliasing, this seems to return se...
I'm trying to write a Playlist for Flash Player. So I have problem with Flash & firefox. The playlist is HTML list where I have file urls for MP3. When I change from firebug object value the firefox doesn't react - disapears.
Upd: I have object where I have parameters, when I change for example parameter where is written file path, the...
Ive been using the loader a lot of upload images into my movieclip. But the only way I know how to do it is load the content, add an event listener, wait for it to finish finish the job in the handler using the reference to the loader like this.
protected function loadImage(imageDir:String):void
{
loader:Loader = ne...
I am trying to copy the pixels of a bitmap data. but I keep getting the following error
Parameter sourceBitmapData must be non-null.
it happens in the method drawImage. exact after my trace that says "got canvas data".
canvasData.copyPixels(image,tileRect,tilePoint);
Below is my code
package com.objects {
import flash.displ...
I guess that title is self-explanatory. Is there any such effort been made?
Some more info:
it's client application (gui intensive)
By porting I was thinking of cross-compiling.
...
is the target.data, a default structure of whole xml? in as3, should the data of xml loaded through this data itself?
function xmlDisplay(e:Event):void
{
xmlData = new XML(e.target.data);
trace(xmlData);
}
...
I am having problems loading a bitmapData. I am getting the following error
Engine Init //trace
loadimage//trace
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData()
Below is my code. it appears it happens after the trace loadimage
package com.objects {
import flash.display.Sprite;
import flash...
Is there any way to call MouseEvent function in as3 from JavaScript?
I have HTML button and swf object, I need to sent a POST request from swf by clicking on HTML button.
...
Hi.
i want to load another swf that i build and use it's functions.
but it seems that when i use getURl('url','_mylevel') it doesn't load the flash file and i get no error. only when i use getUrl('url','_blank') it opens the browser with that url.
i want to be able to use the functions in that swf like the following example:
_root._m...
Hi,
Is it possible to draw shapes in a flash animation at runtime through PHP? If so, how can this be achieved?
...
I have AMFPHP installed on my server. I have a flash app that can call it's methods. I want to create some HTML (on server created) pages which will contain HTML code and results of AMFPHP functions. How to create such thing?
...
How to send a jpg image as ByteArray from as3 to javescript? And how to convert ByteArray to image in javascript?
...