Hi, everyone
I am developing a Flash-based application for Facebook. I read many comment that the application need to pop-up dialog for user to decide to extend their permission.
The question is, who will record those decision? Facebook or the developer? because it might be a problem if user is asking the court for their privacy.
...
I have an XMLList 'Keywords', which consists of about 30 elements. I want to count the number of unique keywords in the List, and how often they occur. Then display the top 3 most occuring keywords.
There's probably a simple sorting/count function to carry this out, however, i'm quite new to as3 so please forgive my naivety.
Cheers.
...
I have HTML + CSS text. I need some lib with simple function like "Render String Var conteining HTML" So no external files (like in flash lib called HTMLwraper you just have to play your SWF on top of HTML). dinamic! I give it string it renders It into some conteiner (not as a bitmab but as if it was real HTML dynamically rendered in fl...
I want to take any Text sting and form from it text formed by particles in actionscript 3 (In flash \ flex) I see I need some lib for this. but all libs Ive seen do not have such functionalyty by default...
So I want to get something like this
So Is there any sych lib? or way of doing it with some lib?
It should be Free and Opens...
Is there a way to monitor the loading progress (percent progress bar style) when using Flex remoting?
I'm trying out Flash Builder 4 with it's new data services features, but I can't find any pgrogress event stuff somewhere. This article by Robert Taylor http://www.roboncode.com/articles/144 indicates that it might not be possible...
...
I have a Document class, Intro class and Nav class.
The Intro class runs first, then sends a custom dispatch event to run the Nav class, but I'm getting this error:
removed Intro
ArgumentError: Error #1063: Argument count mismatch on com.secrettowriting.StanPlayer.ui::Navigation/addNav(). Expected 0, got 1.
at flash.events::EventDispat...
<?xml version="1.0" encoding="utf-8"?>
<s:BorderContainer
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
creationComplete="creationCompleteHandler(event)"
xmlns:mx="library://ns.adobe.com/flex/mx"
mouseWheel="mouseWheelHandler(event)"
backgroundAlpha="0"
width="100%"
...
My game has delta time for frame independent movement, at 250 fps run perfectly smooth, but if i limit the fps to 60, the game slow down for a 2-4 seg every 20 seg aprox, even in small programs i have this same problem.
no memory is created or released
i comment everything i can and the problem persist
thanks and sorry for my englis...
i'm trying to assign a parent's variable from the parent's child
//Parent
public class Main extends Sprite
{
public var selectedSquare:Sprite;
public function Main()
{
//inits and adds new Square child class to display list
}
...
-------
//Child
public function dragSquare(evt:MouseEvent):void
...
I have a flash listbox and some of the item are too wide to fit into the listbox. Is there a way to control the horizontal scrolling like you can the vertical?
I am new to Flash and am using CS3 and actionscript 2.
Thanks,
Nick
...
Does Actionscript have a built-in function that accepts a number and can return a Boolean if this number is between 2 numbers.
For example
3 is between 2 and 6 //returns true
5 is between 10 and 20 //returns false
...
A.as
package
{
public class A
{
public static var someObject:Object = {
(B.SOME_CONST): { value: 10 }
};
}
}
B.as
package
{
public class B
{
public static const SOME_CONST:String = "someStringConst";
}
}
And this is test code.
var obj:Object = A.someObject;
trace(obj.hasO...
hello friend I want to refer my mxml file into Actionscript class.My code is :-
Mxml file is :-
<?xml version="1.0" encoding="utf-8"?>
<!-- usingas/AccessingPackagedClasses.mxml -->
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import SBTSBusineesObject.A...
Hi,
Can any 1 tell me how to play a multiple videos by using actionscript in a windows sidebar?
...
my movie is 500 by 200 px. However i am loading display object much larger than that and have just a portion of them show. How do i programatically get the visible dimesions? root.stage.width gives me the extended value.
for the sake of good programing practices i dont want to hardcore the values.
...
I've got a flex component which works pretty well but unfortunately turns into a
disaster once used in a datagroup item renderer of about 40-50 items.
Essentially it uses bitmapdata to take screenshot of a fully-rendered webpage in
mx:HTML (this version of webkit rocks btw, miles better than flex 3).
The code is pretty self-explanatory...
In Flash Builder (flex 4) I try to use next code to set selected by user (from file system) Image as a repeated background. It worked with mx:Image but I want to use cool repited capabiletis of s:BitmapFill.
BTW: Technic I use also does not work with S:BitmapImage. Also FP does not return any errors. What Shall I do with my code to mak...
If I have flash media server and apache installed on windows, How do I go about implementing this? I have built my own player to handle http and rtmp streaming. I've searched all over and have not been able to find a solution.
...
So I have such code for my application
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Script>
<![CDATA[
protect...
To my knowledge this doesn't brake Liskov's Substitution Principle as an instance of a subclass can do all the things that an instance of a superclass can do.
...