ActionScript 2.0 :: Create A Handy Application For A Football Accumulator?
Jul 23, 2009
I'm working on a project for college and am having a spot of trouble. I'm trying to create a handy application for a football accumulator but can't work out how to use two different attributes to display the relevant information.
The idea is to present the big four clubs, plus the team they're playing, in the correct order - ie Home Draw Away. I've managed to get the first game displayed but if I change the relevant child node to display another game, I can't get the Home Draw Away sequence or only display one of the big four games.
I've added two attributes to the XML - big_four="1" or big_four="0" - for the event and hda="H" (ie for home) for the particpants in the game.
each time I want to modify the style in Flex, I have to change the style and compile, if there is tool for dynamic change the style just like firebug for Html
I've found the loader component handy in loading JPEGs and scaling them to the specified size. However, I've found it a little annoying that when the image is loaded, sometimes you can see the image in it's original size for a fraction of a second before it's resized to fit the loader. Is there any way to avoid this -- such as the loader only being visible after the image is resized?
I 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.
I 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'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,
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.
I 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?
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.
Trying 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.
A 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;
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?
how 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?
I 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..
Is 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?
i 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?
I have a flex application, and I am using a cairngorm structure - src/com/mysite/editor/model/ contains the following two things
[Code]...
I was wondering where the best place to put helper methods is. I need these to be methods I can use outside of the singleton enforced class. Would it make sense to put it in Global Constants? The only thing against that, is I always use EditorGlobalConstants the same way: EditorGlobalConstants.SUPPORT_PHONE An example of a 'helper function' is the following:
I am trying to create a Colorpicker control for my application. I prefer pure actionscript. Does someone know how to create a picker like this: [URL] Most interestingly I am interested how to draw the gradient because the gradient has a saturation,
I am an actionscript developer and I know nothing when it comes to mxml. recently switched to using flash builder and I really like it but I want to create an AIR application in flash builder but I don't want to use mxml since I don't need any of the built in framework to accomplish my goal.Is that possible? If I have to use mxml to start the application how do I use .as files with .mxml files?