ActionScript 2.0 :: Five Star Rating System?
May 27, 2009I only want it to work as a form so i can have a php file process it.I don't need the actionscript just an idea of how I should start.
View 4 RepliesI only want it to work as a form so i can have a php file process it.I don't need the actionscript just an idea of how I should start.
View 4 Repliesi need to build a 5 star rating for a image gallery. when someone rates a image from the gallery i need to retrieve the rating (say like .5 or 2.5 or 3 or 4.5 or 5) How can we create something like a 5 star rating system in AS 3.0? Edited: not the solutions to send the rating vlues to database... I am looking for the logic to set the rating (stars changing the color indicating the rating has been updated) and get the rating values applied...
View 2 Repliesis there any good free source for star rating based on actionscript?
View 0 RepliesHow I would go about making a rating system that I could load as a .swf into my main swf? Also have multiple rating systems instead of just 1? I have videos on a big flash site and I am interested in putting a rating system in.
View 3 RepliesI'd like to create a rating and comments system to the video site I'm working on. Basically the user will rate the video (stars or thumbs up) from 1-5, have the new rating process and improve or lower the video rating automatically. For the comments the user will be able to write and send the comment and then either have it posted automatically with the option for the site moderator to erase any offensive comment or have it sent to a database for approval first and then post it by the site moderator. I assume I need a php form and action script code?
View 3 RepliesIve been making a flash 8 gallery for a website and they want me to add a rating system to it so people can rate the images out of 5, 10 or whatever.
View 2 Replieswell in my fla i have a movieclip exported with class name Star and in my Star.as file i have this code:
package { public class Star {
public function Star() {
this.visible = false;
}
}
i tried putting movieclip on and off stage but didnt work all i want to do is control my class Star in my fla. Im very new to OOP and trying to get the gist of how to control objects like the way you could by instances like i used to :/
I want to make a rating bar for a website, but I don't know how to get a return value sent to the webmaster after submitting the rating...
View 2 RepliesI'd like to create a component like that. Each rectangle may be empty half or full according user notation. So I'd mike to do the same with flex and AS3 but I don't found how. Actually, I create a 2D rectangle with no relief.
View 1 RepliesI got a textfile who i am reading on a serverside script and passing it as a script to my client side as3 code. The problem is that i am using characters like ä,ö,ü,ß and this isn't well displayed. I tried System.useCodePage but the compiler complains about : 1120: Access of undefined property 'System'. It doesnt matter if I tried this on the first line of the 'Action' in the first scene or in the first line of the first .as file i am loading. (btw i am only working with .as file and not in the timeline). When i am importing flash.System.* the compiler complains he dont know useCodePage.
View 3 Repliesi hope this is not a stupid question but does anybody knows how to make a shiny star?i want to add it on a picture.
View 1 RepliesAnyway, I'm looking to create a star object that flickers or blinks at random intervals. The object will also be part of a menu system and may need to perform other functions, so, I may need to roll my own class eventually.
Here is how I initally went about it:
Code: Select allfunction myRandom() {
var r:Number = (Math.random());
[code]....
Does anyone have an example of using code and the shape class to create a star shape?
View 1 RepliesI have a textbox where there should be a 1 to 5 star classification for a movie, so I used the star symbol (character code 0xAB) from the Wingdings Symbol Font. But instead of the stars, What I get is double angular quotes in Arial, the corresponding character in a normal text font: «
In fact, every Wingding character above 0x80 (included) is displayed in Arial instead of Wingdings. This also seems to happen with all Symbol fonts.
I've also made Wingdings into a font symbol but the problem still happens. It also happens in static text boxes.
To reproduce the error just make a text box and set the font to Wingdings. Now type something and it shows in Wingdings but press ALT+0171 (or copy the star from the Character Map app) and instead of a star, you get double angular quotes.
I saw following statement somewhere -var someVariable:*;Why is someVariable declared as * (star) type? What is the use of declaring it this way?
View 1 RepliesThis tutorial si about moving star out of the stage center, this is the script:
import flash.display.MovieClip;
import flash.events.Event;
var container:MovieClip = new MovieClip();
addChild(container);
addEventListener(Event.ENTER_FRAME, addstarred);
[Code]...
I bought a flash file the other day which i plan to modify and use for an intro to a project i am working on. Currently there is one instance of a Star which follows a path and emits "sparkles" while tracing the path. I would like to add two more stars/ paths.
[Code]....
This is other part to my earlier question that i posted before for those of you that came across it.Part 2: What i'm actually looking for is to do something similar to the Star Trek Movie website [URL]..for those unfamiliar. The bit that im looking for is a solution to achieve the full screen video background they have that simulates the user walking through the starship. Everytime you navigate to a different part of the website, this background video walks you through to another section of the ship.
I'm presuming its all flv, and i'm presuming its one big flv file divided into various "scenes", as the problem with having a seperate flv file for each "scene" is that it take a few seconds to load in between flv's and you get a blank white screen for a few moments (i've tried). Am i presuming the right method to go about achieving what they've done?
I am making a flash video of a star with different colors, but I want to change the stars colors randomly. I have got the code to change the star to random colors, but now I need to reset it to it's original color.
Does anyone know the default code?
this is the coding I'm using:
(Reset button/ Default codes to return my star to it's original state)
go_btn.addEventListener(MouseEvent.CLICK, goGo );
function goGo (e:MouseEvent):void {
star_mc.y = 200 ;
[Code]....
I get the error msg 1180: Call to a possibly undefined method Star.This is in the main timline
ActionScript Code:
for (var i=0; i>20;i++ ) {
var ta:MovieClip = new Star();
ta.x = Math.random()*300;
[code]...
i am develop 1 simple game for color fill to object, but now i have something wrong in my code...how do i get the correct answer if i click the red color and fill in to the star?
View 4 RepliesI'm trying to load some WDDX data into a shared object, but I'm having some troubles getting it back out. can open the sol file in a text editor and see that my data is in there, but I can't manage to access it. does putting information into a sharedObject change things? Can you load an array into a sharedObject and have it retain it's array-ed-ness?
View 6 RepliesI have a clip in the library with the linkage ShootingStar, and I need this to be randomly placed all over the stage at intervals of between 0.1 and 1 second, as well as random sizes between 100% and 300%. And having a random tint to it.
View 2 RepliesI have flash CS4 and I understand that you can "easily" replicate the star wars text scroll effect with the 3d tools. [URL]. I have followed that tutorial to the best of my ability but no matter what I do, I cannot get the text to scroll into the distance, it just moves upwards.
View 10 RepliesI'm using this code for tweening:
ActionScript Code:
var myTween:Tween = new Tween(star, "alpha", Strong.easeOut, 0, 0.9, 3, true);
And I also have some extra code that spawns stars all over the place.If you view my swf, http:[url]...., you can notice that the stars appear to 'flash' first before settling down.I'm simply wondering if this is some problem of the Tween class or if I set something wrong. Something I found odd was when I removed my code that generated a random colour for my star,
ActionScript Code:
//var myColor:ColorTransform = this.transform.colorTransform;
//myColor.color = Math.random()*0xFFFFFF;
//star.transform.colorTransform = myColor;
, the flash doesn't happen. Is it a visual effect that causes it to look like it's flashing or is it really?
has anybody seen somewhere a FLASH model of the Texas Star IPSC shooting target? What this target is and how it behaves can be seen in here: [URL] From physic's viewpoint this is a pendulum with mass and the length changing while it is swinging
View 1 RepliesIn the scene there is a star and an AI player.what equation would take the AI player on the most direct route to the star...i.e guide it into the path of the star...just to make things clear, the star is static and the ai plaer is controlled by the computer. i think you have to make two variables distx and disty and use some sort of trigonometry on them but i'm not entirely sure on how to go along doing this.
View 9 RepliesIs it possible to make this a mask? The system contains one movieclip of a circle called ball, also a class called ball and a class called particle. I want the particle system movieclips to display an image...I'm sure this is possible...just have not been able to find a way. A little backround, I'm a completely selftaught n00b when it comes to AS3, but I'm grasping it fairly well... the tutorial is on this website, called A Simple Particle System Using Actionscript 3.
View 0 Repliesis it possible to display youtube's like/dislike buttons by using google's api (or any other api) for as3 ?URL...
View 1 RepliesI build a web site in flex that some time take input. Will this website works on Touch Screen environment(KIOSK).My question is we have to make any change to handle input such as prompt on screen keyboard when input fields are get focused or it will manage my device and OS of system(KIOSK, Touch screen system) itself.
View 2 Replies