Spry Tabs from Flash?

I have Spry tabs on my page. I am trying to control which tab
is active from a Flash movie on the page.
In the HTML, I have a function:
function switchTab(which) {
TabbedPanels1.showPanel(which);
In Flash, I have this actionscript (within an event):
var which:uint = myList.getSelectedItem().tab;
ExternalInterface.call("switchTab", "which");
I have checked this by switching temporarily to a test
function:
function testing(which) {
alert(which);
And the alert box works and shows the number (from an xml
parameter "tab"). But the switchTab function above fails. All the
tabs just collapse when called.
Note: if I hard code the function, as in:
function switchTab() {
TabbedPanels1.showPanel(1);
and call just "switchtab" from flash, it does switch to tab
index 1.

I think I may have gotten it:
var which:uint = myList.getSelectedItem().tab;
ExternalInterface.call("switchTab", which);
No quotes on the which.

Similar Messages

  • Controlling spry accordion from flash doesn't work in IE 8

    Hi all,
    I created a spry accordion in an html page and a little spry controller in flash, on the same page.
    The flash controller contains buttons that should trigger the accordion in the same page.
    here is the code I inserted in a flash button:
    on (release) {
    getURL ("javascript:acc_ricette.openPanel('mypanel_ID'); return false;")
    where mypanel_ID is the ID of the accordion on the page.
    When I click any flash button this works perfectly in firefox and chrome, but it doesn't work in IE 8 and Opera.
    The accordion itself (not using the flash buttons) works in all browser.
    Is there a solution
    TIA
    tony

    Hi all,
    I created a spry accordion in an html page and a little spry controller in flash, on the same page.
    The flash controller contains buttons that should trigger the accordion in the same page.
    here is the code I inserted in a flash button:
    on (release) {
    getURL ("javascript:acc_ricette.openPanel('mypanel_ID'); return false;")
    where mypanel_ID is the ID of the accordion on the page.
    When I click any flash button this works perfectly in firefox and chrome, but it doesn't work in IE 8 and Opera.
    The accordion itself (not using the flash buttons) works in all browser.
    Is there a solution
    TIA
    tony

  • Link to spry tab panels

    HI there I'm new to this whole spry thing heck I'm even new
    to posting; I'm trying to link to a spry tab from a flash button
    and well it's just not working I can use the sample as written
    http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm
    and it will work to change tabs but I guess I'm not using it
    right for the flash button I've tried to set the
    onclick="TabbedPanels1.showPanel(0); return false;"
    and that didn't work and I also tried going into the code and
    adding
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    width="132" height="31" a href="#"
    onclick="TabbedPanels1.showPanel(0); return false;">
    and that doesn't work either what am I doing wrong? sorry if
    I posted in the wrong place. Thanks in advance for the help
    labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm

    It is possible to link to a specific tabbed panel from another page, may I suggest you use the following link to visit a post in the spry forum were you will find all the steps needed to do this.
    http://forums.adobe.com/thread/48312
    Richard

  • Setting dynamic Spry tab

    Can anyone tell me how to target a specific Spry tab from an
    external link?

    This is the correct answer - thanks.  - searched all day for this
    In the head JS tag add the following after
    var dsCities = new Spry.Data.XMLDataSet("xml/{dsStates::url}", "state/cities/city");
    var statenum = 20;  // Sets dsStates to the 21st node value = MA  Massachusetts - observer will default the dsCities to massachusetts.xml
    // add an array search to return the index  for statenum
    dsStates.addObserver({ onDataChanged: function(ds, type) { dsStates.setCurrentRowNumber(statenum); } });
    There should be a a cookbook on SPRY of popular needed functions - the samples are fragments but it takes a lot of work, the hard way to learn and piece it together..

  • Spry Tabbed Panels overwritting Flash drop down menu in IE

    I am having an issue with Spry Tabbed Panels appearing above
    a Flash drop down menu in IE6 & IE7 but it works fine in
    Firefox. Would someone be able to educate me on what I can do to
    fix this problem. The page that is exhibiting this problem is
    http://us.shuttle.com/performance.aspx
    I’ve tried adding “WMODE” to my flash menu,
    also updated “SpryTabbedPanels.js to version 0.5 –
    pre-release 1.6”, but neither way is
    helping…….

    Thank you very much for the suggestion. Yes, this is how I
    tried:
    .TabbedPanels {
    margin: 0px;
    padding: 0px;
    float: left;
    clear: none;
    width: 100%;
    z-index: 1000;
    I’ve been tried setting Z-index to from 50 to 2000 in
    attached css, but still not working.

  • Spry Tabbed Panels overwritting Flash drop down menu in IE but display fine in Firefox

    I am having an issue with Spry Tabbed Panels appearing above
    a Flash drop down menu in IE6 & IE7 but it works fine in
    Firefox. Would someone be able to educate me on what I can do to
    fix this problem. The page that is exhibiting this problem is
    http://us.shuttle.com/performance.aspx
    I’ve add “WMODE” to my flash menu,
    also updated “SpryTabbedPanels.js to version 0.5 –
    pre-release 1.6”, but neither way is
    helping…….

    Thank you very much for the suggestion. Yes, this is how I
    tried:
    .TabbedPanels {
    margin: 0px;
    padding: 0px;
    float: left;
    clear: none;
    width: 100%;
    z-index: 1000;
    I’ve been tried setting Z-index to from 50 to 2000 in
    attached css, but still not working.

  • Opening an HTML popup from Flash, not as tab

    Hi
    I need to open an HTML popup from Flash (using ActionScript in
    Flex 4).
    Thus far I found a solution, and it does work in Safari - a new
    and separate HTML window is popped up (with a new web page).
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    But in (my) Firefox (with my settings), when I click on the Flash
    (Flex) button, the page is being opened in a new tab.
    I need a solution which pops up the HTML page in a new/separate
    window, as far as possible regardless of the browser (and browser
    settings).
    I found an example where a popup is opened from HTML, and it opens a
    separate window (a real popup) in my Firefox:
    http://www.gtalbot.org/FirefoxSection/Popup/PopupAndFirefox.html
    -> "Open a requested popup"
    The JavaScript code seems to be:
      OpenRequestedPopup(this.href, this.target); return false;
    with this function def:
      function OpenRequestedPopup(strUrl, strTarget)
        if (WindowObjectReferenceOfRequestedPopup == null || WindowObjectReferenceOfRequestedPopup.closed)
        WindowObjectReferenceOfRequestedPopup = window.open(strUrl, strTarget, "top=" + windowTop + ",left=" + windowLeft + ",width=" + windowWidth + ",height=" + windowHeight + ",menubar,toolbar,location,resizable,scrollbars,status");
        else
        if(WindowObjectReferenceOfRequestedPopup.focus)
          WindowObjectReferenceOfRequestedPopup.focus();
    How could I call such code from ActionScript? Should this work through
    ExternalInterface? I couldn't even get this to work:
      ExternalInterface.call('alert', 'foo');
    Should I use swfobject.js for embedding the .swf in the HTML wrapper?
    Any other ideas?
    The two files are pasted below.
    Here's the compiler command I'm using:
      mxmlc -output button.swf -target-player 10.0.0 flash_to_editor.mxml
    I'm running the examples locally (as files, not over http). Would it
    help to place the files on a server?
    Tobi
    <?xml version="1.0" encoding="UTF-8"?>
    <mx:Application
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      horizontalAlign="center" verticalAlign="middle">
      <fx:Script>
        <![CDATA[
    import mx.controls.Alert;
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    // This 'http://www.adobe.com' is just an example URL.
    // Works but opens tab in FF (not a separate window):
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    // Doesn't work:
    // var url:URLRequest = new URLRequest("javascript:alert('foo'); void(0);");
    // navigateToURL(url, "_self");
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('launch','http://www.adobe.com');
      // Or
      // ExternalInterface.call("window.open", "http://www.adobe.com", "win", "height=200,width=300,toolbar=no,scrollbars=yes");
    // Perhaps it's necessary to try different approaches:
    // (As soon as I get two approaches to work.)
    private function popUpTheHtmlEditor():void {
      var s:String;
      if (ExternalInterface.available) {
        // Necessary? Safe?:
        // Security.allowDomain('*');
        s = ExternalInterface.call('launch','http://www.adobe.com');
      } else {
         // TODO: Then try URLRequest?
         s = "Wrapper not available";
      Alert.show(s);
        ]]>
      </fx:Script>
      <s:Panel title="One way to open the HTML editor"
      width="75%" height="75%">
        <s:Button id="button" label="Open the HTML editor"
        click="this.popUpTheHtmlEditor();"
        horizontalCenter="0" verticalCenter="0"/>
      </s:Panel>
    </mx:Application>
    <html
      xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en" lang="en">
      <head>
        <title>html_around_swf.html</title>
        <script type="text/javascript">
    function launch(url) {
      alert(url);
      //  OpenWin = this.open(url, "FOO", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=400,height=200");
        </script>
      </head>
      <body>
        <object id="button" name="button" width="550" height="400"
        classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
          <param name="movie" value="button.swf" />
          <param name="allowScriptAccess" value="always" />
          <embed id="foo" name="button" src="button.swf" width="550" height="400"></embed>
        </object>
      </body>
    </html>

    Hi, 
    Here's a solution.
    1. Make ExternalInterface work when files are loaded as local files: 
    Go to
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l 
    In tab Global Security Settings: Edit Locations -> Add Location ->
    browse to the .swf file, add it. Make sure it's in the list (under the
    Edit Locations drop down, with a green check mark.) 
    Now open the HTML wrapper in a browser (eg Firefox). 
    Now this works (ActionScript): 
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    On Windows: perhaps:
    http://techjig.blogspot.com/2008/03/flash-global-security-settings-windows.html
    "In order for external interface functions to be called, you must also
    specify the folder/file where the swf file is located." 
    The above setup isn't necessary when the files are on a server. 
    Also see: 
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/External Interface.html#call()
    ""ExternalInterface" "
    "call() method" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ea6.html
    "About ExternalInterface API security in Flex" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf626ae-7fe8.html#WS2d b454920e96a9e51e63e3d11c0bf69084-7f31
    "Using the ExternalInterface API to access JavaScript" 
    2. Open a real popup: Example: 
    ActionScript: 
    private function popUpSomething():void {
      var editorPathOrUrl:String =
        'wrapper.html';
      var windowName:String =
        "SomeNameSeeDocs";
      var windowFeatures:String =
        "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,width=500,height=700";
      ExternalInterface.call(
        'launch',editorPathOrUrl,windowName,windowFeatures
    JavaScript: 
    function launch(editorPathOrUrl,windowName,windowFeatures) {
      windowRef = window.open(
        editorPathOrUrl,windowName,windowFeatures
    Works in all browser I tested except Opera. 
    Tobi

  • Multi page recordset output from ASP page on Spry Tabbed Panel Widget

    I am using a simple Spry Tabbed panel set on my asp page to show the output from different ASP pages, inside the tabbed panels. The tabbed panels on the page under consideration (destination page) display the output from different asp pages (source pages). The source asp pages generate multi page outputs which are paginated on the source page itself and pagination links are displayed on the source page itself.
    However, we dont want to display the source page outside of the tabbed panel, but instead the output content from the source asp pages should show inside the tabbeed panels only. The first page generated by the source asp page displays correctly inside the tabbed panel. However, when the user clicks on the links for the next page generated by the source asp page, but which is being displayed inside the destination page tabbed panel, they dont display the next page inside the tabbed panel. Instead the source asp page displays the output outside the tabbed panel destination  page.
    Please advise on how to ensure that the user can page through the recordset generated by the source asp page by clicking on the pagination links at the bottom of the records, while ensuring that the output displays within the tabbed panels on the destination asp page.
    I am enclosing the source code being used to generate the spry tabbed panel widget and also updating it with the output from the source asp page. In this case, the code given below is from the main page containing the widget and the source asp page is "sample.asp", which generates multi page output.
    Please note that I am not too keen on using xml data sets output from the source asp page, but would be more comfortable with directly using the asp pages to fill the tabbed panel content.
    Please help
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script language="javascript" src="/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="/SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="/SpryAssets/SpryData.js" type="text/javascript"></script>
    <link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
          <li class="TabbedPanelsTab" tabindex="0" onclick="Spry.Utils.updateContent('two','sample.asp?page=' <%=i%>); Spry.Data.initRegions();" >Tab 1</li>
           <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div id=two class="TabbedPanelsContent">Content 1</div>
        <div class="TabbedPanelsContent">Content 2</div>
      </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    </script>
    </body>

    I fully agree that the problem does not lie with tthe tabbed panels.
    The solution would probably be first required to be tried using ajax on any div tab.
    Then the same code would have to be used on Sprytabbed panel. Hence, the following may be advised:
    1. Sample code for server side pagination and displaying inside any div tag and refreshing it using ajax. the update link would also lie inside the div tag which would show the next/ previous page without reloading the page.
    2. Then adapting the refresh technique using ajax in the Spry Tabbed panel using the inbuilt updatecontent method of the Spry Tabbed panels.
    In order to achieve the above, I am getting the recordset output in the tab content as expected. The recordset is also getting the pagination links from server side asp as required.
    However, it is also generating the following error.
    Webpage error details
    Message: Unterminated string constant
    Line: 9
    Char: 56
    Code: 0
    URI: http://localhost/test/test5.asp
    The sourcecode is as given below. If you can help with the error indicated above, my problem would probably get solved.
    <html><head>
    <title>Untitled Document</title>
    <link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
    <script src="/SpryAssets/SpryURLUtils.js" type="text/javascript"></script>
    <script src="/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="/SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="/SpryAssets/xPath.js" type="text/javascript"></script>
    </head>
    <body>
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0" onclick="Spry.Utils.updateContent('one','untitled-5.asp');">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0" >Tab 2</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div id=one class="TabbedPanelsContent">Content 1</div>
        <div id ="two" class="TabbedPanelsContent">Content 2</div>
      </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    </script>
    </body>
    </html>

  • Need help linking spry tabbed panel from external page

    Could use some help.  I need to link to a specific spry tabbed panel on page "A" from a link on page "B"  I have tried several "solutions" on the web and had no luck.  When I add the code needed at the bottom of the code where you initiate the instance, it stacks the content of ALL panels in the first panel, and renders the tabs inoperable.  This is a key feature I need in a new site being developed.

    I need to link to a specific spry tabbed panel on page "A" from a link on page "B"  I have tried several "solutions" on the web and had no luck. 
    Have you tried http://foundationphp.com/tutorials/spry_url_utils.php ?
    When I add the code needed at the bottom of the code where you initiate the instance, it stacks the content of ALL panels in the first panel, and renders the tabs inoperable.
    Depending on what the code looks like, it can do all sorts of things.
    Please be reminded that the best way for us to help you is by you supplying a link to your site with a one sentence description of the problem.
    Gramps

  • Formatting Spry Tabs to start from left to to right

    I'm currently working for Arabic version of a webpage, the menus and other contents  should start from right to left. Does anyone who know how to set the Spry Tabs to start the tabs from left to right?
    Thanks,
    Mylyn

    Add the following to your document
    <style>
    .TabbedPanelsTab {
        float: right;
    </style>
    Gramps

  • Spry Tabbed Panels and Pop Up Link from Image Hotspot

    I've created an image map with Hotspot links to either send to another web page or to open a previously created Pop Up window with information.
    I've imported my image, image map and Hotspots into a tab
    The issue I'm having is when clicking on the hotspot (within the Spry tabbed panel), to open the pop up page; it doesn't work
    If I select a Hotspot which sends users to another web page, that works ok.
    Would appreciate it if someone else who has run into this and what your recommendation is for a fix.
    thanks, R Silva

    Hi,
    Unable to post to a public server; however I've attached the files so the code can be reviewed.
    thanks

  • Spry tabbed panel

    Hi,
    I've paced a Spry tabbed panel into a page below 3 thumbnails of images, you click on the tab and a larger image drops down, that works just fine but I can't figure out how to have the contents of all tabs to be empty on load so no large images in the content area are visible, is this possible?
    Thanks in advance
    Pete

    Sorry Ben, don't have this page uploaded yet but I've included the code from the HTML page.
    Thanks Pete
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Web design professional web site design &amp; development Auckland Tauranga Wellington Filemaker Pro relational databases by Trident Solutions</title>
    <meta name="Description" content="Trident Solutions build professional websites and develop relational databases for clients in New Zealand and Australia." />
    <meta name="Keywords" content="Web site design, New Zealand Australia, Filemaker Pro databases design company," />
    <meta name="Copyright" content="Copyright Trident Solutions 2010. All rights reserved" />
    <meta name="Publisher" content="web design" />
    <meta name="Distribution" content="Global" />
    <meta name="Revisit" content="10 days" />
    <meta name="Language" content="English" />
    <meta name="Rating" content="General" />
    <link href="css_files/styles.css" rel="stylesheet" type="text/css" />
    <link href="css_files/body_class.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    #apDiv1 {
        position:absolute;
        width:200px;
        height:21px;
        z-index:27;
        left: 689px;
        top: 616px;
        background-color: #FF0000;
    #apDiv3 {
        position:absolute;
        width:77px;
        height:30px;
        z-index:1;
    #apDiv4 {
        position:absolute;
        width:83px;
        height:26px;
        z-index:1;
        top: 181px;
    #apDiv5 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:27;
        left: 68px;
        top: 265px;
    body {
        background-color: #FFF;
    </style>
    <script src="SpryAssets/SpryCollapsiblePanel2.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="services">
    <div id="centered"> 
    <div id="container">
    <div id="buttons">
       <a class="home" href="index.html">Home</a>     
        <a class="services" href="services.html">services</a>
        <a class="clients_examples" href="client_examples.html">client examples </a> 
        <a class="filemaker_pro_database" href="filemaker_pro_database.html">databases</a>   
        <a class="company_info" href="company_info.html">company info </a>    
        <a class="contact_us_feedback_form" href="contact_us_feedback_form.html">contact us feedback form</a>   
        <a class="photo_gallery" href="photo_gallery.html" target="_blank">photo gallery</a>  </div>
      <div id="header_text">
        <h1>Web design &amp; development<br />
          Filemaker Pro relational databases</h1>
        <h1>Digital photography</h1>
      </div>
      <div id="masthead"></div>
      <div id="apDiv2"></div>
      <div id="rh_title_heading"></div>
      <div id="services_table">
        <div id="web_title2">
          <h2>Services provided by Trident
          </h2>
          <div id="dotted_line_top"></div>
        </div>
        <p> </p>
        <p><img src="images/http_icon.jpg" alt="web icon" width="124" height="94" class="img" /><img src="images/database_icon.jpg" alt="filemaker icon" width="124" height="94" class="img" /><img src="images/digital_camera.jpg" alt="photos" width="124" height="94" class="img" />
        </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <div id="services_image3">
          <p><img src="images/sydney_cove_tn.jpg" alt="" width="181" height="121" class="img" /><img src="images/mount_tn.jpg" width="181" height="121" class="img" /><img src="images/bridge_tn.jpg" width="181" height="121" class="img" /></p>
          <p> </p>
          </p>
          <p><br />
        </p>
    </div>
    <p> </p>
    <div id="image_3_large">
      <div id="TabbedPanels1" class="TabbedPanels">
        <ul class="TabbedPanelsTabGroup">
          <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
          <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
          <li class="TabbedPanelsTab" tabindex="0">Tab 3</li>
    </ul>
        <div class="TabbedPanelsContentGroup">
          <div class="TabbedPanelsContent1">Content 1</div>
          <div class="TabbedPanelsContent2">Content 2</div>
          <div class="TabbedPanelsContent3">Content 3</div>
    </div>
      </div>
      <p> </p>
    </div>
    <p> </p>
    </div>
      <div id="rh_text_box_css">
        <h3>CSS </h3>
        <p class="main_text"><strong>CSS</strong> stands for <strong>C</strong>ascading <strong>S</strong>tyle <strong>S</strong>heets<br />
          Styles define  how to display HTML elements<br />
          Styles were added to HTML 4.0 to solve a problem<strong><br />
            </strong>External Style Sheets can save a lot of work<br />
          External Style Sheets are stored in <strong>CSS files</strong></p>
        <div id="read2"><a href="http://www.w3schools.com/css/css_intro.asp" target="_blank"><img src="images/b_read.gif" alt="read" width="72" height="21" border="0" /></a></div>
        <p class="main_text"> </p>
    </div>
      <div id="index_lh_top_box"></div>
    </div>
    <div id="back_shadow">Content for  id "back_shadow" Goes Here</div>
    <p> </p>
    <div id="rh_text_box_flash"><span class="main_text_rh_box">
      <h3 class="home" id="sprytrigger1"><strong>Flash Animation</strong></h3>
        </span><span class="main_text"><span id="sprytrigger2">Web sites come</span> to life with the power of Flash <br />
        animation, display  interactive photo
        </span><span class="main_text">    how to albums, <br />
        diagrams with movement and tutorials can all<br />
    be done in Flash</span><span class="main_text">
    <p class="main_text"> </p>
        </span>
    <div id="read1"><a href="http://www.adobe.com/products/flash/whatisflash/" target="_blank"><img src="images/b_read.gif" alt="read" width="72" height="21" border="0" /></a></div>
    </div>
    <div id="rh_text_box_seo">
    <h3>Search Engine optimisation (SEO) </h3>
          <p class="main_text">As an Internet marketing strategy, SEO <br />
            considers how search engines  work and what <br />
            people search for. Optimising a web site primarily  <br />
            involves editing its content and HTML and <br />
            associated coding to both increase <br />
            the site's ranking with search engines. </p>
    <div id="read3"><a href="http://en.wikipedia.org/wiki/Search_engine_optimization" target="_blank"><img src="images/b_read.gif" alt="read" width="72" height="21" border="0" /></a></div>
      </div>
    <div id="rh_text_xhtml">
    <div id="read4"><a href="http://www.w3schools.com/xhtml/xhtml_intro.asp" target="_blank"><img src="images/b_read.gif" alt="read" width="72" height="21" border="0" /></a></div>
          <h3><span class="main_text_rh_box">XHTML</span> What Is XHTML?</h3>
          <span class="main_text">XHTML stands for EXtensible HyperText Markup<br />
    Language<br />
    XHTML is almost identical to HTML 4.01<br />
    XHTML is a stricter and cleaner version of HTML<br />
    XHTML is HTML defined as an XML application<br />
    XHTML is a W3C Recommendation</span>
          <p> </p>
      </div>
        <div id="footer_text">Copyright 2010. Trident Solutions. Comments regarding this site,   <span class="class1"><a href="mailto:[email protected]">please contact the web master.</a></span></div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    </script>
    </body>
    </html>

  • Spry Tabbed Panels content open verticaly on web site opening?

    Hello,
    As long as the client does'nt authorised javascript my opening web site page does'nt make sense, we see all the content of the tabs openned vertically.
    Is there a way to have an acceptable opening page , maybe without the the tabs working for the one who dont accept javascript?
    Thank You in advance

    picotine7 wrote:
    Hi,
    Thank's for the hint.
    Unfortunatly when I use the noscript tag at the beginning and at he end of my div, I loose my tabs completely.
    Yes and so it should when one uses a JS-enabled browser; but if one turns JS off then you will see the tabs.
    A bit of imagination is required to juggle between what you want the different browsers to see. Anything within the NOSCRIPT tags will only be seen by non-JS-browsers.
    If you want to remove a particular piece of code from JS-enabled-browsers you could use
    <div id="dynamiccontent">
      <script type="text/javascript">
        // If JS is enabled, we want to prevent the table from flashing
        // when the page is first loaded.
        Spry.$("dynamiccontent").style.display = "none";
      </script>
      <!-- your markup goes here -->
    </div>
    I hope this helps.
    Ben

  • Stop all sounds or unload SWFs in Spry Tabbed Pages

    Hello
    I am using the Dreamweaver Spry Tabbed pages for a project.
    On several of the tabbed pages I have flash content running in iFrames.
    If the user does not stop the movie before clicking on another tab the sound will continue and the movie will keep running in the background.
    How do I script the tabbed panel code to unload the swf content before going to another tab? And to reload the content when returning to pages with swf content again?
    Thank you on beforehand.
    ggaarde

    Hi Sudarshan
    Please go to:
    http://gggraphic.com/t-mobile/tab_flash_test/
    Tab 1 shows a flv by embedding the code right in the HTML
    Tab 2 just shows text: Content 2
    Tab 3 shows a flv imported from another HTML page in a iFrame
    None of the movies are set to autoplay - you have to click the arrow to start them.
    This is what I found:
    On the Mac:
    In Safari, Chrome and Firefox:
    When playing the movie in Tab 1 (embedded flash object) > start the movie > then click tab 2 = the movie readily stops as desired, and loads the text on tab 2.
    When playing the movie in Tab 3 (iFrame version)  > start the movie > then click tab 2 = the movie keeps playing, and the sound will continue.
    On the PC:
    In IE 8 (which is my main audience) It makes no difference if the flash content is embedded or iFramed in = when clicking tab 2 the movies continues playback no matter which one (tab 1 or tab 3) is playing.
    Chrome: (takes longer to load) Same as on the Mac = the embedded verion provides the desired function.
    Firefox: (takes longer to load) Surprise!  It does not matter is the Flash is embedded or iFramed in = When tab 2 is clicked the playback of either of the Flash versions stop.
    What I would like:
    Ideally I would love a fix for IE 8 that would allow stop playback of the iFrame version, since it offers many advantages over the embedded version.
    Can you help me?
    Thanks on beforehand.
    ggaarde
    The automatically generated standard Spry Assets are unchanged from your default.
    This is my code for the tabbed system:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <script src="../../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="../../Scripts/swfobject_modified.js" type="text/javascript"></script>
    <link href="../../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 3</li>
    </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">Flash Content - flash object embedded in code<br>
          <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="360">
            <param name="movie" value="TreeRemoval.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="../../Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="TreeRemoval.swf" width="640" height="360">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="6.0.65.0" />
              <param name="expressinstall" value="../../Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
        </div>
        <div class="TabbedPanelsContent">Content 2</div>
        <div class="TabbedPanelsContent">Content 3 - Flash content in iFrame <br>
        <iframe src="http://gggraphic.com/t-mobile/tab_flash_test/iFrame_source.html    " style="border:0px #FFFFFF none;" name="myiFrame" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="360px" width="640px"></iframe>
        </div>
    </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>

  • Loading a flex swf into a spry tab area

    I have a spry tabbed panel in one of the panels I am
    attempting to load an swf that I created using Flex builder. The
    swf runs fine when run standalone but from within the spry tab
    although it does load and run correctly I get a nasty error message
    in both Firefox and Explorer :
    Exception caught while loading
    /azek-landing-page/bin-release/azekLandingPage.html: [Exception...
    "Access to restricted URI denied" code: "1012" nsresult:
    "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location:
    "file:///C:/Sites/interstate/wwwroot/SpryAssets/SpryData.js Line:
    94"]
    I read somewhere that this has to do with Ajax and some cross
    domain issue, but at this point I'm not sure what to do.
    Any suggestions would be appreciated.
    Thanks

    Hi, You probably meant to post your thread in the Flash Forum or perhaps the Flex forum. I'm not sure, but this is the Flash Player Forum.
    http://forums.adobe.com/index.jspa  This gives the list of Forums.
    Thanks,
    eidnolb

Maybe you are looking for

  • ITunes no longer plays my MP3!

    Hey there! I recently reformatted my Windows machine which contains all my music. I tried playing an album I had ripped to MP3 and iTunes did not want to play it. I tried loading the file in Quicktime and I would get a "-2048: the file is not a movie

  • Cheque/Payment Voucher SAP script

    Hi experts, I'm developing a cheque on a preprinted stationary and the payment voucher/advice.I know for cheque,the standard SAP Script is F110_PRENUM_CHCK and it's print program is FFOUS_C.I need the cheque and the payment advice on two pages only.T

  • Current qtr end date

    Hi experts, My below qry is working fine with sysdate but when m passing a date it's throwing an error to get the current qtr end date.. select add_months(trunc('20-dec-2012','q'),3) - 1 from dualERROR ERROR at line 1: ORA-00932: inconsistent datatyp

  • OWSM File based Authentication

    Hi , We have the requirement to invoke the gateway protected webservice from the client. I have protected a webservice via OWSM Gateway.The webservice was devloped with the jdev RPC-ENC format and deployed on a Oracle AS. I tried testing the webservi

  • Mailman does not start up in 10.5.8

    I just upgraded my server to 10.5.8. When I started up the server again, the mailing lists did not start. The syslog tail is included. It complains that the Postfix mail system is not running. But a sudo postfix start complains that it is already run