ActionScript 2.0 :: Event Calendar Tweak - Ignore The "date Unavailable On The Bottom
Aug 12, 2009
I'm a designer who knows basic flash, but I got a freelancer to help me out with my website. She added an event calendar, which works great, but the designer in me wants to tweak the way it looks, which affects the way it's coded. Working in AS2.
As it is, the Month and Year act as a single entity. I'm wanting to separate these independent parts. I've tried messing around with the code, but unfortunately, my flash skills are limited. If there's anyone who could give the included .fla file a look over and maybe give me some tips on what to do. I'm also including an image of what I'm hoping the calendar to look like (ignore the "date unavailable on the bottom." If you open the flash file, you'll see what I mean about the month and year acting as a single entity.
I would like to display the current date in the bottom part of the calendar on a DateChooser control. Has anyone extended the DateChooser control to do this?
Something like the attached image...
I managed to pull off some codes, but still, I have the slightest idea of how to add the label below the datechooser control.
I have this xml calendar component I downloaded form flash components. It works great but I would like to change two things and can't figure out how/where.
1. It displays the first event/menu item from the xml file into the current date.
2. If you click on a date that doesn't have an associated event it doesn't clear the text box.
Whatever was last in there stays in there.The component is on frame 4 of the calendar fla on the left hand side. The xml load AS is on the first frame.
I have this xml calendar component I downloaded form flash components. It works great but I would like to change two things and can't figure out how/where.1. It displays the first event/menu item from the xml file into the current date.2. If you click on a date that doesn't have an associated event it doesn't clear the text box.Whatever was last in there stays in there. Does anyone know how I can fix this?The component is on frame 4 of the calendar fla on the left hand side. The xml load AS is on the first frame.
I had an assessment i need to finish as my test for flash developer vacancy...i need to create a function that convert date Gregorian calendar to Hijri calendar in flashis that possible?I've search through google, but still doesnt find anything useful yet.
I have to set up an list of events in sort of a calendar format. I'm trying to figure out how I should bring in the data.The data will be stored in a mySQL database. Should I just bring it straight into flash with PHP, or should I use PHP to convert it to XML and then bring it to flash?
Today is 28-05-2010, so I need to list Event 01. On 01-06-2010 I need to list Event 02. I have the basic AS3 code for listing the XML working, but I'm having trouble filtering the result.
I have a rectangle with an event listener like so:
rect.addEventListener(MouseEvent.MOUSE_DOWN, startMove); private function startMove(event:MouseEvent):void { this.nativeWindow.startMove(); }
this works fine.
I also have a button inside this rectangle, and when I click the button the window drags just like if I had clicked on the rectangle.
How can I stop this from happening? I tried removing the event but that didn't work, I don't even know which event to remove, the mouseDown or NativeDrag event... There is no stopDrag() function in nativeWindow.
I have a rectangle with an event listener like so:
rect.addEventListener(MouseEvent.MOUSE_DOWN, startMove); private function startMove(event:MouseEvent):void { this.nativeWindow.startMove(); }
this works fine.I also have a button inside this rectangle, and when I click the button the window drags just like if I had clicked on the rectangle.
How can I stop this from happening? I tried removing the event but that didn't work, I don't even know which event to remove, the mouseDown or NativeDrag event... There is no stopDrag() function in nativeWindow.
I've been searching the net in a Calendar made in Flash AS3. Any good example of a Calendar with events in it that uses Actionscript? I also need a window pop up box in flash.
I have to set up an list of events in sort of a calendar format. I'm trying to figure out how I should bring in the data. The data will be stored in a mySQL database. Should I just bring it straight into flash with PHP, or should I use PHP to convert it to XML and then bring it to flash?
I would like to know if there is a way to create a calendar page on my site that will display the free Google Calendar? I have embedded code in a Myspace site before and it worked well, but have no experience with the IFrame code that Google Calendar uses. fyi- I just bought Flash a month ago and have been editing a template that I purchased to be my new website.
I have asked before but that was a week ago and ive changed alot of code. I am still having the same issue of trying to ignore MOUSE_MOVE while a tween plays and then reactivate MOUSE_MOVE on Finish. I have tried timers aswell to anticipate the finish with no luck as if i move some code a error #1009 happens.
I have alos tried motion_finished, if statements and even values with no luck as the code will just not function unless left as below.[code]...
Is there a way to make an object ignore a drop event, so that an object "under" it gets the event instead?Here's the scenario: (All are movieclips)[code]...
I've built a UIComponent in AS3. When I drag it onto the stage during authoring time, the ADDED_TO_STAGE event fires.
I have an event handler, but it's really only meant to perform actions at runtime, not when I'm dropping the component onto the stage to design the layout. Is there any way to check to see if the component is "running" in a live SWF?
Basically, I don't want the ADDED_TO_STAGE event handler to do anything at design time.
In my isometric flash game I have some models with long shadows. I want to ignore the mouse events (move, click, down and up) when the user performs any action on the shadow part of the image. (see sample image) I know there is a way we can do it by creating a mask in flash. But what if I want to handle it on the .png images (bitmap)? Do I need to create a mask image for all such images? I think it will be very big deal unless there are easy ways (using tools in Photoshop).
I am trying to make it so that when the window is resized, a color bar resized to be the width of the stage and the moves to the bottom of the window. The width resize works fine, but item disappears out of view when i include the new y location. I've set up a trace and everything seems to be fine. What am i doing wrong?
I want to display Day and time in flash with AS2 not only that I want to put certain event on certain date and time that means I have a movie clip with object on it, when I run it, it changes its position. But now I want to change movieclip position on certain date and time For e.g.: I have made a simple move clip of firework I want it auto play when it is (01.01.2012)(12:00 AM)
If you have a DateChooser control next to a text control and you left click your mouse to select the text then continue holding down the mouse button and letting the mouse button up while over the datechooser control, the selectedDate value changes to the date you are hovering over. I have users that are having issues with this and it happens unintentionally because of the proximity of the two controls. I cannot find a way to stop this effect. Basically I would want the selectedDate to only change if the user actually clicks the calendar control ie. mouseDown or click. Calling functions in those events do not change this behavior. I need a way to disable the control from changing the date on the mouseUpEvent (I think).
I have a problem with our FMSI3.5. A few times now we have experienced problems with the administration console/fms webserver. They become unavailable. When someone tries to connect to the administration console or tries to download a file from the FMS webroot the connection fails (times out). Streaming still works when that happens.
A FMS restart fixes the problem. Logs say something but can't really see what is wrong.
We have several flash objects written in FLEX and being rendered inside a single HTML page.We are using javascript to communicate between the objects and perform other page related operations.
Execution Flow:
In the creationComplete event of the FLEX code of our objects we execute the following (pseudo-ish) code: if (ExternalInterface.available) { ExternalInterface.addCallBack("initialize"); ExternalInterface.callMethod("ready");
[code]....
Sometimes the last javascript function outlined is never called. When this happens none of the error alerts appear, the final code is just not executed but everything up to this point has executed successfully.
This happens about 1/100+ times in Chrome/Firefox
This happens about 1/10 times in IE8
This happens about 9/10 times in IE7 (full disclosure - the only machine we have to use for testing this is also much slower)
Since the problem is intermittent and becomes more apparent in slower browsers/machines my suspicion is that it is timing related. If I stop the first flex 'intiailize' call from happening until I click a button in the UI instead of automatically on what is essentially 'creationComplete' everything ALWAYS works.
I have a question about the Java Factory; I've read somewhere that: "... the JavaFactory will check if there is already an instance in the scope and return that. If the object is not available then it is instantiated ...", but I don't understand the expression "if the object is not available"?I am having trouble to find and/or assign classes already instantiated (by another class) in the server, to a declared destination.
I'm developing an application in Java: J2EE.I'm running it on a Tomcat 6 server I'm using BlazeDS to communicate with Flex. I'm using the RPC's Remoting Service (through RemoteObjects)There are two java classes that handle Client (Flex) interaction, say ApplicationClass and UserApplicationClass:
ApplicationClass has a reference (attribute) to a UserApplicationClass instance
I have a gallery that reads an ms access database using asp and then loops through an array of records and duplicates an empty movieclip for each record. jpeg is then loaded into the movieclip and then a variable for the _x position is incremented and then the next one is loaded etc.I then use the same method to add the necessary labels for the images by duplicating a movieclip and adding a text fieldThis is all fine and produces a gallery of images but the problem comes when I try and position the labels according to the height of the image. I have tried every method I can think of to check the image attributes which are only available when it is fully loaded, but I keep getting a value of 0.
Code: stop(); // Set variable holding image folder path
I would like to have the images load for a few seconds and then automaticly unload the present image and load the next image in the xml file. Principally, I would like to have the Gallery automaticly shuffle through the images like a slide show without having to take user imput from clicking a button or hitting a key on the keyboard.
I have been trying to tweak the random motion tuts here. What I want to accomplish is a round motion of a clip lets say a sparkle, but I want to appear that it is floating like driven by the wind. I know this sounds crazy but is it possible?? and if yes does anyone have a snippet or a tut I can check out?
I just read the tutorial on using a photo Gallery with XML and Flash and I was wondering if anyone could help me tweak it a bit? I would like to have the images load for a few seconds and then automaticly unload the present image and load the next image in the xml file. Principally, I would like to have the Gallery automaticly shuffle through the images like a slide show without having to take user imput from clicking a button or hitting a key on the keyboard.
I'd like to write a draw graphic that is a tweak of drawRoundRect. I can work with curveTo, the problem is I end up drawing all sorts of wierd shapes since I don't understand well the metrics. If I could look at the code for drawRoundRect, I could easily tweak it to my needs.