Listen the current URL with Flash  Adobe Air

Hi!
I'm new in Adobe Air, I need (urgente!!!) to do a simple widget with Adobe Air that monitors the URLs where I navigate and when I enter to a specific site the widget appears in the front of my screen and display a message. The problem is that I don't know how to listen the current URL of my browser using Adobe air (flash).
I was trying with HttpStatusEvent but I can figure aut how to retireve the URL from my browser.
Thanx!!
   Carolina

An Adobe AIR application runs independently from web browsers.  For something like what you describe to work, an application would need to find a way to interact deliberately with browsers running on the system. The HttpStatusEvent, however, is an event that is listened for when the Adobe AIR application itself is attempting to interact with a URL and receives an HTTP status code, in which case you are already aware of the URL to begin with.
dex

Similar Messages

  • Q: How to retrieve the current URL with PL/SQL

    I've got a pair of dynamic page portlets on a page. The first is simply an input text box and a submit button, the second is an inventory 'report' based on what is entered in the text box. When a value is entered and the button pressed, there is javascript behind the button that takes the current URL, adds '&ITEM=XXXXXXXX' (removing it first if this is not the first invocation of the page), and redirects to the new page.
    The second portlet uses the &ITEM parm to list a bill of materials for the item. If one of the items possesses a sub-assembly, I want to display the item# in an <a href= manner to make it so the user can simply click on the link to see the BOM of the subassembly.
    To do this, I believe I need to capture the current url and modify it as required to pass the new &ITEM value. I'm having a lot of trouble trying to figure out how to get the current page url. Any help would be greatly appreciated!
    Geoff

    Hello
    I have a similar problem I have developed a pl/sql portlet and put it into a page, this portlets display a dynamic page. This dynamic page have a search functionality, what I am trying to do is that when I click the search button on the dynamic page it recall the whole page and pass the paremeter that the user wrote on the search box, then the portlet that contains the dynamic page recieve the parameter and recall the dynamic page with the parameter that was received. The problem that I have is that the portlet receive the parameter but when I pass the parameter to the dynamic page it doesn't get it. This is the way the I am calling the dynamic page inside my portlet into the show procedure:
    EXECUTE IMMEDIATE
    'begin
    APP_NAME.PG_DYN_DIR_ALFABETICO.show (
    p_arg_names => PORTAL30.wwv_standard_util.string_to_table2(''url_page'',''search_param''),
    p_arg_values => PORTAL30.wwv_standard_util.string_to_table2(:1,:2));
    end;'
    using url_pg,p_text1;
    The dynamic page receive the first parameter(url_page) but not the second one(p_text1), I have checked that the p_text1 has a value on my portlet before I send it to the dynamic page so I really don't understand why my dynamic page doesn't work.
    Please HELP ME. I am desperate
    Ana Lasprilla

  • Generate the current URL with css file

    Hello everybody,
    I just added a QRCode App on my Custom List page and I'm trying to create a css file that
    it can generate the current URL where the QRCode App is opening.  The QRCode App allows to add css file which Indicates
    if I want to specify a custom CSS file URL. The QRCode opens with each List item. 
    Below is the code that I've been trying to use:
    <ul >
        <a href="">Link </a>
    </ul> 
    *This code shows the current URL. However instead showing the the URL, it shows a Link to the current page. Can someone help me with that? 
    Link for the QRCode App:
    http://office.microsoft.com/en-us/store/qrcode-app-for-sharepoint-WA103699711.aspx
    Thanks!
    App Part properties
    When you're editing the app part properties, you can change the following custom properties:
    Name
    Category
    Type
    Description
    QR Code Text
    QRCode Settings
    String
    QR code
    associated text or url. By default, this value is the host web url.
    QR Code Width
    QRCode
    Settings
    Integer
    QR
    code width. Default value is 200 px.
    QR Code Height
    QRCode
    Settings
    Integer
    QR
    code height. Default value is 200 px.
    Render Mode
    QRCode
    Settings
    Enum
    QR
    code render html method. The value could be canvas or html table. Default value is Cancas.
    Custom CSS File Url
    QRCode Settings
    String
    Indicates
    if you want to specify a custom CSS file URL.
    flavio

    hi
    what do you mean by current url? If url of current page is not what you are looking for, then is it url of current site?
    As you use app, I guess you are working with Sharepoint Online and can't use server side code? If this is the case, then check the following post:
    How to get URL of current site collection and other server side properties on client site in Sharepoint. Briefly you need to use OTB _spPageContextInfo object and set href attribute of your link in javascript:
    <ul>
    <a id="foo">Link</a>
    </ul>
    <script type="text/javascript">
    document.getElementById("foo").setAttribute("href", _spPageContextInfo.siteAbsoluteUrl);
    </script>
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

  • All plugins uptodate but on upload file get "USING one of the supported browser with latest Adobe Flash is required to experience enhanced file upload features

    I am freelancer. When I tried to upload files on elance it give following error and disable the upload button:using one of the supported browser with latest Adobe flash is required to experience enhanced file upload features.
    All plugins are up to date. Flash version 11.7 installed.

    I assume Firefox 19 worked fine on the site?
    Some sites may be mistakenly identifying Firefox 20 as Firefox 2, which is a very old version they probably no longer support. As a test, you could "lie" to the site about your Firefox version and see whether that little deception works.
    This take a minute to set up. Here's how:
    (1) Select and copy the following preference name to the clipboard:
    general.useragent.override.elance''.''com
    (2) In a new tab or window, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (3) In the filter box, type '''override''' and pause while the list is filtered
    (4) Make sure '''general.useragent.site_specific_overrides''' is set to its default value of true (or right-click and choose Reset if it is not).
    (5) Right-click anywhere in the preference list area and choose
    New > String
    then paste the preference name you copied. Click OK and enter TEMP or asdf or any text as a temporary placeholder. You should see the preference added in bold. Leave about:config open and switch back to this tab.
    (6) Select and copy the following useragent string to the clipboard ''(it's all one line)'':
    Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0
    (That's Firefox 19 on Windows 7 32-bit)
    (7) In about:config, double-click '''general.useragent.override.elance''.''com''' and paste to replace the temporary text with the new useragent string. Click OK, you're done here.
    Now try reloading a page where you need to upload (use Ctrl+Shift+r) and test that function again. Any change?

  • Why is adobe forcing me to download Chrome and the Google Toolbar with Flash?

    Why is adobe forcing me to download Chrome and the Google Toolbar with Flash? I'd rather not see CNN videos than have to have Chrome and the Google Toolbar on my computer.

    ScottSatellite wrote:
    the only way Adobe was offering the Flash download from CNN was if you accepted Google Toolbar and Chrome at the same time.
    You shouldn't download Adobe software from anywhere but the adobe.com domain.  If you download it from http://get.adobe.com/flashplayer/ you will get an opt-out for Google Chrome (or McAfee, or whatever is on today's menu):
    Better yet, use the offline installers that were posted earlier.
    While I use many Google products and services, Google Chrome is not one of them.  I especially don't like how it installs, setting itself as the default browser without asking, and when you uninstall it, it will remain the default browser, which of course causes lots of problems.

  • Whats the current deal with popup windows in flash?

    Hi There,
    whats the current deal with popup windows in flash? I'm
    trying to include popup windows in a site, and with IE7 (or
    whatever the newest version of IE is ..the firefox lookalike) the
    popups are not working at all, I have gone out a gotten other
    sample popup scripts and I encountering the same problem, which is
    the popups aren't working at all?
    Is this a problem with just IE7 or am i completely missing
    out on something here?
    any ideas would be really appreciated! or if anyone has any
    scripts for sizeable popup windows that work on IE7 i would really
    appreciate it. thanks
    :}

    well i have used a couple of different attempts. I have used
    code generated by this:
    http://www.flash-db.com/PopUp/
    on (release) {
    getURL
    ("javascript:NewWindow=window.open('pants.html','newWin','width=200,height=50,left=0,top= 0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');
    void(0);");
    I have also tried a couple of other tutorials from
    http://www.kirupa.com
    link;
    http://www.kirupa.com/kirupa.htm'
    and I used the javascript supplied and had no luck (I
    embedded the html etc) ... i have tried about 5 other tutorials and
    I've got to the point where I'm wondering is the problem based
    around by browser, I only using IE7 and have no ther browser. I'm
    using FlashMX 2004. all the example files .fla and swfs i have
    downloaded aren't working either so I'm totaly scartching my head
    at this point...
    any ideas where i'm going wrong here? any help very much
    appreciated
    :}

  • Is there a way to show the current URL for a WebHelp topic in the browser?

    RoboHelp 11, WebHelp.
    When I open the WebHelp project, the URL displays the start page for the Touchstone Help project: ..../Documentation/Touchstone/Content/Content.htm.
    As I go to different pages in the Help, the URL never changes.
    Our client consulting personnel often like to copy a URL to send to a client who has a question about a particular topic.
    Is there a WebHelp setting that supports display of the current URL?
    Thank you.
    Carol Levine
    AIR Worldwide

    Hi, Jeff.
    Internet Explorer 9.
    I've got the pointer in the topic.
    Right-clicking displays the following shortcut menu.
    When I click "Create shortcut" (the only option with "shortcut" in the name), the following message appears.
    After clicking Yes, the shortcut is on the desktop. The user must then right-click the URL, select Properties, copy the URL from the Web Document tab, paste it into an email, and send it.
    Is this the process as you understand it?
    Thanks.
    Carol

  • I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!

    I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!

    Try asking in the Premiere Pro  forum seems to be an Adobe Lab for Premiere Pro

  • Installation with new adobe air version

    Hello,
    I have a .air file which was created a few weeks or months
    ago. To install the application, it was needed adobe air version
    beta 3.
    Now, most of my customers have a newer version of adobe air
    installed on their computer, and when they try to install my
    application, it's not working.
    My question: what can I do to be able to install my
    application using the new adobe air version ?
    Thanks for your help

    Thanks for your answer.
    I downloaded Flex Builder 3 trial version, but I don't know how to use it...
    I have a folder with subfolders .settings, bin-debug, libs and src.
    There are files into these folders.
    I guess I successfully imported the project files, but when I click on the "run" button, I'm getting 13 warnings.
    I don't know how to do to rebuild my application, I'm completely lost.
    Can anyone tell me what I should do OR tell me where I can find a step by step guide to building ?
    Thanks a lot.

  • My original iPad still shows iOS 5.1.1 as the current version with no opportunity to update.

    My original iPad still shows iOS 5.1.1 as the current version with no opportunity to update.

    No IOS 6 for Original iPad.

  • I downloaded Safari 5.1 onto Mac OS 10.6.8 some time ago.  Yesterday the back/forward arrows next to the url window changed to a  , which adds the current url as a bookmark.  I want the arrows back.  What happened, and how can I fix this?  Thanks.  kammro

    I downloaded Safari 5.1 onto Mac OS 10.6.8 some time ago.  Yesterday the back/forward arrows next to the url window changed to a +, which adds the current url as a bookmark.  I want the arrows back.  What happened, and how can I fix this?  Thanks.  kammro

    There's another way.
    Right or control click the + then click Remove Item.
    Just remembered that keyboard shortcut!
    You're welcome 

  • Is there any way to to have the "Home" icon open a new tab instead of replacing the current page with the home page?

    I would prefer that the "Home" icon on the Navigation Toolbar open a new tab instead of replacing the current tab with the home page. Is there any way to accomplish this?
    Thank you.

    If you middle-click on the home icon it will open a new tab containing the home page.

  • Comparing the current value with the previous one in Powershell

    Hi,
    New to scripting and i was wondering how can I compare the current value with the previous value?
    I am having trouble with the loop structure, and I am not sure I am on the right track...
    I am trying to compare the record to next record in the same csv file after import-csv... My code runs fine, but is not giving the right result.
    $FilePath = Get-FileName -initialDirectory "C:\"
    #Testing for null
    If($FilePath)
    $Data = Import-csv -Path $FilePath | Sort-Object BUYER, {[int] $_.PO_NBR}, {[int] $_.LINE_NBR}
    Foreach($fData in $Data)
    $i = $fData
    Foreach($i in $fData)
    if($fData.Buyer -eq $i.Buyer)
    #save all the same buyer name to a new variable
    Write-Host "Same as previous"
    Else
    Write-Host "Variable is null"
    Remove-Item function:\Get-FileName

    Thank you. The Foreach loop is now working properly.
    Can I ask what is the purpose of "-ea 0" in the import-csv? I can't seem to find "-ea" as a parameter for import-csv in help.
    -ea is short for -ErrorAction.
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • How can we read the current URL in Forms9i

    Hi,
    It will be greatful, if anyone give me the solution to get the current URL in Oracle forms 9i
    Regards,
    Walter Nicholas T

    Walter,
    it depends on what you need it for. The Forms URL cannot be accessed directly from Forms without using a Java Bean in it, but consists of
    <protocoll><server><port>forms90/f90servlet?config=<application>
    If you want to call resources on the same server, then you could do a web.show_document() call to /<virtual path>/<file>, whic would then look for the resource on the server that downloaded Forms
    To get the information about the config parameter, create a user parameter in Forms, say "conf" and add teh following to teh formsweb.cfg file
    [myApp]
    otherparams=conf=%config%
    In Forms the config information is accessible via
    varStr := :parameter.conf;
    To get the whole URL string, I am afraid you need to write a Java Bean in Forms (not sure of webutil already implements this, maybe worth checking)
    Frank

  • At the top of my Mozilla home page, it lists the current URL site I am on. How do I delete them and the others in the drop down box? Highlighting and hitting delete does not work

    At the top of my Mozilla home page, it lists the current URL site, such as http://www.safeco.com, I am on plus the others in the drop down box. How do I delete them. Highlighting and hitting delete does not work.
    I am using windows Vista 007 and Mozila 3.6.1.3

    Do those entries have a yellow star at the far right?
    If they have then they are bookmarks. You can remove them if you open that link and click the star to open the Edit This Bookmark dialog and click the Remove button in that dialog.
    * [[Clearing Location bar history]]
    * [[Cannot clear Location bar history]]

Maybe you are looking for

  • How to popup form according to query by  CFL for user defined tables?

    Hi Experts! Please write a simple code for adding CFL in UDO and popup the window according to query. suppose i want to execute query "select code,name from [@WITM]". I want to add CFL in edittext which is on UDO. how can we add CFL in that Edittext

  • Converting Album Catalogs to Elements 11 Catalogs

    I am having difficulty converting my old Photoshop Album Catalogs (file extension .psa) to Elements 11. Using "Manage Catalogs" from the file tab and then "Convert".  I get the convert catalog screen.  Using "find catalogs"  I can browse to the folde

  • What file size?

    I want to export pics from iPhoto to do a slideshow in Final Cut Express. Does the file size matter regardless of where your show is being played, a T.V. or a 60' screen? My show will be played on a BIG screen and then DVD's made for T.V. What size s

  • Pages is corrupting my files

    I saved a file, simple text recently. When I tried to open it a few months later it states that the file cannot be opened and may be corrupted or in a different format. I cannot preview the file or open it in textedit or any other program. Any sugges

  • View last 5 lines from select statement?

    Hi, I would like to view only the last 5 lines from a select statement, how would this be done? Something like: select * from a ................. regards RobH