ActionScript 2.0 :: Rating Bar Return Value?
Feb 7, 2007I 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 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 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 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 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 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 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 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 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'm having some troubles with the use of interface and inheritance in AS3. I've done lots of OOP in the past and what I'm trying to do seems obvious to me, but doesn't work in AS3. The question is : Is it possible to override a function that return an Object of class A, and make it return an Object of Class B which extends A ? It seems not to be possible, since I'm getting a signature error in Flash, when compiling. For example, the following set of class do not compile (the code in function definition doesn't matter):
[Code].....
i was mugging on this tutorial :
[Code]...
The return a.attributes.first > b.attributes.first will return what value?
I have a button in frame 20. This button attached a script to go to frame 1. How do I add a script to this button or any other way so that I can know it was from frame 20 when I am in frame 1 ?
View 9 RepliesI just want when i press the button "VOLTAR" it returns to the first mc called "rest", to the fist page you seee when you open the fla.
View 0 Repliesin a function
function randomness(){
var randX:Number = Math.random();
var randY:Number = Math.random();
[code].....
I have define complete event handler and want to return value . But I lose "myString". I do not know how to return "myString" from loadXMLFile.[code]...
View 1 RepliesI am trying to understnd some of the things about packages, I have expand a book exercise and I am now trying to workout how to reference a return value within this package.I have put together this package
Code:
package classes
{
import flash.display.*;[code]....
What I am trying to do is use the 'return(spot1);' value where 'new smiley1(); is.My goal is to be able to create the library object name, (in this case smiley1 from a string variable and then display it on the stage with addChild.At this stage I am just trying to work out how to swap 'new smiley1' with the 'return' value.I will work on the addChild bit next.
Anyway, I have a function that goes through an XML file, looking for a specific value. If it finds it, it should return the node that contains that value. However, I'm having trouble with the whole return part of it.My code is:
Code:
thisExpando.onRelease = function() {
trace("is this me? " + this._name);
[code].....
I am trying to write my first real class (it works when I just use trace statements). The main part of the function returns a value and since the constructor can not return a value I was not sure how to handle it, so I did this...
[Code]...
[Code]...
xmlList is alive and well in the xmlLoaded function. I need to access it in the loadMusic.fla.
How would I return a value from this class?
package com.ryancanulla.utils
{
import mx.collections.ArrayCollection;
[code]......
Is there any piece of code for returning the value from fms(.asc) to flash (AS2).
View 3 Repliesinhalt.restrict = "a-zA-Z0-9_\-?
inhalt.multiline = true;
inhalt.wordWrap = true;
in the first case i do not want the user be able to use the enter / return - key and in the second one i do not want him use it more then two ore three times. how can i manage this? i've serched with google but i do not find the right things,
I have a DIRECTORY_LISTING event, that is executed with the files in a directory. This code is n a method o a class that only does the return a array with this informations (the code is above). How can I add a return of this array on a method in the DocumentClass that invoke and receive this value?
[Code]...
I'm not sure exactly what's going on here (maybe I'm not understanding how the timeline executes?).
I have a game that has the menu in the first frame, the game in later frames. When the game is won, the user is able to click to return to the menu. Using trace(), I've found that the click reads, and it starts to execute the actions that have been written in the 1st frame. But, when it gets to the line that adds an event listener to a button on the stage using solo.addEventListener(MouseEvent.CLICK,goSolo) (solo is the name of the button on the screen), it returns:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
The line executes just fine when the whole thing initializes, so I don't know why it's not working when it restarts. Is the code getting read before the stage is populating when I return the user to the main menu using gotoAndPlay(1) from the click listener? It doesn't make a difference if I use gotoAndStop(1). What's a good workaround?
Or is it because the button is in a layer lower than the actions? (I've always put my actions in the highest layer, and don't remember ever having this problem before). But why then would it still work at the very beginning but not with the restart?
If I have code that looks like this:[code]how can I return the value of list from getNetStreamPublishClientList?
View 2 RepliesI am trying to have the function toggleClick return powerData. I need to store powerData in a variable and have it passed to another function to do calculations.
Inside the function toggleClick, I am assigning powerData to houseArray[e.currentTarget.name.toLowerCase()];
var powerData:int = houseArray[e.currentTarget.name.toLowerCase()];
I tried just to write return powerData--but it breaks the program.
// function toggleClick
function toggleClick(e:MouseEvent) {
// Store "Power" Values of House Objects in Array
[code].....
I'm trying to call a function and pass a couple of properties to it however it's complain the object i'm attempting to target is null.
<mx:ViewStack id="vs" width="100%" height="100%" y="53">
<mx:Canvas id="view1" label="Community" width="100%" height="100%" backgroundColor="#ff9900" showEffect="WipeDown" hideEffect="WipeUp">
<mx:Label text="Community"/>
[Code]....
It's returning null the first time I click an image however subsequent attempts traces a value (I assume because it is set then, just not when the app loads). how to recognize it when the app loads?
I am trying to retrieve an XML file off the internet, parse it, and return a value from it, all from one function using Actionscript 3.0.[code]...
and then I just return the variable "text". However, the compiler complains when I try doing this. How can I return the value found in the onXMLLoaded function to the caller of the getValue function?
I'm working with the latest SDK 4.5.0.20967. I worked before with the SDK Hero.Everything is working fine but I have a problem with my returndObject. That's the only thing that isn't working.So I have a page where I make my returnObject:
override public function createReturnObject():Object
{
return m_parameters;
}
When I debug I see that my navigator.poppedViewReturnedObject = null.
var poppedViewReturnedObject:ViewReturnObject = navigator.poppedViewReturnedObject;
I have an app with 4 different php service calls. They work fine on localhost and remotehost. I tried to add a 5th php service call ("myservice") to my app. When I did that, the app worked fine on localhost but I came across the following error message when I tried the app on my remotehost:code:0Message:Class "myservice" does not exist: Plugin by name 'Myservice' was not found in the registry; used paths:
: /path/to/my/directory/
Detail:
#0 /path/to/my/directory/ZendFramework/library/Zend/Amf/Server.php(550): Zend_Amf_Server-
[code]....