ActionScript 3.0 :: To Get Selected Photo Value
Jun 21, 2011my real goal is "to send the selected photo name"; now my problem is that to get the selected photo value. How to get it?
View 1 Repliesmy real goal is "to send the selected photo name"; now my problem is that to get the selected photo value. How to get it?
View 1 RepliesIts an image gallery and I want to trace the id of the photo. I can do this fine when the photo is selected, but I also want to be able to click a button and have it trace which photo is selected. When I try it always says 9 which is the last one, no matter which photo I pick.
[Code]....
I have a menu with many sub menus. I need to change the color of the selected button and then move on to the sub menu. My menu is horizontal and now it's not obvious the path that you follow.
View 2 RepliesIs there any way to disable a few columns for a particular row in flex datagrid?
I have a datagrid with about 10 or more columns, say for example a few column names are: Item Id, Item Name, Item Status and VerifiedState. Initially I want the column Verified State to be disabled.
Now When the value of the column, Item Status is Review Passed for a particular row, I want the column VerifiedState to be enabled and editable. Is that possible in Flex datagrid.
its for a photo gallery that I downlowded,the images fades in and out, but only start that when you click a button(timer).I'm trying to founf out where in the script I can change this, so that the photo's start automatically,rather than, on a button click.I have pasted the script below, is that ok, or would people rather a zip file of the files?
// (c) Copyright by Andrew DiFiore. All rights reserved. DO NOT REMOVE.
fscommand("allowscale", "false");
Stage.scaleMode = "noScale";[code]......
I found the tutorial by Kirupa
[Code]...
Are there any examples of Flash + Javascript libraries which allow you to display a variable-sized Flash movie in your page that captures Webcam snapshots (still frames), and submits them to your server in a JPEG format?
Currently I know of: jpegcam
I have an XML photo gallery, that when it starts it has a loader for the photos. It always starts with the XML file determined sequence, which is fine, but what happens is that the tabs on the right hand side of the photo loader go astray while it is loading the first photo. If the first photo was loaded instantly this wouldnt be an issue.Is there a way that I can preload that first photo, so that it is in memory when the swf file reads the XML file, allowing the first photo to be instantly loaded ?Amongst other things, I tried embedding the photo in the swf file, but it didnt work...obviously I have no idea what to script...I also created another scene, prior to the main scene, to preload the photo.. but it didnt work either, again probably used useless script...Going further in detail, this is the main script:
Code:
import com.mosesSupposes.fuse.*;
ZigoEngine.simpleSetup(Shortcuts, PennerEasing);
[code].....
I have been searching for a particular photo gallery, and haven't got far. Here is an example of what I am looking for. With the example I wanting the user to be able to click on a photo for it to appear in the box above. I am looking for a tutorial, so I can customise to fit in my client's flash website.
View 2 RepliesJust trying to make a flash photo gallery that displays all the image files in a certain directory with the usual photo gallery functionality.
View 1 RepliesI have placed TextFileds inside TileList Compontent. When i try to select the TextField it can't show the selected Textfield in the TileList items by default the TileList items are selected.Finally i need to select the TextFields.
Here is my code:
import fl.controls.TileList; import fl.data.DataProvider; import flash.display.Sprite; import flash.events.Event;
function TileListExample() { var dp:DataProvider = new DataProvider(); var totalEntries:uint = 3; var i:uint; for(i=0; i<totalEntries; i++) { dp.addItem( { source:getTf(), scaleContent:false}
[code]....
I'm trying to use the setChildIndex(); property to move a mc to the top of the stage when that particular mc is clicked on. I'm still not sure what is meant to go in the parentheses? Sorry, still new to AS3.0. The mc has it's own class called Ball and this is where I'm calling the setChildIndex property, in the dragIt function. Here's the code for the Ball class....
[Code]...
How do you make a MC act after another MC is selected? Like when I click on movie clip 1 then movie clip 2 does somethin after movie clip 1 does its thing?
View 4 RepliesI'm using XML to populate a comboBox Component. How do I get the aactionscript to trace which number in the array the choice is? So for example is my choices are:
choice A
choice B
choice C
on the dropdown box, whne I click "choice A" I want it to trace "0" because that's it's place in the XML, or if I click "choice C" it will say 2".If i use "length" it will tell me how many. I need to know what to use that tells me which one.
I have a datagrid that is editable. I was wondering if it's possible to retreive the cell value after user edits the single cell.
My datagrid will trigger griditemEditorSessionSave event if users finish the editing, but I don't know how to get the new cell value. [code]...
<mx:CheckBox id="userlevel" x="118" fontSize="12" fontWeight="bold" y="127" label="Administrator"/>
What should be the Alert.show(userlevel.selected) returns whether its true or not... but i need the label value.
[code]When I press the button I get the error:TypeError: Error #1009: Cannot access a property or method of a null object reference.It works if I first switch to the 2nd tabpage and then back and press the button.
View 2 RepliesI have a Question that is how to paste the selected or copied text on stage or text area in flash as3? I had copied text but don't have any idea about how to paste the text into text field.
View 3 Repliesi was trying to delete a row on a datagrid. basically, i click on the row, then i click a button so that the chosen/clicked row is deleted. here is my code snipet :
Code:
public function deleteRow(event:MouseEvent):void{
selecto0.removeItemAt(dGrid.selectedIndex);
selecto0.refresh();
[Code].....
even though that row exist, i guess the index is not recognised. what do i do?
Can I have one Flash Video Player on my page that plays multiple videos when they are selected?
So the videos would be selected by a movie clip button. How would I direct that onRelease button code to play a mp4 video to the Flash Video Player and how would I name the FVP to receive the selected video?
I have a menu with 5 menu items that when an item is selected, the non-selected items need to be moved. All are movie clips. When user selects item 1, the remaining items will slide underneath item 1. I want to make a custom function so as to alleviate unnecessary code. I am moving the MC's with tween class.
View 1 Repliesi am have a small doubt in actionscript, i think its a silly one but banging head to solve it...f there are some items present on a panel and if i select one of them then how can i get the id or name of that particular selected item.For example if there are two accordions and if i select one, how can i get the id or name of that selected accordion.
View 3 RepliesHow many of you guys are using "gotoAndStop" methods for your navigation? For example, I'm building a site where the user clicks the nav, and the nav turns a certain color, then when another nav item is clicked, that previously selected item goes back to it's original color, and the newly selected item changes color. Right now I'm using "gotoAndStop" for this but I'd like to know what others are doing. I'm trying to steer away from gotoAndStop and do everything in the code.
View 1 RepliesFlash documentation says this is possible, but cb.selectedItem={label:'labeltext',data:'data'}; is a no go for me. Maybe I'm missing something obvious? Setting selectedIndex works great, but this should work too.
View 19 RepliesI have buttons with black text. The buttons (not the text) change colour to red when you rollover them. I can't seem to work out how to get the colour to stay red when it's clicked to show that it's selected. Do I make a duplicate symbol which is already red to replace it when clicked? And I'm also unsure of the actions I'm supposed to use if any??Another thing, when I click on a different button, I don't want the previous button to still be selected.
View 1 RepliesHow do i delete the selected row in datagrid, and how can i change the selection color. at present it turns blue, i want it be red on selection, and then on some button click want to delete the selected row.
View 2 RepliesI have a FlashVars in the html page "State"How do I get the code below to reflect the State that is in the html page.So if State = WA the drop down list will have WA as the item shown.This is the code for the combobox
Quote:
var listenerObject:Object = new Object();
listenerObject.change = function(evtObj:Object) {
[code].....
I am creating Checkboxes on runtime which I am able to do so.I have been trying to find out if one or more are selected.
View 1 RepliesI am trying to build my first website and I follow the instructions of a videotutorial of flash 8. But in the second step (Making it work the buttons) when I had tried to add action to my selected button, appear a message like this....Cannot add actions to this selection (translated from spanish) Why?...Is a conflict between versions 8 and CS3?
View 5 RepliesI placed 2 radio buttons - each of them has groupName = rg1. And when I write[code]...
View 1 Replies