I have a timer alert:
private var cheat:Timer;
private function init():void {
cheat = new Timer(2000, 1);
cheat.addEventListener(TimerEvent.TIMER_COMPLETE, cheatProtection);
}
private function showAlert():void {
cheat.reset();
cheat.start();
}
private function alrt_close(evt:CloseEvent):void {
cheat.stop();
}
priv...
Im doing live streaming directly from webcam like Ustream.TV. Im using Flash Media Server 3.5, and I record cuepoints of broadcaster with the method
ns = new NetStream();
ns.send('functionName' , 'value');
I publish the content and record it in a .flv file. However when I download this FLV file and extract the metadata with tools like ...
I just installed (or copied) the Flex SDK 4.1 on my Mac to:
/Developer/SDKs/Flex/4/1/
For now I'll only be using a plain text-editor to use it. No fancy IDE.
However, it only seems to support flashplayers version 10 and 10.1. At least that's what it looks like from the folders:
./frameworks/libs/players/10.0/
./frameworks/libs/playe...
Hello everyone,
I come from ASP.NET and I am learning Flex now. I don't know if I can do what I want in flex, so imagine this in ASP: I have an aspx page that loads a Login.ascx control, the control checks if login is correct, and if so the aspx page loads the XXX.ascx control (so there is only one control visible).
I want to do more o...
I have a AdvancedDataGrid which is placed inside a resizable container (custom panel) and fixed at 100% width and height. Datagrid has about 100 rows and 15 columns. When I try to resize the container datagrid kinda freezes. I understand that while resizing the whole redraw process is being held in my datagrid but are there any ways of o...
Hi everyone,
i just wanted to update an AIR Application for a client. But when the update framework (i'm using the ApplicationUpdaterUI) has downloaded the AIR file and wants to install it, it says that the AIR file is damaged. When i'm installing the downloaded file (copied it from the #ApplicationUpdate dir) by hand everything works f...
I have a number of modules in my flex application and in each module I use a remoteobject to retrieve dynamic data from the server related to each module. Recently I read a couple of comments in some blogs people saying that remoteobjects should not be used in modules, instead they should be in the main application. Is this true and why?...
Dear friends,
Being subclasses of Continaer which is again subclass of UIcomponent, do all container in flex 'inherit all properties of UIcomponent and Container' ? Is there any exception to this rule ?
Please help me on this.
Thanks in advance.
...
In development of Flash/Flex application I've came across weird thing: button placed over transparent panel button remains transparent even with alpha="1".
<mx:HBox backgroundColor="#444444" alpha="0.8">
<mx:Button width="34" height="34" toolTip="Home" icon="{homeIcon}" alpha="1" />
</mx:HBox>
Is there any way to make button not t...
I'm having 2 problems.
1 - I have a text area in which I am matching a string. If it matches then a timer will start. But that condition will likely be satisfied more than once, so I would like to give a condition that if timer is already running don't do anything, if(!timer.running) then start timer. But it still resets the timer ever...
FlexUnit is quite an impressive framework for testing and with the new integration in Flash Builder 4 it's a no brainer to use it. However, I'm not sure why it's necessarily exclusive to just unit testing. In my opinion, I think the tools are great candidates for performance testing as well.
It should also be mentioned that by performan...
I have a HTTPService:
<mx:HTTPService id="scoreService" url="http://" method="POST" result="onResult(event)">
<s:request xmlns="">
<name>{..}</name>
<score>{...}</score>
</s:request>
</mx:HTTPService>
And a script for (event):
private function onResult(e:ResultEvent):void
{
...
Hi Guys,
I'm having difficulty with Flex charts. I'm working on a complete rewrite of a flex app that has a fair bit of charting involved, and I've been instructed to get the look and feel as close to the previous version as possible (for the initial release).
I can't seem to find the style property which dispays a blue, tabbed sort of...
Hello stackoverflowers,
Does anybody know how to skin the datatip of a hslider component.
I have created a 3 skins with degrafa. One for the track, one for thumb and one for the datatip. I had no problem attaching the skins for the track and thumb of the hslider component. But how can i skin the datatip?
Does anybody know?
DJ
...
Hi,
I've been trying to launch a separate Air Application through my current Air Application.
Both apps are compiled using the Adobe Air 2.0 SDK.
The methods I have found so far involve passing the Publisher ID in addition to the Application ID, but I believe the Publisher ID became redundant past Air 1.5.3?
Below is my current imp...
When writing a custom layout for a List, what considerations need to be given for using the horizontalScrollPosition / verticalScrollPosition properties on the LayoutBase class itself (as opposed to the corresponding properties on the layoutTarget)
Looking at the HorizontalLayout class as an example, it always references and updates lay...
Hi there,
righ now i'm using Flex 4.1 libs, when compiling Flex puts all used libs into the root of the application, however - i don't want them there, i want them to be inside Flex_root/libs.
Anyone a clue where i can change the lib location?
...
I'm trying to debug an issue by going to the most basic of tasks.
I have an app written in adobe flex (action script 3) that I want to have interact with a web service. Because it appears I can't access the server, I've created a simple app.
Source code for the ActionScript
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns...
Hello.
I want to call an App function inside a (I know about the Component scope already).
What I mean is this:
<mx:Script>
<![CDATA[
public someFunction():void {
// bla bla bla
}
</mx:Script>
And:
<mx:Component>
<mx:Label text="{data.something}" click="someFunction()" />
</mx:Component>
How can I do some...
Hello everyone. I am looling for tool that can eat my Adobe Flex source code (written in Adobe Flex Builder 3.0.2, Eclipse plugin) or built SWF and produce call graph, class inheritance diagram and so on. Purpose - I've got a project with actually no time to dig in complicated calculations performed there (it's an interactive Flash game ...