ActionScript 3.0 :: Adding Work Hours For Each Employees With Overview?
Feb 24, 2012
My boss has asked me to find/create a program which can be used for each employee to add his/her hours to a specific project (and possible subprojects) and have a sheet (preferably printable) with an overview. My only "real" scripting knowledge atm is AS3, I do have some small experience with jQuery, and trying to expand that knowledge so I can work with HTML5 [URL]. And I have worked, once in a blue moon , with PHP. Would it be a "weird" decision to just create this myself within Flash/Air? And use xml/txt to store the hours locally?
View 1 Replies
Similar Posts:
Dec 9, 2011
I am using FLEX version 3.0I want to calculate the total working hours. I am giving you the details and what i have done in it.
var a:Number = 2.00;
var b:Number = 2.00;
var c:Number = 1.45;
[code].....
View 3 Replies
Jun 23, 2008
[Code]...
When i test it, I got this text: UNDEFINED But if I write clock.text = date; It works
But why doesn't seconds, hours, or minutes work
View 1 Replies
Apr 23, 2010
I need to add in extra hours to the time, and the day will change automatically too. How should I change the code below?[code]
View 1 Replies
Jun 22, 2010
Moyea SWF to Video SDK offers a technical solution to convert SWF online. Under the Command line environment and server environment, this SWF to Video SDK version supports to convert most of the SWF files, including online SWF to video and audio files in AVI, FLV, MPEG, WMV, MP4, 3GP, MPG, DVD, VCD, SVCD, MOV, MP3, FLV , DV, AAC and so on formats online.Functions of video resizing and trimming are also the advantages belonging to this SWF to Video SDK. With these functions, Moyea SWF to Video SDK enables you to automatically convert flash SWF file to video formats which is accepted by your web like YouTube for web designers.
Key Features of SWF to Video SDK Convert local and online SWF to video files in any formats for developers' development goals Convert SWF files which called through Parameter to video in any formats for developers' development goals Support video resizing and trimming to meet specific needs Support AVI with Alpha Channel conversion to retain the original transparency Process 32 bits RGBA file for further edit in Adobe Premiere Adopt Lower-Playback-Speed technology to achieve accurate audio and video synchronization and no frame loss Adopt audio-extracting technology, instead of recording; to 100% keep the original sound effect Support multiple SWF files automatic conversion FREE TRIAL WITH NO TIME LIMIT. NO SPYWARE, NO ADWARE, NO VIRUSES. 100% CLEAN.
[code]...
Web Servers can integrate this program for flash SWF files conversion to video formats without manual involvement.
Convert Flash SWF files to video formats files with more initiative under COM environment or command environment online.Developers can fully retain the original flash SWF files' animation to videos for further edit in some video editing program like Adobe Premiere.
Convert local and online SWF to video files in any formats for development goals.Convert SWF files which called through Parameter to video in any formats for development goals
View 1 Replies
Sep 27, 2006
I have a database with images and I want them to show up in a gallery-overview, like a matrix of images. Through an XML file I get the total of images. Based on that number I want the overview to be built, stopping the duplication of movieclips when the total of images is reached. So you kinda get something like this: See? It stops when the amount of 13 is reached and doesn't continue to fill up the third row.
View 9 Replies
Nov 13, 2010
Alive Flash Slideshow Maker is a professional slideshow builder to easily create high-impact photo slideshows. It turns your digital photos to flash ( SWF ) slideshow with background music and transition effects. So that you can upload the output flash file to websites and share your memorial moments with your family and friends. You can also post the flash slide show on MySpace, facebook, YouTube, or your Blog.
With this extremely easy to use flash slideshow maker, You don't need to learn any additional skills to make a flash slideshow. Simply drag & drop the photos into Alive Flash Slideshow Maker, click "Publish" and a stunning flash slide show will be generated. Alive Flash Slideshow Maker supports almost all picture formats including JPEG, BMP, GIF, TIFF, PNG, PSD, RAW, WMF, EMF, etc.
Features:-Output Flash (.SWF) File and HTML pageCreate two files: a Flash (SWF) file and a HTML page file. This allows you to share the slideshow via uploading the two files to your website simply..-Output Flash (.SWF) FileCreate a standalone Flash (SWF) file only. But the corresponding HTML code will be generated for embedding the flash slideshow into your own webpage. You will be able to copy and paste the code into any webpage.-Output Executed Flash File (.EXE)Create an executable Flash slideshow (.exe file). So that you can play and share the slideshow without webpage and browser. Just double click the generated .EXE file, the slideshow will be played without any Internet Browser.
View 1 Replies
Nov 16, 2009
Is there a good place that has an overview of how Flex layout stuff is managed? I'm trying to create some user-resizeable "windows" in Flex, but I'm having some trouble getting the layout calculations for the contents correct. Right now I'm just trying to get a good understanding of how Flex calculates its layouts, but I haven't found any good overview documentation. For instance, looking just at the width value there are the following:
[Code]....
and the same set for height. What's the meaning of each of these? How is each used? Is there any way using those to calculate some preferred size of a component (like getPreferredSize() in java)?
View 3 Replies
Nov 12, 2009
I have an MC that has a graphic. I have faked buttons for just the over state, so it shows a border around a portion of the graphic. That works fine until I added this to the MC:
this.onPress = function(){ if (this._currentframe != 1) {
rewind = true;
}}
The onPress function does what it should do, but the buttons no longer show their over state when I hover over them.
View 7 Replies
Nov 7, 2010
I've read many of post on how to make a button with as3, and I finally got one button to work, however; if I add another button one of my movie clip symbols disappears and neither of my buttons work! Each button is a button symbol, on it's own layer, with own instance name, each action is on it's own layer referring to the unique instance names with their own function names. My code is below.
button_1.addEventListener(MouseEvent.CLICK, myButtonFunction);
function myButtonFunction(event: MouseEvent) {
var request:URLRequest = new URLRequest("index.html");
[code]....
View 7 Replies
Feb 11, 2009
Does anyone have any links about using appendChild() and insertchildbefore() because I can't seem to get this to work.
View 1 Replies
Jan 19, 2011
I just started using flash and Im hoping someone with more experience can help me out. When I add the stop code to frame one to stop the timeline on my homepage, the buttons Ive set up in my navigation bar do not work. But, if I do not have the stop code in the timeline, the buttons will work correctly. Without the stop code, though, obviously the whole timeline plays through and doesn't stop on the homepage, which is not desirable. So how do I stop the timeline on the homepage and still have my buttons work?
View 5 Replies
Feb 3, 2009
I have 3 swfs of a cloud animation, one for the day, one for the evening and one for the night. I would like to load the day swf from 6 am to 3 pm, evening from 4 to 6 and night well...the rest..but honestly I dont know where to start or how to make flash read the computers internal clock.
View 5 Replies
Mar 29, 2010
I try to increment each 2 hours but I don't know how to proceed.
View 2 Replies
Jul 25, 2010
Is there a way to compare the current time to a bunch of times (loaded from XML) and have it figure out which is the closest to the current time?
View 3 Replies
Apr 10, 2011
I want to show a full 24 hours along the datetimeaxis wherever the values fed into it happen to fall. I thought that setting the minimum and maximum of a datetime axis on the chart would have that effect.
so I have private function loadDayComplete():void{ //called when data is reloaded. also includes reassigning the dataprovider of the chart.
[Code]...
When I load up the function though it doesn't plot any points when the min and max are set. If I take out the minimum and maximum they show up fine! I double checked in debug mode that the minChartDate and maxChartDate are what they should be.. but maybe I'm misunderstanding how minimum and maximum are supposed to function... I also tried widening the min/max to include several days and still no luck. I also tried assigning the min/max when the chart data changes like so:
View 1 Replies
Sep 15, 2011
[code]This passes the date to another function that uses the date to see who in my office is oncall in the database and displays their name. The problem is, everyone that is oncall has to be oncall until 7am the next morning. So this works great IF they were off at Midnight each night. Is it possible to subtract 7 hours from this date?
View 3 Replies
Oct 18, 2005
i want to have an swf loaded between 8am and 6pm and another one between 6pm and 8am. How can i do that? i guess it's not very hard but i don't get it. i suppose i need a variable with the hours. then do a if statment that check if the current hours is between 8am and 6pm. then if it's between this time do this if not do that..
View 8 Replies
May 2, 2009
use it for my final project to graduate with a CS degree. I did some basic animation type stuff around 5 years ago in school but nothing major. I want to make a website for a non-profit organization for my project. I know what I want to do, but I need to give my advisor an estimate of how many hours it will need to complete it.Here is a general outline of tasks I want on the website:Message boardBlogEmbedded videoPhoto galleryArchived newsE-commercestoreGuestbookCounterPollsApplications - games, instant messenger type thing (if I have time)
View 5 Replies
Oct 13, 2010
i am trying to create a 24 hour countdown clock that will loop and play backwards counting it self back down to 00:00:00:00, being new to flash As3 i am struggling to create this animation
00:00:00:00
hours:minutes:seconds:milliseconds
I have been given this code by a very helpful user
var timer:Timer = new Timer(1000);
var currentSeconds:int = 86400;
var milliseconds:int = 86400000;[code].......
the problem i am having now is do i need to add an instance name to the 00:00:00:00 design on the flash stage for the code to work as i have tried and i think im doing something wrong.
View 1 Replies
Nov 24, 2009
I have recently developed a standalone Flash entertainment system, containing Flash games and screensavers etc., i have also included a third party mp3 player.
The problem i have is the PC is left switched on daily and the system is used quite heavily, i.e mp3's playing in background while screen savers are displayed and games are played.
Everything starts fine but after a few hours the flash animations slow down to about 2 or 3 frames per second, then the PC will finally crash.
View 1 Replies
Oct 14, 2010
I am trying to create a 24 hour countdown clock that will loop and play backwards counting it self back down to 00:00:00:00, being new to flash As3 I am struggling to create this animation. The AS3 code I have put into my actions is as follows:
var timer:Timer = new Timer(1000);
var currentSeconds:int = 86400;
var milliseconds:int = 86400000;
var result:String = "";
timer.addEventListener(TimerEvent.TIMER, countDown);
function countDown(e:TimerEvent):void {
[Code] .....
When I press to test the movie the numbers are still 00:00:00:00. Below I have attached a link to an image to give a better idea of where i am at with this animation: [URL]
View 2 Replies
Feb 15, 2011
I'm making a timeline with a moving car. It has to go from left to right in about 11 hours. I got this code and the car is moving from left to right:
[Code]...
But everytime I refresh my page the car is at the begin again. So I have to attach it to a Timer/date class to it so it stops at a certain point / time and date.
View 20 Replies
Sep 6, 2011
I am a game programmer and i have made a game where there is a character which has to select the right pieces and avoid the wrong ones. the pieces/food come from top, the character jumps and fetches them. Thats why we are keeping a gap between the pieces to avoid the character touching the wrong ones.
Problem : When I win the game and keep re-playing it continuously for more than an hour i notice that the gameplay gets slow(slow FPS). The behavior and movement of the characters become slow. Upon playing for 3 hours the slowness is easily noticeable. This also happens when I minimize the game window or get the focus off the game to some other window for a long time (half an hour or more). The problem doesn't come if I play once or if I lose the game and try again. This comes when I keep playing it for a longer time.
View 1 Replies
Oct 23, 2009
I am building a scheduling system. The current system is just using excel, and they type in times like 9:3-5 (meaning 9:30am-5pm). I haven't set up the format for how these times are going to be stored yet, I think I may have to use military time in order to be able to calculate the hours, but I would like to avoid that if possible. But basically I need to be able to figure out how to calculate the hours. for example 9:3-5 would be (7.5 hours). I am open to different ways of storing the times as well. I just need to be able to display it in an easy way for the user to understand and be able to calculate how many hours it is.
View 2 Replies
Sep 1, 2011
I'm hitting a wall on this one. My script finds the difference in hours between 2 dates, however..
var data:Array = ["2011-08-30 11:19:19", "01-09-2011 02"];
var aDate:String = data[0].split(" ")[0];
var dateElements:Array = aDate.split("-");
var date1:Date = new Date();
date1.setDate(int(dateElements[2]));
[Code]...
As you can see, the date elements trace out the way they should. Now try changing the first element of the data array to "2011-08-31 11:19:19". Although the date elements are fine, the last trace gives a totally weird value. What's even weirder is that when compiling this script a second time in Flash IDE, it takes a long time to compile, then traces nothing at all, as if the script times out.
View 1 Replies
May 7, 2006
As per title said how to calculate the hours and minutes for 2 diferent values eg;
value 1 = 9.15 AM
value2 = 2.45 PM
So I want calculate how many hours and minutes between this 2 values..
9.15 AM -----> 2.45 PM
View 4 Replies
Oct 14, 2010
i am trying to create a 24 hour countdown clock that will loop and play backwards counting it self back down to 00:00:00:00, being new to flash As3 i am struggling to create this animation
the AS3 code i have put into my actions is as follows:
var timer:Timer = new Timer(1000);
var currentSeconds:int = 86400;
var milliseconds:int = 86400000;
[Code].....
View 1 Replies
Apr 22, 2011
This is my first time skinning a scrollbar and I ran into a issue. The button I click and hold to scroll up and down changes in size depending on how much content there is. Is there a way to keep the button from changing in size?
For example if my scrollbar button was a smiley face and I didn't want it to stretch.
I am changing my scrollbar components globally by creating an instance of my custom scrollbar and applying it via the style manager in my code.
[Code]...
View 5 Replies
Mar 18, 2012
calculating total number of hours after adding my hours and minutes once clicking on a button. this is actionscript 3.0.
View 1 Replies