I established an extended permission with Facebook connect, works like a charm,
but i just can't seem to publish messages on my wall.
i keep getting this error:
error code 100: Invalid parameter
my code:
var message:String = "test facebookconnect";
var publishpost:PublishPost = new PublishPost(message, null, null, null);
publishpost....
When i put a dropshadowfilter on a dynamic textfield with html-content, the links (a href) stop working.The textfields rotate in flash 3D space so they have a transformmatrix applied to them. Could this be the reason? Anybody had problems with html-links and dropshadowfilter applied to the textfield? it makes no difference if you put the...
I'm trying to write an adobe air application that compresses multiple files into one archive and then uploads that archive to a web server. Currently I'm using the fzip library. The problem is fzip requires me to load the entire file into memory before serializing it to the zip format. I'm looking for an example of doing streaming fil...
Hi,
Need to execute an external EXE from either a Java web app (running on Glassfish on Windows Server) or from an Flex/AIR desktop app.
Any suggestions, links?
Thanks,
...
I created a custom component in Flex 3 that contains a column chart. I also added code that will allow the user to drill down on a column when there is underlying detail data. If there is no data, clicking on the column has no effect.
I want to make the column under the mouse glow when the drill down functionality is possible as a visua...
Hi,
Im trying to find some way (in actionscript 3) to output info for the current package at runtime.
Given the following code snippet;
package com.foo.thing
{
import com.foo.Helper;
public class Tester
{
public function Tester(){
Helper.tracePackage();
}
}
}
I'd want the tracePackage method to trace out th...
Is it possible to execute a "foreach" through each of my SharedObjects?
Something like this . . .
_so = SharedObject.getLocal("test","/");
foreach (var item:Object in _so)
{
// print key name and value
}
...
I have a class which exposes literally dozens of events(before you get of on a tangent about whether that's good/bad design, just know that I didn't make that class). The event object of each event(eventParam in the below code) always has a toDebugString function, that basically creates a string containing all of the event object's prop...
I have a page made of custom components. In that page I have a button. If I click the button I have to call another page (page.mxml consisting of custom components). Then click event handler is written in Action-script, in a separate file.
How to make a object of an MXML class, in ActionScript? How to display the object (i.e. the page)?...
Is something like this possible in Actionscript?
Java:
URLFetcherFactory.setCreator(
new IURLFetcherCreator() {
public IURLFetcher create() {
return new URLFetcher();
}
}
);
Actionscript:
?
I've been wondering about this and have been unable to find anything that indicates it's possible. Figured if it was ...
I have a drag-and-drop event form in a flex project. I need to run a validator right after the item is dragged into the dataGrid. In it, I fire off a function through dragDrop="verifyEventUsers()". In the validator, I compare the contents of the two arrayCollections, but it appears to be running the checks prior to completion of the d...
Using ActionScript 2.0, how do I show or hide a button onclick? I am making a simple mp3 player, and would like my pause button to change to a play button when clicked, and vice versa.
...
I want to check the RGB color of the object using actionscript in flash. The name of the object is object1. I checked like this but it didnt worked. help me
if (object1.color=rgb(255,0,255))
{
trace("Selected Pink");
}
Give me correct syntax to check the rgb color of the object
...
I would like to get the absolute path of my swf file from within Actionscript.
E.g. if the script called "http://www.mysite.com/banner/flash.swf" I'd expect "/banner"
In PHP I would do:
$fpath = str_replace('\\', '/', dirname(__FILE__));
$path = str_replace($_SERVER['DOCUMENT_ROOT'], '', $fpath);
How can I do this in Actionscript?
...
I have some nested movieclips in my banner and can't realize how to prevent error it gives me while running. There is a movieclip that runs 3 times and there is a nested movieclip that runs 3 times too, so the nested movieclip runs 9 times totally. When the nested movieclip runs 4th time, it gives me error, but everything works as it's n...
I'm working on an application and I am building a "Keyboard" component for it. There are 30 keys on the keyboard and it doesnt seem to make practical sense to create an event handler for each button. When the button is clicked, its label should be sent out to a function which adds it to a textinput field.
Should I just create a "click...
Okay I'm trying to make a navbar which is dynamically created when the flash movie starts, and the number of buttons and their links are defined by XML.
So far, I've got the navbar making itself correctly and taking button names and number from the XML page.
What I cant seem to figure out is how to have actionscript 3.0 take the link a...
I want to create a component that has a couple of "holes" that are to be filled in differently on each use. Currently, I'm doing it like this (using the Flex 4 framework in this example --- it would look almost the same for Flex 3):
public var fooComponent : IVisualElement;
public var barComponent : IVisualElement;
override protected ...
I have a short flv I want to play on my website. I use the below actionscript 2 code to play the video, but the anti-aliasing of text is really poor quality. I added a line to introduce "smoothing" to the video, but it appears to have no visible effect.
var my_video:Video;
var my_nc:NetConnection = new NetConnection();
my_nc.connect(nul...
I've developed a component which is a combination of a few items (canvas, labels, etc...) but when I try to bind it to a variable such as : {stationXML.getItemAt(1).AAA.@value}, it doesnt work. Before I combined all the items in a component, they were all in the main MXML file at which time they worked.
Not sure if it matters, but the ...