ActionScript 3.0 :: Create Log File In AIR Application?
Jan 3, 2011How to create Log file in AIR application with detailed steps.
View 1 RepliesHow to create Log file in AIR application with detailed steps.
View 1 RepliesI was wondering how to make a .fla file to be opened and read by flash and have all the elements required using my own program.the motivation behind this is that i want to create a whole lot of swf files that are all pretty similar but won't ever just be slight modifcations to a base file... that and it requires a lot of data to place certain objects in places and set their keyframes to specific things etc.so i wanted to automate creating the .fla files. how to create a .fla file without flash?
View 6 RepliesHow to call flash file in ipad application. Is it possible or not? Is there any way to call flash file in iPad application?
View 2 RepliesI had flex project with few action script files.I want to make the project as swc file. So can i know how to create it as swc file.
View 2 RepliesI am trying to create a multiple file upload flash application to be called from an External Interface, but it isn't working.
AS3:
var fileRef:FileReferenceList;
ExternalInterface.addCallback('selectFiles', showDialog);
function showDialog()
[Code].....
When I run the script and comment out the fileRef parts and uncomment the alert call, it shows the alert, also when I comment out the ExternalInterface call, leaving only the fileRef parts, it shows the file upload dialog.
When I run it as intended, I get the following error:
Error calling method on NPObject
Recently, I writed a programe about creating a text file and writing data into it in the server application folder. My code is as following:
[Code]...
Supplement: The text file named test.txt doesn't exist before create the fileObj, an instance of File Class.
I'm developing an application for the Blackberry Playbook using Flash Burrito 4.5 and Flex. I'd like to create a file browser to allow users to load images from the local system into the application. I followed this example [URL] When I click on the Load Image button in the simulator however, the file browser pops up but tells me that "no file was found with the specified filter", even though I don't specify any filter or even if I specify a . filter.
View 2 RepliesI am using Flash profassional cs5 and want to create an iPad application but it only allow to make iphone application. It allows to install on iPad but the resolution is very small.
View 1 RepliesI need to make my Flash application create a connection to a remote application and have the remote application send periodic updates to my Flash animation. The remote app is written in VB 6, and does not support XML sockets. However, I don't need the ability to send or receive XML since I am going to be overriding the onLoad() event anyway.
Or maybe I do need that ability... I'm having trouble getting my onLoad() event to trigger. Right now I'm just testing the onLoad event like this:
[code]...
So, basically I'm trying to find out how I can format the data I'm sending it so that the onLoad() event triggers. I've read that the XMLSocket object listens for the Null byte, so perhaps the data I'm sending it doesn't terminate properly. I need a persistent connection from Flash to the VB app because the VB app will be the one initiating the updates to the Flash application. Is the XMLSocket the way to go here, or is there another class of objects that I'm missing?
I have made one one mobile application in flash builder using flex mobile project I have a question that "why size of an .ipa file is large as I export a mobile application as iOS application.???? in compare to that same application for android takes small size!
View 1 RepliesI'm new to flex. Now I'm writing an flex application. I plan to split my application into some MXML files(Application as the root tag). How can I switch from one mxml to another?BTW, what is the best practice for design large flex application? Just one MXML Application and many MXML component or many MXML Application?
View 1 RepliesI've looked through the scripts in the scripts/ directory, but haven't seen anything obvious.
I would like to be able to specify the file name to capture the stream to. At present, the capture file is always named the same as the stream, which means if I stream for a bit, stop, then restart, the originally captured file gets overwritten. I'd like to be able to incorporate something, i.e. the stream start time, into the capture file name.
I have a flex application which contains different feature that includes google maps, twitter, facebook etc.
Currently I have hardcoded api keys in the code it self but I want to use a properties file/config file where I can put such things and use anywhere I want in the application.
Is it possible to achieve this in flex? I am using swiz framework. Is it possible to achieve this using this framework?
I'm trying to create an application that has three movieclips that when rolled over show a movie clip over everything that the user reads then they drag one of three pictures over to the corresponding movieclip. I have the Movieclip alpha down until roll over but i had issues with layer order. If its on top i cant access the drag items beneath it and if its below i cant see it.I tried using swapChild but then it makes it crazy. The DragItem "sticks". It shows up on pages it shouldn't (i have it on one frame but it sticks to everything and i cant get rid of it). It works when im on the current frame so i must be close?
here is what my code is currently:
//This is the graphic that i want them to hover over to call the movie clip to show
msdsHover_mc.buttonMode=true;
msdsHover_mc.addEventListener( MouseEvent.ROLL_OVER,
[code].....
I'm trying to create a flash application where the user can add points (I call them draggers) and he can move those points around an image. What needs to happen is that I will use these points and their coordinates to change the image.
What I need help on is how to accomlish the rotation. Let's say the user has added three points on the stage, and they want to rotate the three points along the center of whatever triangle they form.
[Code]...
Is it possible to create an application that can add effects similar to what shape collage does? I know, it was made using java. Could something like that be built using as3?My idea is that it uses alpha to know, where to start adding the shapes. In php its possible to read every pixel of an image, to check its color, so we can know if it is alpha or not, so i think there is something similar in as3. The images could be uploaded thru filerefence.
View 1 RepliesTrying to create a profanity filter for an AS2 application. Working with code found on this site on another post that doesn't seem to work. Anyone see the issue here?
test.onPress=function (){
badWords = ["this", "wont", "work"];
var lc_content = formContent.toLowerCase();
for (j=0; j<badWords.length; j++){
[Code].....
The form field is called "formContent". This returns both traces no matter the input so it must be a problem with the structure but I can't see it.
My idea is to be able to have a number of different objects on the side of the stage, kind of in a toolbar, then to be able to click (and thus select) one of them and place it another area in the room with another click (basically placing it, deselecting it and fixing it in place where I clicked).
I'd then like to be able to re-click it and reposition it by dragging, if I so wish.
I want to create a chat application in AIR but i dont know that how a chatting server can be created in Flash.
Basically i want to create the window application using AIR, so that which can communicate with the server, but i dont know anything how to establish to server that can handle the client requests give by my application.
How to create an AIR application using only actionscript(without mxml)?
View 5 RepliesA while ago, we created a replacement shell to run as a front end for a cybercafe. It was nothing fancy; just a flash movie that had button links to IE and a few trusted applications.
I'm trying to develop it further now and am wondering two things:
1. Is it possible to send an application to a frame within a movie? For example, have a static movie at the top with links, then when a button is pressed, the menu remains but the application opens below without overlapping. I know I can use HTML and frames but really want to keep it all in one movie/swf.
2. Is it possible to build on the above and have some sort of application lister that will allow you to switch between the two applications you have running. For example, a user may opem IE, the open Word. Word has now replaced IE and I want the user to have a simple click button to go back to an existing window rather than open another instance from the menu.
I have a large web application with verticalScrollBar with few charts and large datagrid. I am planning to create pdf of my web application using AlivePdf.
Right now, Im using below code to creat a pdf of my application, but no luck.
var printView:DisplayObject = new InteractionsAnalysis() as DisplayObject;
printView.width = Application.application.width;
printView.height = Application.application.height;
[Code]......
how to create new window(same application duplicate) in Air Project.
View 1 RepliesI'm working on C# application where I get some user input, so I'd like to save it as animation to SWF.
I searched the web for some open library to do that, but I've found only dead links. Is there any open library for that?
I'm trying to create a module for a flex application, and I want to send notifications to clients. I've been looking at the BlazeDS messaging service to push out the notifications to clients, but I want to be able to send certain updates to certain clients. The Flex notification framework doesn't seem to allow this - if we have a field in the message with a value of the user's user id for example, any client could theoretically subscribe to all messages for any given user id, and there's no verification on the server side to make sure that the client that has subscribed is logged in as that user id.Is there something I've missed here, or is the best way to handle this writing my own polling mechanism on the client side?
View 2 Replieshow to create a pop up dialog using facebook application, i found some examples but it doesn't worked for me, now i loaded my friends then beside the profile pic of my friends in have a button name select, where if i select that current friend it will now pop up the image and name then have a button continue how should i do that?
View 1 RepliesI am creating a MS paint like application in flash.... for this i have taken a movie clip named board.....nd i am allowing to draw different shapes in it through drawing API. But i want to create a bucket tool so that when user click in the shape drawn in movie clip (through addchild()). The color of that shape should change..
View 5 RepliesIs it possible to create a webbrowser inside a Flex (not AIR!) application? I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible?
View 2 Repliesi am working with Flex for quite sometime. but i hadn't get any chance to even look at Adobe AIR platform. I am planning to do some personal softwares using AIR.
Provided the background that am an absolute zero in AIR, what all should I have in my system apart from Flex builder? And how fast i can learn AIR if I am pretty comfortable in Flex?
I am using flex4, I am seeking the answer to create multi window web application. My application is some sort of complex, currently I only know using PopupManager to create a new window.Should I create each MXML for each window that I want to instantiate? And then load the mxml and put it into the stage? Is there any tutorial describing that? I want the program modular and easy to manager, extend.
The current way I am using is use Group to group up all the controls inside a window, and if user want to open that window, I will display the group and bring it to the front. Is it the right way to do windowing? But I can't support drag.
I want to know if there is any native support for draggable window, or dialog?
Also till now all the controls are put inside a single mxml file, is it possible to put one window(or one group) to be a separate mxml file?