Flash 8 :: Creating An Eating Schedule?
May 15, 2010
I am working on a website that focuses on a specific diet. On days that the person exercises, they eat from the time their workout starts until 9 hours later. On days that they don't exercise, their eating window is 2 hours after their normal exercise time until 6 hours later.
Here is what I'm looking to achieve:
A visitor enters a workout time (example: 1pm) and checks off the days that they work out. From there, it generates a schedule for the week that lists the eating times for each day. For example, if they exercise mon/wed/fri at 1pm it will look like the follwing:
[Code]...
View 3 Replies
Similar Posts:
Apr 20, 2003
If I wanna promote/publish my favorite radiostations schedule ( week based ). How would I do that? Looked a little at "myDate.getDay()" but i dont know how to use it!
View 1 Replies
Oct 15, 2011
I have created a swf interactive content, but I notice that the more I click on the buttons, the more memory it consumes, how can I prevent flash consuming my memory instead of closing the entire flash and reload it again?
View 1 Replies
Nov 22, 2011
I have been working on a flash game where I add sub-animations to a movieclip by attaching child movieclips. This creates a hierarchy of movie clips with different animations, but the result of that was that the parent movieclip ended up growing indefinitely and eating lots of memory. Is there a way I can optimize such animation? If bitmap caching works, would I be able to cache all the children which were added before runtime (e.g children movieclips which were added during design and before publishing the SWF).
View 2 Replies
Mar 13, 2009
I have developed an online chat application based in AS3. Users report the chat gets really sluggish after sometime. Days of debug point to the flash movie growing in memory! The only thing I can think of is the dynamic text field i have in there where chat is displayed. Is there any way to "purge" some old text? To add text to the dynamic text field i use:
[Code]...
View 3 Replies
May 28, 2003
fspaiva just posted a thread with a scale script [URL] attached to a movie is attached this script :
[Code]...
when i try this script and watch the CPU monitor of the computer, after hitting one button this movie keeps eating cycles and a lot of it, meaning after the movie has adapted to it's new set scale, so tried if adding an "if" in the script could stop that :
[Code]...
but that doesn't work, the CPU keeps peaking, so my question is, should i worry about these things? if so what to edit to make that more efficient?
View 14 Replies
Oct 5, 2011
i have a big assignment to schedule in the end of the month/ i've made a game which made of pictures and videos (flv), and when i've inserted the third flv movie i tried to test my project. and when i have exported it, it reaches the end and just doing nothing: no errors, no file, just nothing. my project is on 1920X1080 resolution, i have 23 videos of 10 seconds each, that i need to insert, and the quality is 1500 bits.the first two inserted movies succeeded, but from the third and above, nothing happend.
View 1 Replies
May 10, 2011
How do I create a countdown for a bus schedule in actionscript 3, I've searched online but mostly countdowns for holidays or a specific date appear. I need it to be recurring, bus runs every 30 mins.
View 2 Replies
Feb 2, 2011
Thinking about developing a "class schedule app" that has a backend user interface that a user can add/edit/delete dates and times, savs and the data shows in a cool graph on a webpage. I was thinking of using authiticated php page to update an xml file or database that could be read by a flash app to create a dynamic graphic. Think a 800 x 500 square with the 7 days set as rows ontop of each other and the times for each day listed horizontally.The times set in xml/database would be color coded boxes with rounded corners that lay over the times for those days.**I am not looking for anyone to tell me how to do this. I was hoping to get ideas or thoughts from other developers on my options as far as languages to dev in. I have done a few searches and found a lot of javascript calendars to select dates but I am less concerned about the backend looking good.
View 1 Replies
Nov 27, 2011
I'm trying to make this calendar thing where you can write your schedule in it and it will save it. The part I'm kind of stuck at (and I figure I should sort this part out before getting much further) is that I need it to identify which day it is you're clicking on.
I'm thinking if I can get flash to write a txt file (like with xml or something) that says what box your clicking on, then I can get it to display that txt file in the dynamic text that says "Day" over your schedule. Then anytime you enter something into the schedule it will name it after that dynamic text and the time. Eventually I'll have to have a "back" button that will take you back to the main calendar. I'm thinking I can make this button delete the txt file that said which day you clicked on so that there's no confusion....Or I could make it that when you click on a day it will delete any pre-existing txt files that say which day you clicked on. (Not your actual schedule txt files.)
And then of course I'll have to make it so that any time you click on a day and get the dynamic text "Day" it will display all the text associated with that day. So does anyone know how I would do this? I need to know what actionscript I can use that will export a txt file depending on what square/day you click on. And I also need to know what actionscript will delete the txt file when I need it. (Wow, I hope the paragraphs above make sense!) I've included my flash file.
View 0 Replies
Jul 18, 2005
I need to load in a schedule of events (xml).These events are precisely timed (down to a tenth of a second).The events (like, attach movie to main screen) need to last for a very precise amount of time (again, within a tenth of a second).So, it would run like so:Schedule gets loaded that says:
* "show banana for 15.5 seconds @ 2 min and 32 seconds after the movie started, then remove the banana."
* "show apple for 12 seconds @ 4 min and 12 seconds after the movie started, then remove the apple."
and so on... like 100 of them.So, what's the best way to handle this? It seems like I'll certainly have to use "setInterval" in there somewhere - but I'm looking for the cleanest and most accurate way to do this.To complicate things further - my scene is rather computationally intensive (even on the f8 player) and timing accuracy seems to be a weak spot for flash in this kind of situation.
View 5 Replies
Feb 19, 2009
I'm making this game with complex visual effects (some rendered lighting using bitmaps), so it takes about 1 second or so generating a level with 3 big lights, so it may take a little more using more lights. The map is built when the player clicks to play the level. The thing is I can't show him the game is busy processing the level elements, because the graphic elements won't refresh until the start level function returns, which would make some sort of info sign while the map is loading useless. How would I make it so this information is visible right after I click Start level and disappear as soon as the level is built? I'm assuming the event handler from clicking Start level has to return before the level starts loading, but how can I schedule the game for loading?
View 4 Replies
May 4, 2010
The program I aim to create here will run a series of countdowns, all day long, one after the other, basically counting down to the next event.For example:
-1 minute countdown til game begins
-20 minute countdown til intermission
-2 minute countdown til second half
-20 minute coundown til games over
-5 minute countdown til new game starts
I have been given a lists of times for which to begin each timer (and its duration), but the tutorial I followed earlier uses an onEnterFrame function.I need some way to determine the closest timer that should be running, without killing the CPU with onEnterFrame. This task seems like it should be simple, but I can't quite wrap my head around it.[code]
View 9 Replies
May 4, 2010
I've successfully made a countdown timer countdown to a predefined date (Christmas, and yes it was a tutorial). The program I aim to create here will run a series of countdowns, all day long, one after the other, basically counting down to the next event.
For example:
1 minute countdown til game begins
20 minute countdown til intermission
2 minute countdown til second half
20 minute coundown til games over
5 minute countdown til new game starts
I have been given a lists of times for which to begin each timer (and its duration), but the tutorial I followed earlier uses an onEnterFrame function. I need some way to determine the closest timer that should be running, without killing the CPU with onEnterFrame. This task seems like it should be simple, but I can't quite wrap my head around it.
[Code]...
View 6 Replies
May 11, 2006
I've done a class to be able to listen to the event for a CLASS not on an instance.
Code:
class net.webbymx.events.XClassEventListener {[code]....
why did I do this.It cames with my rugby game.I have player in two teams. When a player throw the ball I want the other teammate to act like "wait for ball" and the opponent like "seek for ball". Plus I'm lazy (and I don't want to register the listener for each instance of the player I'm creating). So this class is made to be able to handle as many instance of a class I want without adding a listener on each of them. I'm just creating a global listener on the class and then I will be able to receive dispatched event for any instance of this class .so in my team I can do
Code:
XClassListener.initialize(this);
this.addEventListener("throw", "net.webbymx.game.Player", "wait");
and in my opponent team I can do
Code:
XClassListener.initialize(this);
this.addEventListener("throw", "net.webbymx.game.Player", "seek");
View 4 Replies
Dec 22, 2011
I've made a mobile version of my software, with low-res images and such, and I can now fully buffer all my content (including a 360 frame animation which is buffered to memory). Problem is, that everytime I update the view, more memory is used.When I write image = new BitmapData();, does it store the previously created BitmapData's in memory? Do I have to flush the memory somehow before I draw my second picture in BitmapData?Example:
ActionScript Code:
// In this example I draw using the same bitmapData several times, also
//overwriting the first image. Do I have to somehow delete the data first, to
[code].....
View 1 Replies
May 17, 2011
Good day to everyone. I'm here today to seek help about Flash CS4 and ActionScript 3.0. The story starts when one day, my boss asked me to make a flash presentation about their upcoming user training for a newly developed software. I was enthusiastic and excited about it because it's been a long time that I did not use Flash (note that I don't have any experience in ActionScript 3.0). At first, everything was a bit rough as I need to recall how to properly use the frames to create a successful animation. As I was about to finish the project, my boss approached me again and asked if I could insert a menu page in front so that the users won't have to replay the whole thing again just to look for a little something on that part of the movie. So yea, at first I was abit hesitant to accept. I said that it will work with Powerpoint. But she's a total pusher and I was forced to say yes. Now I'm having this problem about how to make a flash button load a swf movie.I've tried searching all over the net for tutorials but most of the times the "getUrl" and other stuff are said to be outdated.
View 1 Replies
Oct 19, 2010
I am trying to create a flash banner add that utilizes the google maps flash api to display a store locator tool similar to this: [URL]
I have been given an extremely tight deadline and am basically clueless on how to get these technologies jiving;
View 2 Replies
Apr 22, 2007
Question 1: How do I add a filter to a movieclip from actionscript,More specificly, the "adjust color" filter, and I want to decrease brightness, saturation,hue, and contrast... by actionscript...If you dont know what I mean, use the circle tool to create a circle, convert to movie clip, click the "filter" tab, then click + and add a adjust color filter, you'll see what I mean...Question 2: I need to output text to 'text' documents, no I cannot use shared objects for this, as it is a program for a client, and it isn't safe enough for me.
Code:
var archive:Array = [];
archive[7] = "Hello I am the 8th archive";
[code].....
View 4 Replies
Jun 14, 2010
I'm just getting off the ground as an AS3 programmer and I'm having a lot of trouble getting Flash to recognize my packages. My intention is to keep a code library of all my AS3 source data and have Flash simply go fetch classes from there.
I have set Flash's source path to the following to accommodate my library:
C:Documents and Settings<username>My DocumentsMy DropboxCodeAS3src
However, when I attempt to include a class into a .fla, Flash gives me an error that it can't find the AS class files in the .fla's folder at compile time. So it seems to not be detecting the AS class files in the source path I have set.
Within src, the folders are structured as follows:
srcsivyrmap<AS classes here>
In my AS files themselves, I have written the package and class declarations as follows:
Code:
package sivyr.map {
// Includes
include "flash.display.Sprite"
[code]....
And when I write an include to grab one of these classes, I write it as:
Code:
include "sivyr.map.Grid"
View 2 Replies
Mar 20, 2011
I am working through an audio player demonstration in the book "Foundation Actionscript 3.0". When I try to publish my AudioDemo_final.FLA file I get the following error, "Adobe Flash CS3 - Error creating flash movie file. Destination directory does not exist. Change your publish settings."The following is displayed in my output panel >> Error opening URL 'file:///C|/Sites/flashcoder.net/FAS3/Audio/AudioDemo%5Ffinal.swf'My file directory is set up like this:AudioDemo_final.flasong1.mp3com.fas3.smc (folder)Main.asSounds.as
View 2 Replies
Feb 26, 2009
I am wondering about how to create Apple Maccintosh DOC in Adobe Flash.It should work same as it work in Mac (like SLIDING and GROWING movement on mouse over).
View 2 Replies
May 16, 2011
am creating an exe in flash using cs3.my exe running in html file it shows error msg if i click ok it will run how can i invisible the warnings
View 1 Replies
Aug 10, 2009
I have problem with creating e-mail link in my Flash CS4 program. The problem is that when i create button i cant attach any actions to him. It was not a problem for me in flash 4 i was working before. The movie is in Action script 3.0.
View 3 Replies
Feb 20, 2012
i saw a tutorial series that uses the same player for online: flash windows .exe mac: .app well the player looks the same once launched is this just a matter of creating the player in flash and then exporting to each of the 3? (flash, exe, app) ??
View 7 Replies
Mar 22, 2009
And I am creating a box game where the user has to avoid the boxes but i want to put lives on so when the user moves over the box one of the lives goes down.
View 8 Replies
Jan 27, 2010
Basically, as a part of my college assignment, I have to create a media jukebox in Flash. However, I have never actually used Flash before in my life, so I'm completely lost. create a jukebox or point me to a simple tutorial that shows how to make it.
I searched on Google but the best I found was this:[URL]. It looks simple but it requires some sort of extension which costs �70.I made a rough design of the jukebox in PowerPoint. I don't know whether or not I will be able to actually make something that looks like it though.
View 4 Replies
Oct 29, 2010
Is it possible to input a text into textbox in php then it throws in .swf file and the .swf file can download it in desktop? What i mean to say is, is it possible to generate .swf consist of text and graphics came from php page? I saw a sample of that in Flash Vortex Website and some free flash banner generator that the user inputs a text in a textbox and the text together with the selected template background can download it's .swf file.
View 11 Replies
Nov 6, 2008
I have a project that I Am working that requires that I export data collected throughout the file in to a .csv file so it cna be exported into a Database. It has to go to a CSV because the machine that the file will be running on is not connected to a network or internet connection and is a stand alone machine. We are collecting data for a research
project here at the University.
View 1 Replies
Jan 5, 2011
We would like to start creating RIA using Flash, focusing more-so on the side of enterprise level web applications rather than simple Flash animations. I need to start getting my design/development group here up to speed on Flash, but cannot make heads or tails of the software to focus on from Adobe. Flash Professional CS5, Flash Catalyst CS5 or Flash Builder 4?
View 3 Replies