Flex :: Have A Link In A Datagrid And To Popup A Window On Clicking The Link?
Oct 15, 2009
I have a datagrid with different types of columns, like I have checkboxes, combo boxes and text Inputs as the column types. Now I want one of the column type to a link, with the label "view". All the rows in that column are link with the same label "View" and on clicking it, I want a Pop up window to be opened?
This is my code:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
<mx:Script>
<![CDATA[
[code]....
I didn't know how to bring a link in the datagrid. So used the Text control to display the "View" label. Now If I click this item, "View" in the datagrid, I want the Pop up function, i.e.,defectCommentsPopUp() to be called.
View 1 Replies
Similar Posts:
Nov 4, 2005
when i open up one of the links, if i dont close it, but go to open up a different link. the already open window pops back up. i need this window to change due to the new link pressed. the site is [link removed by claudio] click on the prodoct locator to see an example. here is the script for the root->
[Code]....
View 4 Replies
Aug 9, 2006
I have dynamic text in my movie that when clicked opens different image jpgs in _blank window. I would like to be able to have the blank window open at a set size so that when the link is clicked it doesn't open the image in a full window.Code:<a href='http://" + currAttribs.link + "' target='_blank'>Keep in mind that I'm not calling actual html pages but rather jpg files to open in _blank pages.
View 4 Replies
May 23, 2009
opening flash movie in new window on clicking link in a web page
View 1 Replies
Oct 11, 2011
After moving from Windows XP to Windows 7 noticed this behavior in my Flex application. In IE8 when a user clicks on a link in the SWF file it uses the navigateToUrl api to open a new window pointing to an external site. This works as expected in XP on IE8 . However in Windows 7 clicking the link will open a new tab, this new tab however sits in the background therefore it is possible that it may not be noticed by the user. Also the content in this background tab does not always load fully unless you clear the cache. Has anyone come across this issue with Flex and Windows7/IE8? In the navigateToUrl function i pass in a param of _blank.
View 1 Replies
Jun 9, 2010
I'm following flex tutorials but i'm not doing exactly as they do, so :hat i want I have an input text, with a button 'search'.I want when this button is clicked that the data returned by the function search are displayed in the datagridWhat i have :
The text input :
<s:TextInput includeIn="DetailServeurs" x="58" y="361" width="209" id="txt_search" text="Default text" focusIn="txt_search_focusInHandler(event)"/>
[code]........
View 1 Replies
Apr 9, 2011
Not a URL, but just a swf file in a popup window. Using ActionScript3.0
View 3 Replies
Nov 18, 2009
I'm trying to do a popup window that is sized at 300x200 when clicking a button using the following code
var jscommand:String = "window.open('[URL','win','height=200,width=300,toolbar=no,scrollbars=yes');";
var url:URLRequest = new URLRequest("javascript:" + jscommand + " void(0);");
navigateToURL(url, "_self");
It opens up fine except on Safari 3.
View 1 Replies
Dec 22, 2009
I have pages in a training module that I need to include a link to open a swf file as a separate popup window. The main SWF files are located in:[code]While the file I need to pop-up is located at:..Courseglossaryglossary.swf.I have a number of other folders similar to the one above that will use the same code to open the glossary file. Right now, I use AS2. I can also display the swf inside a htm if needed, but would have to define the size of that window.
View 1 Replies
Aug 26, 2009
I'll have an swf that I'd like to open up as a popup from an html link. I've been searching the forum, but most similar questions are to go from flash to html.
get a flash popup from an html link?
View 3 Replies
Feb 14, 2011
I used flash banner at html page in a iframe. But when I clicked at another navigation link (like index to contact page). flash reloads. & it takes time for low bandwidth user. Is there any solution that, i can go at any page without refresh whole page...(not reload flash). I don't want to reload flash when I click at another link.
View 1 Replies
Feb 6, 2003
ACTUALLY i just thought of another one so now i have two. sorry. hope you don't mind. i get sidetracked rather easily. before i start, a quick nota bene. i'm a complete newcomer to flash so my questions are very simpleminded. not much of a challenge i'm afraid.
1. can i put a link in my movie that will close the window?
2. can i put a link in my movie that will open a new window of a specific size, and without the menu-buttons of explorer?
View 10 Replies
Oct 30, 2009
i have a flash site that links to PDF's with the navigateToURL function which works etc But now i would like Link to rather open up a download window instead of just a new browser window?
View 3 Replies
Nov 18, 2009
I'm trying to get the link to open in the same window instead of a new window, it's currently set to _blank. I tried _top, _self, _parent. When it's set to anything other than _blank the link doesn't work.
[Code]....
View 7 Replies
Apr 11, 2009
I have a flash website www.sitzmarkgolf.com. I have a couple of embedded swf's in my main flash page. When you click on a menu item to switch to another page the embedded swf's reload the home page again until they stop playing. Is there a way via as to stop these swf's from playing when you click on a link? sorry I am new to flash and as.
View 4 Replies
Jun 22, 2010
I am creating a textbutton using actionscript. the code is given below.
public function createTextButton(parentId){
var mytext:TextField = new TextField();
mytext.x = 478;
[Code]....
Now i want the click event of this button to be handled in my event handler function only. It should not navigate away to the 'href' source given upon clicking. How can i achieve that.
View 1 Replies
Apr 21, 2009
I managed to load in an external swf file okay however, I need to be able to remove it when the user clicks a link to go back to the homepage. Below is my code:
Code: Select allstop();
var imageRequest:URLRequest = new URLRequest("gallery.swf");
var imageLoader:Loader = new Loader();
imageLoader.load(imageRequest);
addChild(imageLoader);
home_link_btn.addEventListener(MouseEvent.CLICK, homeLink);
[Code] .....
I assumed it was as simple as removing the child but it still remains. I get no compile errors or anything.
View 2 Replies
Dec 12, 2011
I need to close the popup(adobe flex), non modal window if I click on the parent page of the popup. I have to do the out of focus check and then do some validation before close the popup. So what I was thinking that is there any inbuilt focus check event or do we need to create custom event for that?
View 1 Replies
May 9, 2008
I am trying to figure out how to make buttons on my flash file link to URLs that appear in a window of fixed dimensions (with scroller bars) next to my Flash window. I am aware that Adobe has instructions for creating pop-up browser windows through Flash [URL]. However, what I'm trying to do is a bit more complicated, since I want to have multiple embedded invisible buttons in the Flash window that each take you to a specific URL when you click on them. Alternatively I'd be happy if any button click resulted in a link to a random selection from a pre-programmed list of URLs. This is for ActionScript 3.
View 5 Replies
May 10, 2010
I'm busy with making a XML banner in AS3. It worked so far with the following code:
Code:
Select allvar xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
xmlLoader.load(new URLRequest("private"));
function LoadXML(e:Event):void {
[Code] .....
And it worked! It bypassed all the browsers popup blockers, but it brought in some new problems. Every time the .swf loops. The addeventlistener adds a listener. So if the .swf loops 5 times it will open 5 windows when I will click it. I've tried to use removeeventlistener but with no success so far. In the code without the popup bypass this problem didn't occurred. Probably due the new URLRequest. But I don't know how to use this in the javascript. The other problem is the string of the link. For some reason javascript deletes parts of the link when there is an question mark in it. Example:
If the link is [URL]
The link what will open is: [URL]
View 5 Replies
May 3, 2010
PHP Code:
var xmlLoader:URLLoader = new URLLoader() var xmlData:XML =new XML(); xmlLoader.addEventListener(Event.COMPLETE, LoadXML); xmlLoader.load(new URLRequest("private"));
[code].....
View 2 Replies
Jun 21, 2009
I have an an array of objects. I populate the datagrid from the array. The nmber of columns in the datagrid is fix i.e.5 and the first column always shows serial number (0,1,2,3,4). I have a link button called 'CLEAR' in the last column of the datagrid.
1> How do I make the clear button visible only when the row is particularly clicked 2> When the clear button is clicked, how do I make the contents of that particular row cleared. Not deleted, only cleared to insert data again. Also, the serial number (0,1,2,3,4) should not be cleared, nor deleted. How to do this ?
View 1 Replies
May 29, 2009
<mx:DataGrid visible="false" id="dgPosts" width="365" click="" dataProvider="{sendReq.lastResult.loginsuccess.name}" x="140.5" y="169">
<mx:columns>
[Code]....
When i click on a particular dataItem, the corresponding website must open. I have tried dgPosts.selectedItem.name but its not working.
View 1 Replies
Nov 14, 2006
Is is possible for me to click a row of a datagrid to have it trace the info? Can it also pass the info to another frame?
View 1 Replies
Feb 16, 2009
i've download this gallery made by kirupa, if you do click on the image the url appear in a new window...
my question is ...how i can get the link appear in the same window? i don't know if xml allow the target="_parent" code....
this gallery use xml file...
<images>
<image>
<path>images/angel.jpg</path>
[Code]...
View 1 Replies
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
Jan 19, 2010
how to make the URL open in the same window. I am using flash CS3, Is there anyone who can edit the script below to allow this. The instance name is Button6
var getnextpage5:URLRequest = new URLRequest ("http://www.yokubou.co.uk/digitalart.html");
Button6.addEventListener(MouseEvent.CLICK,b5Click) ;
function b5Click(event:MouseEvent):void{
[Code]....
View 2 Replies
Jun 17, 2010
I've been using this code, which, when i click on a button it sends me to a new link, but when I put the .swf on my website and click the button, it sends me to a new tab *BUT* the url is instead ofI also want it in a new window instead of a new tab.here's the code (All in the first frame)
Actionscript Code:
button31BTN.addEventListener(MouseEvent.CLICK, clickButton31);function clickButton31(event:MouseEvent):void{ var url:String = "www.theurl.com"; var
[code].....
View 2 Replies
Jun 9, 2009
I have an asp link which is calling a server tracking counter and it is not supposed to open a new window when it is called from a button using on release. How can I do this without getURL which always opens a window? Also I don't need to send or receive any data just I want to call the URL without opening a new window.URL...
View 2 Replies
Mar 16, 2010
I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window? i tried the localToGlobal function but with no luck, I just can't get the main window x and y.
View 3 Replies