Flex :: Components - Clicking On The Element Should Open Or Trigger An Action For Displaying That Particular Comment?
May 20, 2010
I'm using Flex's Advanced Datagrid for a project and need inline comments, in a similar style to Excel spreadsheet comments.A little visual indicator should indicate if a field is associated with a comment, and on clicking on the element should open or trigger an action for displaying that particular comment.
View 1 Replies
Similar Posts:
Jan 25, 2010
I have datagrid with data populated.when user clicks on one particular cell of one column ,popup window has to be dispayed.And also same requirment is there for another column also.I could not find how to do it for cell.doubleclick and click properties are applicable to row selection.
View 1 Replies
Apr 6, 2010
I'm new to Flex and am having trouble understanding Events. I think Events are what I want to use for my situation. I have 2 components, addUser.mxml and listUsers.mxml. I access these from a ViewStack in my main application. When I load listUsers.mxml it shows a list of current users in a datagrid via a HTTPService call. When I add a user using the form on addUser.mxml I would like the datagrid in listUsers.mxml to refresh when I return to that view to show the new user. I've tried several different things with addEventListener and dispatchEvent but can't seem to get it working. Can someone help me with this logic?
[Code]...
View 2 Replies
Nov 14, 2011
I am running into issues displaying Thai characters in Flex components that make use of the Flash Text Engine (FTE), specifically on Mac OSX 10.6.8 Snow Leopard.Here's a blurb of my compiler font managers in flex-config.xml:
<flex-config>
<target-player>10.2.0</target-player>
<!-- Specifies the version of the compiled SWF -->[code].....
Thai characters render correctly in mx components such as TextField so far. However, FTE components such as TextLine show those crappy-looking boxes as a substitution. My initial guess was that somehow one of the compiler font managers declared in flex-config.xml was not finding the right system font to fallback to for Thai characters. So, I ensured the system font was installed by going to System Preferences > Language and Text > Edit List. Then I changed fontFamily to Arial, Ayuthaya.Still was seeing the boxes of evil.
Next I figured that perhaps the Arial font might be assigning a box for each unicode value corresponding to a Thai character. So it was effectively overriding the Ayuthaya system font. So I changed fontFamily once more to just Ayuthaya and this worked with one issue - Ayuthaya looks inherently different from Arial for non-thai characters.is there a less invasive way to support Thai in FTE components such that the appearance of the text is closer to the Arial font? I would rather not embed a font because I'm constrained on SWF size.
View 1 Replies
Sep 26, 2010
You can create a account You can login with your username and password. You can post comments. You can read all posted comments from your self and from your friends. What is not done with this project? It needs an accept friendship button where new friends rerquest was sent. It needs to read any new request from any new friends. it needs a decline button where the new friend request was sent if your does not wish to have this friend. It needs a comment delete button where this username and this comment. set only for the user who posted the comment. so not just any one can delete anyones comment.
[Code]...
View 2 Replies
Apr 7, 2010
In my application I tried using following codes to do this:
<mx:HTML x="0" y="0" width="100%" height="100%" location="http://www.example.com"/>
The page is loaded fine.But when I click the links I found sometimes there was no any response while I need a new explore window opened with the linking url.And also I tried:
[Code]...
View 1 Replies
Mar 8, 2011
I have five piano key images (converted to movie clip symbols) on the screen, and each play a tone when clicked. I would like to program it so if you clicked the five keys in a specific order, it triggers an event. I suspect I have to use the array command, this is what I have so far:
ActionScript Code:
var noteArray:Array = new Array(note05_mc, note01_mc, note03_mc, note04_mc, note02_mc);
var buttonArray:Array = new Array();
[Code].....
View 3 Replies
Nov 29, 2011
I need to track href links in a dynamic textField. ie the text is loaded as XML.So somehow I need to listen for an event when this a href tag is clicked in the dynamic textField.
View 1 Replies
Jun 30, 2011
I am getting problem like
Element type "components" must be followed by either attribute specifications, ">"
and my mxml file is
<?xml version="1.0" encoding="utf-8"?>
<components:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:components="spark.components.*" title="Home" creationComplete="srv.send()">[code]....
this line gives me error like following line :Element type "components" must be followed by either attribute specifications, ">"
View 1 Replies
Nov 1, 2009
I will be creating an animation with a jpeg image as the background. The animation will consist of moving lines.
When I place my curser over the animation box, and have the lines animate. When I place my curser off the aniamtion box, I would like the animation to stop playing.
The curser placement would be the trigger for the animation.
View 3 Replies
Apr 8, 2011
Imagine a projection in a public place with a flash animation running on it, which includes a QRcode, when the QRcode is decoded on a smart phone, it will take you to a url, when you reach the url, you are asked to fill in a web form, after you submit, this triggers an animation in the projection you got the QRcode from.
So the question is, how do I trigger the animation (which could be running from a web page if need be) based on the submission of the form.
Also is it easy to use info submitted in the form in said flash animation, ie " thankyou instert customer name here"
View 0 Replies
Jan 6, 2010
I do have xml file embed in the fla. I want to click on an image and change the frame number.I want to do simple gotoAndPlay(2) function.I bought so many versions from websites ,not single of them has an example or written code for tthis in AS3.
View 0 Replies
Jul 7, 2009
I have a movieclip in a game, performing different actions, all working beautifully now. I want to add one thing: If I click, say 5 times consecutively on that mc, I want an action to be triggered by that number of consecutive clicks, e.g. gotoAndPlay (2).The mc is moving around randomly on the stage and there are other clickable mcs moving around as well.
View 6 Replies
Mar 17, 2005
i know what is wrong with this function? This is a function which I use to trigger an action with different time duration. When I call this function it just wont work.
[Code]...
View 2 Replies
Jan 29, 2009
Is it able to create a SWF with for example 800x650px and to define some 'containers' within it for other SWF-files? I want to create a container for navigation at the right and when clicking on a navi element,changing the content of anorher container availalble, perhaps like'headAnimation'.
Is it able to change attributes of an included 'container'with a SWF when clicking an element within another SWF placed in a
'container'? Perhaps I have an 'container' with 'navigation.swf' within. When clicking on an elemnt .I want to start a function that fades in/out another'container'. Am I able to create a function that works for all 'containers'? E.g.like that fader so I can submit the name of a 'container' to let it fade out and I can use that function within all elements in any 'container'.
View 1 Replies
Oct 1, 2010
I've been having some trouble with tweens. Here's a description of my usage:
I have a system where a textbox is the child of a movieclip. When you click the "Next" button, the movieclip fades to 0-alpha and upon completion, the text in the textbox is changed (to the next index in an array) and it tweens back in to 100-alpha. This makes a nice transition through the text.
My issue is that sometimes it doesn't tween back in, only out, leaving the user with an empty box where text should be.
However, I'd asked this question previously with the thought that it was "Timing out". Now, after significant testing I realised that it only happens if I click or select some of the text on the text box. Could it have something to do with this text selection intefering with the changeText function below... (it's the same text box, just the text changes).
CODE:
function changeClick(e:MouseEvent):void {
if (e.currentTarget==btnRight) {
newDirect="right";
} else {
[Code].....
View 2 Replies
Jan 21, 2009
So here's what I'm trying to do: When the user clicks on the corner of the browser and resizes the stage, I dont want the Resize actions to occur until the user RELEASES the mouse or until the resize is complete. So, as long as they're dragging the mouse around and resizing nothing would happen, but then as soon as the mouse as released it kicks in. I tried:
this.stage.addEventListener( Event.RESIZE, stageResizer,false,0,true);
this.stage.addEventListener(MouseEvent.MOUSE_DOWN, stageMouseDownhandler);
this.stage.addEventListener(MouseEvent.MOUSE_UP, stageMouseUphandler);
But this didnt work because when you MOUSE_DOWN on the Browser rather than the Stage, it isnt detected by the stage. And I going to have use Javascript or something?
View 1 Replies
Jun 8, 2011
I want to trigger an action when changing value in Input Text any time with this code
PHP Code:
inTempSP.onChanged=function(){ if(vTempSP>100){trace("Temperatur over heat")}; if(vTempSP<100){trace("Temperatur OK")}; }
But i don't know that code is not working well.
Note:
inTempSP = Instant name of Input Text
vTempSP = Variable name of Input Text
View 1 Replies
Feb 17, 2011
I want to be able to link an Action Script event to clicking text within a text box.The only thing I can see is to just create a basic Hyper Link, but not apply any action:I have been messing around for over an hour but just can't see a way to apply actionscript and all the tutorials on the internet seem to target ActionScript 3 or not do exactly what I want.The reason for this is that there is background music to the site and when YouTube is launched, it needs to be muted. I know the code to mute and have done this on custom objects before, but I can't see any way to apply script to a textbox hyperlink.Whilst I would ideally like to do it this way, I am happy to consider any solution resulting in opening a page and muting the site.To be honest, I tried doing a quick switch to AS3, but as there are so many problems that would need addressing, I would rather spend the time converting the site to HTML/Jquery or even Silverlight.
View 2 Replies
Sep 12, 2009
I have bought some flash components that used to work in Flash 8 and CS3, but suddenly they do not appear in my components list within Flash CS4 ! I have reinstelled them with components exchange and apparently they are successfully installed , but once I enter Flash CS4 there are not.
View 3 Replies
Sep 14, 2011
how I would go about to accomplish the following:
There should be 3 dropdown menus with predefined words
1. First menu has 3 predefined options
2. The second dropdown has 5 options.
3. The third dropdown has 3 options
--> Depending on which word is selected in dropdown #2, an img (of a total of 5 possibilities) is being displayed
In addition there is a dynamic textfield, where you can enter a name, which should then be displayed along with the img.
View 1 Replies
Jul 13, 2009
I am looking to add some life to this graphic in flash: My goal is to have the "Hey Jude" element drop into frame and be suspended by the two strings that are attached to it. i.e. similar in fashion like a swingset
I have looked all over the web but have yet to find any leads/tutorials on the matter.I would also like this element to be physics based so that the motion is random and when the element is moused over it responds to the action.
View 1 Replies
Aug 5, 2008
I'm trying to achieve something that I'm sure it's not that complicated, but unfortunately I have not clue how to do it.I have created some text fields. And what I want to do, it's that when the user clicks onthem, in order to start writing, I want a specific movieclip to dissapear.This could be achievable if I knew how to make the textfield behave like a button; but I don't know what code I need for this, as onPress it's not working at all.
View 5 Replies
Nov 21, 2010
I want to add a comment to some elements in a Flex document, and process the comments using ASDoc. I can easily do this for the script portion, but I end up with a ton of ugly "This property can be used as the source for data binding." messages for each element I declared in Flex. Is there any way to embed a comment into a flex element so that it can be read by ASDoc? I have tried using the standard
<!-- -->
notation, but that didn't seem to work.
EDIT: The notation seems to be swallowed up as an HTML comment..
View 3 Replies
Jan 25, 2011
I need to display something on my program just for one month. For example from the 1/25 to 2/25 I need to display something but at midnight on the 2/25 the the element has to disappear. I need to create a function to do that but I have no idea how to check the date. a lot
View 3 Replies
Jun 3, 2011
it's possible to change the default key (space bar key) to execute the action of the focused element in the stage?If you ever worked with the Focus Manager you've possibly seen that when you press the space bar the focused item is "executed".Can you disable that "executor" or can you change the space key with the enter key?
View 2 Replies
Jun 3, 2010
as I probably do not describe the problem in the right terms, I was not able to get an answer with google. In the following code, I would like to replace 'hardcoded' identifier COMMENT with the variable editedField. How to do that?
var editedField:String = event.dataField;
if (model.multipleProcessingData[i][editedInformationProductNO].COMMENT != null{
}
View 2 Replies
Apr 9, 2011
Not a URL, but just a swf file in a popup window. Using ActionScript3.0
View 3 Replies
Aug 22, 2010
Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.
View 1 Replies
Sep 8, 2009
I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....
[Code]...
View 1 Replies