Skip navigation
rjain1jain
Currently Being Moderated

App is loading each time

Mar 19, 2013 4:56 AM

Tags: #flash #flex #swf #actionscript

I have web application of flex. It's swf file is attached on a tabview. Means there are 5 tabs on the page. On the tab Five a swf file is attached.

 

<object id='xyzSwf' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab' height='200' width='400'>

                                                  <param name='src' value=''/>

                                                                      <param name='flashVars' value="" />

                                                            <embed name='xyzSwf' src='' pluginspage='http://www.adobe.com/go/getflashplayer' height='100%' width='100%' flashVars=""/>

                                                  </object>

 

Src value is set dynamically.

When I click on five tab it load the init method of main mxml file of flex application. Is there any way so we can stop to load it every time when we click on Five tab.

App.jpg

 
Replies
  • Currently Being Moderated
    Mar 19, 2013 4:59 AM   in reply to rjain1jain

    Are these tabs in HTML and going to a new HTML page when clicked?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 19, 2013 5:05 AM   in reply to rjain1jain

    I guess jquery is reloading/recreating the content each time. It's not a Flex issue, it's a JQuery one.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 19, 2013 5:51 AM   in reply to rjain1jain

    Sorry, I don't have time to solve your HTML issue. I think your tab handler is just recreating the content area every time and you don't want it to do that.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points