Dear Friends,
In one of the application I am working, List has been used. I am required to display items in the form of tiles. I do not want to change the component as of now. Is there any way to achieve this layout in list only.
Please let me know if you have any idea in this regard.
Thanks in advance.
...
Hi All,
My code is doing what it is meant to be doing but somewhere along the line I am missing something in my logic.
I have three movie clips. Each one of them have two frames. The first one has nothing on it (so it looks hidden) and the second frame has the animation on it.
Using an array and the onEnterFrame function, I need to lo...
Hi, I'm trying to find a javascript method to delete flash cookies on a page, but with no luck.
I know it can be obviously done through flash or flex, but the problem is I know nothing about flash, flex and actionscripts...So my question is: Is there a way to just load a prebuilt flash movie in a page, which just programmatically deletes...
I'm trying to access a text input that I've already placed on the stage (inside a movie clip) but with no luck.
I've defined an instance name for this dynamic text field which is currentUserCount
I've got something like this set up in the document class actionscript file:
package {
import flash.events.Event;
import flash.net....
I have a movie clip loaded on the stage.
The stage loops through a few clips so this one gets removed and added to the stage again and again by itself. How can I modify the contents of it on each loop iteration?
Can I add some event listener to it (or it's parent, which is...? stage?)
I already tried something like:
stage.addEventLis...
Hey guys
I'm having issues using ó in a static string being used in an as3 URL link out.
code:
var url:String = "http://www.blahblahblah.pl/show/atomnówki";
output:
http://www.blahblahblah.pl/show/atomn%F3wki
I'm sure this is pretty basic but i'm having one of those days.
...
Please forgive any short-comings in this question; flash is not my area of expertise, but I've inherited a task that deals with AS2 that I need some help with.
Basically, I have a flash document (a loader?) with the following AS 2.0 code:
stop();
import mx.video.*;
var listenerObject:Object = new Object();
listenerObject.complete = f...
I've been creating this banner:
[url removed]
which accesses an xml document, replaces some texts etc, but as soon as you open it up in a browser (like with the dropbox link I pasted) the banner only loops on the first movie clip.
Put in another way: The banner you see is looping through only the first movie clip.
But the swf file (a...
Hi,
I'm trying to have JavaScript call a function from my ActionScript.
ActionScript:
import flash.external.ExternalInterface;
ExternalInterface.addCallback( "playSong", playSong );
function playSong():void {
var _sound:Sound = new Sound();
var _request = new URLRequest("music.mp3");
_sound.load(_request);
_sound.pl...
in AS3 I'm trying to load a URL (a Yahoo address) into the application so I can process the source code and pull things out of it.
However, when I load it, or any other page, I get 0 bytes back.
Here's my current code.
private function doSearch():void {
var req:URLRequest = new URLRequest("http://yahoo.com");
...
What I would like to do is simply add to a dataProvider, but when I do, I get an error.
Here's the code I'm trying to run...
dg.dataProvider.addItem(obj.ResultSet.Result[i]);
It's inside a for loop, using i as the integer.
It works great doing...
dg.dataProvider = obj.ResultSet.Result
But that won't work for me, because I need to...
I have a SWF that can be hosted in several different places on the web (including facebook.com). How can I determine which page is hosting my SWF from within Actionscript?
...
I have a method that I want to be enqueued to the UI thread message pump. How is this done in actionscript? Basically I am looking for the equivalent of System.Windows.Deployment.Current.Dispatcher.BeginInvoke() in actionscript.
...
I'm new to flex and actionscript. I'm trying to create a small flex app that has multiple states, but if I have nested containers, it looks like some of the objects are not getting initialized when I expected them to be, even when I have the creationPolicy set to "all."
I've reduced the issue to a small example, with a commented block s...
I'm trying to build a streaming .mp3 player to run various sound files on my web site. To do that, I followed a tutorial that includes a code template at:
http://blog.0tutor.com/post.aspx?id=202&title=Mp3%20player%20with%20volume%20slider%20using%20Actionscript%203
However, whether I preserve the template's direction to the author'...
for example:
var mc:MovieClip=new MovieClip();
mc.graphics.beginFill(0x000000,0.5);
mc.graphics.drawRect(0,0,100,100);
mc.graphics.endFill();
mc.graphics.beginFill(0x000000,0.5);
mc.graphics.drawRect(0,0,100,100);
mc.graphics.endFill();
with this i will get a box with an alpha value darker than 0.5. I want a 0.5 alpha square without...
Hi, I want to create a tab-enabled popup window in an AS3 Air project.
Currently, when I press tab several times, the focus goes through all the components in my popup window and then starts focusing the buttons and TextFields from the components that are behind the popup.
I have tried to solve this problem in two ways, but none of them ...
I'm trying to pass some properties to a component I've created in Flash Builder 4. In my example below I want to pass the "label" property to update the label property of the Button.
Any help would be greatly appreciated. Thanks in advance.
// MyApp.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns....
This is really bugging me, but I have a component where a Button is wrapped in BorderContainer. I'm passing a custom property to the component at run-time to change the label of the button but Flex is reporting the following error:
Cannot access a property or method of a null object reference
When the error occurs, Flex highlights the...
In my example below I have several objects. I want to change the label of all objects in one go, without calling each element by id. I know how to do this in HTML, but not in Flex.
// HTML
<div class="text" id="text1">SomeText</div>
<div class="text" id="text2">SomeText</div>
<div class="text" id="text3">SomeText</div>
// jQuery
$(".te...