My RSL's won't be cached

My RSL's are loaded everytime I enter my site (.swz and .swf).
It is an HTTPS site, and I heard this will cause errors in combination with the use of RSL's.
Is that right? If so, is there an solution?
Or is it that something else can be the cause?
Btw, my caching options are not off, using framework 3.4 and implemented it in line with the rules...

I noticed it by using HttpWatch. The RSL's were downloaded every time.
But I have found the cause, that is the SDK compiled with. Used SDK: 3.4.0.6955.
Now I using 3.2, and that is working fine.
But still wondering, why is this SDK giving errors on using RSL's?
I spend to much time to find the problem, because I assumed the SDK is a stable one.

Similar Messages

  • Proxy server v4.0.9 not caching as expected

    I've 2 Web proxy server configured in reverse mode and in the same proxy array.
    I'm just doing basic testings and noticed a document is not cached by the proxy array, while I think it should.
    The proxy access log is as follows (nothing in the error log):
    192.168.101.245 - - [20/Apr/2009:15:20:23 +0100] "GET /at06_REDESIGN.css HTTP/1.1" p2c_hl:489 p2c_cl:27147 p2c_rc:200 r2p_hl:415 r2p_cl:27147 r2p_rc:200 c2p_hl:596 c2p_cl:- p2r_hl:671 p2r_cl:- DNS_time:5 p2r_cnx_time:0 p2r_init_wait:8 p2r_full_wait:18 Total_time(us):24000 c_fin_status:FIN r_fin_status:FIN cache_status:ABORTED
    I can't figure out why the the final cache status is always ABORTED while for other documents of the same kind (.js files for example), the proxy caches them.
    Here's the full HTTP request and answer, from the browser point of view, when I try to get the document from a non master member of the array:
    http://livecache002.front.dc2.mydomain.com:8080/at06_REDESIGN.css
    GET /at06_REDESIGN.css HTTP/1.1
    Host: livecache002.front.dc2.mydomain.com:8080
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
    Accept: text/css,*/*;q=0.1
    Accept-Language: en-gb
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://livecache002.front.dc2.mydomain.com:8080/QA/siteundermaintenance.html
    Cookie: s_lastvisit=1239889603182; CP=null*; JSESSIONID=864758F37F32BED06B37DD228F795F34; s_cc=true; SC_LINK=%5B%5BB%5D%5D; s_sq=%5B%5BB%5D%5D
    HTTP/1.x 200 OK
    Content-Length: 27147
    Content-Type: text/css
    Date: Mon, 20 Apr 2009 13:42:15 GMT
    Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a mod_jk/1.2.2
    Cache-Control: max-age=3600
    Expires: Mon, 20 Apr 2009 14:42:15 GMT
    Last-Modified: Fri, 03 Apr 2009 15:33:19 GMT
    Etag: "3b57f-6a0b-49d62c3f"
    Accept-Ranges: bytes
    Via: 1.1 proxy-cache2
    Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0
    Here's what I see if I access through the master proxy of the array, called livecache001 :
    http://livecache001.front.dc2.mydomain.com:8080/at06_REDESIGN.css
    GET /at06_REDESIGN.css HTTP/1.1
    Host: livecache001.front.dc2.mydomain.com:8080
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
    Accept: text/css,*/*;q=0.1
    Accept-Language: en-gb
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://livecache001.front.dc2.mydomain.com:8080/QA/siteundermaintenance.html
    Cookie: CP=null*; s_lastvisit=1239889603182; JSESSIONID=3E4EC776B5BA3ADF54FE05F87623034B; s_cc=true; SC_LINK=%5B%5BB%5D%5D; s_sq=%5B%5BB%5D%5D
    HTTP/1.x 200 OK
    Content-Length: 27147
    Content-Type: text/css
    Date: Mon, 20 Apr 2009 14:20:23 GMT
    Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a mod_jk/1.2.2
    Cache-Control: max-age=3600
    Expires: Mon, 20 Apr 2009 15:20:23 GMT
    Last-Modified: Fri, 03 Apr 2009 15:33:19 GMT
    Etag: "3b57f-6a0b-49d62c3f"
    Accept-Ranges: bytes
    Via: 1.1 proxy-cache2, 1.1 proxy-master
    Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0, Sun-Java-System-Web-Proxy-Server/4.0
    The master determines the document should be retrieved from the other proxy, but since that proxy doesn't
    cache the document, the master can't help in such a case.
    Here's what I see for a successfully cached document (retrieved from the master proxy in the array, by the non master proxy) :
    http://livecache002.front.dc2.mydomain.com:8080/common/browsing_func.js
    GET /common/browsing_func.js HTTP/1.1
    Host: livecache002.front.dc2.mydomain.com:8080
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
    Accept: */*
    Accept-Language: en-gb
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://livecache002.front.dc2.mydomain.com:8080/QA/siteundermaintenance.html
    Cookie: s_lastvisit=1239889603182; CP=null*; JSESSIONID=864758F37F32BED06B37DD228F795F34; s_cc=true; SC_LINK=%5B%5BB%5D%5D; s_sq=%5B%5BB%5D%5D
    HTTP/1.x 200 OK
    Content-Length: 8875
    Content-Type: application/x-javascript
    Date: Mon, 20 Apr 2009 13:42:15 GMT
    Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a mod_jk/1.2.2
    Cache-Control: max-age=3600
    Expires: Mon, 20 Apr 2009 14:42:15 GMT
    Last-Modified: Wed, 15 Oct 2008 11:00:17 GMT
    Etag: "31ff2-22ab-48f5cd41"
    Accept-Ranges: bytes
    Via: 1.1 proxy-master, 1.1 proxy-cache2
    Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0, Sun-Java-System-Web-Proxy-Server/4.0
    Basically, both proxies have exactly the same caching configuration: each possible must be cached, if possible, without low size limit.
    Any idea of what could be wrong ?

    Now that I have the error log level set to fine, I think I see the problem, which looks like a bug in the proxy:
    My (reverse) proxy server is in the "GMT+1" timezone. When it gets a document from the backend server,
    the header shows the document is valid for one our, but the proxy erroneously considers, according to its
    error log, that the document is expired, as shown in the following error log extract:
    [21/Apr/2009:14:36:33] fine (25681): CORE7205: document http://himalia.nlw.mydomain/structure_images/footerNavDivider.gif will not be cached, expired on Tue Apr 21 14:36:33 2009
    14h36 is my proxy server local time, so it's 13h36 GMT.
    Here're the headers in the request and answer:
    http://livecache001.front.dc2.mydomain:8080/structure_images/footerNavDivider.gif
    GET /structure_images/footerNavDivider.gif HTTP/1.1
    Host: livecache001.front.dc2.mydomain:8080
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-gb
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Cookie: CP=null*; s_lastvisit=1240319966219; rsi_ct=2009_4_20:1; rsi_segs=; JSESSIONID=13D24F4986FA8E67CC62E10F145103A5; s_sq=%5B%5BB%5D%5D; SC_LINK=%5B%5BB%5D%5D; s_cc=true
    If-Modified-Since: Wed, 18 Mar 2009 12:06:20 GMT
    If-None-Match: "2e551-2c-49c0e3bc"
    Cache-Control: max-age=0
    HTTP/1.x 304 Not Modified
    Date: Tue, 21 Apr 2009 13:36:33 GMT
    Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a mod_jk/1.2.2
    Etag: "2e551-2c-49c0e3bc"
    Expires: Tue, 21 Apr 2009 14:36:33 GMT
    Cache-Control: max-age=3600
    Via: 1.1 proxy-master
    Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0
    The proxy header states the document will expire at 14h36 GMT (so 15h36 local time), but its error log states the document
    won't be cached because it has already expired, while it's 14h36 local time .

  • Clear Cache

    Hi!
    I need help, i need clear the cache from my application
    It´s possible? how?
    Thanks!

    These hints from Amy Blankenship may be relevant:
    The browser has cached the response it got from the first call you made to the page. This means that you need to either change how you are calling the page so it appears to be a new request, or you need to change the page itself so that it won't be cached.
    To change how you are calling the page, append a unique value to the end of the
    URL. For example:
    new URLRequest('yourPage.asp?param="+(new Date()).getTime).
    If you want to change the page itself, you need to change the response headers. The method for changing the response headers will vary from language to language. For more on this see:
    http://msdn.microsoft.com/en-us/library/aa923184.aspx
    http://www.sun.com/books/components/Hall_ch7.pdf
    http://www.w3schools.com/php/func_http_header.asp
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_g-h_07.html#3989067

  • Caching Projection Queries

    Does Kodo cache projection queries? All my queries are caching properly,
    except for ones that use setResult(), and I'd like them to be cached also.
    Here's an example:
    PersistenceManager pm = getPM();
    extent = pm.getExtent(ConstellationRevenueDAO.class, false);
    query = (KodoQuery) pm.newQuery(extent);
    query.setResult("max(billingDate)");
    date = (Date) query.execute();
    The corresponding log entries show a cache miss every time. I've noticed
    that when the kodo.datacache.QueryKey has a "cacheable:false", it won't be
    cached:
    2004-12-10 16:04:49,160 DEBUG [kodo.DataCache] Query cache miss while
    looking up key "kodo.datacache.QueryKey@dafa335b[filter:[null],access
    path:null,subs:false,ordering:null,ignoreCache:false,startIndex:0,endIndex:0,timeout:-1,cacheable:false]".
    2004-12-10 16:04:49,160 DEBUG [kodo.Query] executing query: select
    max(billingDate) from
    com.stercomm.slp.biztier.persistence.stg.ConstellationRevenueDAO exclude
    subclasses
    2004-12-10 16:04:49,441 DEBUG [kodo.jdbc.SQL] <t 14300405, conn 30092753>
    [281 ms] executing prepstmnt 2954511 SELECT MAX(t0.BES1_BILLINGDATE) FROM
    DMMK01.CONSTELLATIONREVENUE t0
    2004-12-10 16:04:49,441 DEBUG [kodo.jdbc.JDBC] <t 14300405, conn 30092753>
    [0 ms] close
    2004-12-10 16:04:59,316 DEBUG [kodo.DataCache] Query cache miss while
    looking up key "kodo.datacache.QueryKey@dafa335b[filter:[null],access
    path:null,subs:false,ordering:null,ignoreCache:false,startIndex:0,endIndex:0,timeout:-1,cacheable:false]".
    2004-12-10 16:04:59,316 DEBUG [kodo.Query] executing query: select
    max(billingDate) from
    com.stercomm.slp.biztier.persistence.stg.ConstellationRevenueDAO exclude
    subclasses
    2004-12-10 16:04:59,597 DEBUG [kodo.jdbc.SQL] <t 14300405, conn 723185>
    [281 ms] executing prepstmnt 7871956 SELECT MAX(t0.BES1_BILLINGDATE) FROM
    DMMK01.CONSTELLATIONREVENUE t0
    2004-12-10 16:04:59,613 DEBUG [kodo.jdbc.JDBC] <t 14300405, conn 723185>
    [0 ms] close

    Eric-
    Unfortunately, queries that use aggregates, projections, or any
    custom result class are not cached. The next version of Kodo
    will mention this behavior in the documentation.
    In article <cpd3dv$m12$[email protected]>, Eric Long wrote:
    Does Kodo cache projection queries? All my queries are caching properly,
    except for ones that use setResult(), and I'd like them to be cached also.--
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Apache caching in jsp

    my first problem :
    is whenever i update/debug or simply add a new code to my .jsp file, i can't immediately see its output what i do get is an old page. for example, sample.jsp contains 2 submit buttons and then i deleted one button but when i run my sample.jsp page it still displays 2 submit.
    my theory:
    so far, i think it has something to do w/ the cache because when i restarted my apache, i can now see one button.
    my next problem:
    if that's the case, then all users of my site have to restart their apache and i think this totally defeats the purpose of my site in the first place. it will only make things more complicated.
    my plea:
    can somebody help me???
    thanks

    it is often necessary... The browser cache should be ignored by shift click/ shift reload, but if you are behind a firewall or proxy server that caches files, then no matter how hard you press the shift key, it won't tell the firewall cache to go to the server. I don't know that there is a caching firewall in this circumstance, but unless it's for a intranet that you really know about, you can't assume that people won't be hitting the site from the other side of a caching firewall. This would be totally transparent to the user (and his/her browser). Which is why if I have a JSP page or servlet (which nearly always has content I won't want cached) I include the no-cache headers to tell any cache to not store the file.
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("Expires", 0);
    between the 3 lines, it should take care of browser cache and proxy cache.

  • Problem loading external XML

    Hi, I"m having a problem with an Applet.
    I wrote a program that acceses an external XML file located on my webspace, but when I converted this program to run in a webbrowser I get console errors when trying to acces the file.
    Here's my code:
    package javaapplication;
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Canvas;
    import java.util.ArrayList;
    import javaapplication7.parsing.XmlParser;
    public class Main extends Applet {  
        protected Thread gameThread = null;
        private Canvas display_parent = null;
        private boolean running = false;
        private XmlParser parser = new XmlParser();
        public void destroy() {
            remove(display_parent);
            super.destroy();
            System.out.println("Clear Up");
        public void start() {
            gameThread = new Thread() {
                public void run() {
                    running = true;
                    System.out.println("Entering Gameloop");
                    gameLoop();
            gameThread.setDaemon(true);
            gameThread.start();
        public void stop() {
        public void init() {
            setLayout(new BorderLayout());
            try {
                display_parent = new Canvas() {
                    public final void removeNotify() {
                        super.removeNotify();
                display_parent.setIgnoreRepaint(true);
                display_parent.setSize(getWidth(),getHeight());
                add(display_parent);
                display_parent.setFocusable(true);
                display_parent.requestFocus();
                setVisible(true);
            catch(Exception e) {
                System.err.println(e);
                throw new RuntimeException("Unable to create display");
        private void gameLoop() {
            ArrayList <String> temp = null;
            while (running) {    
                temp = parser.SearchXml("http://users.telenet.be/decoy/FacebookApp/xml/BulletType.xml", "BulletList",2);
                for (int i=0;i<temp.size();++i) {
                    System.out.println(temp.get(i));
    }my html file :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
      <head>
        <title>AppletLoader</title>
      </head>
      <body>
      <applet code="javaaplication.Main" archive="JavaApplication7.jar" codebase="." width="800px" height="600px">
        <!-- The following tags are mandatory -->
        <!-- Name of Applet, will be used as name of directory it is saved in, and will uniquely identify it in cache -->
        <param name="al_title" value="appletloadertest">
        <!-- Main Applet Class -->
        <param name="al_main" value="javaapplication.Main">
        <!-- logo to paint while loading, will be centered -->
        <param name="al_logo" value="appletlogo.png">
        <!-- progressbar to paint while loading. Will be painted on top of logo, width clipped to percentage done -->
        <param name="al_progressbar" value="appletprogress.gif">
        <!-- List of Jars to add to classpath -->
        <param name="al_jars" value="JavaApplication7.jar">
        <!-- signed windows natives jar in a jar -->
        <param name="al_windows" value="lib/windows_natives.jar.lzma">
        <!-- signed linux natives jar in a jar -->
        <param name="al_linux" value="lib/linux_natives.jar.lzma">
        <!-- signed mac osx natives jar in a jar -->
        <param name="al_mac" value="lib/macosx_natives.jar.lzma">
        <!-- signed solaris natives jar in a jar -->
        <param name="al_solaris" value="lib/solaris_natives.jar.lzma">
        <!-- Tags under here are optional -->
        <!-- Version of Applet, important otherwise applet won't be cached, version change will update applet, must be int or float -->
        <!-- <param name="al_version" value="0.1"> -->
        <!-- background color to paint with, defaults to white -->
        <!-- <param name="al_bgcolor" value="000000"> -->
        <!-- foreground color to paint with, defaults to black -->
        <!-- <param name="al_fgcolor" value="ffffff"> -->
        <!-- error color to paint with, defaults to red -->
        <!-- <param name="al_errorcolor" value="ff0000"> -->
        <!-- whether to run in debug mode -->
        <!-- <param name="al_debug" value="true"> -->
        <!-- whether to prepend host to cache path - defaults to true -->
        <param name="al_prepend_host" value="false">
        <!-- main applet specific params -->
        <param name="test" value="test">
      </applet>
      <p>
        if <code>al_debug</code> is true the applet will load and extract resources with a delay, to be able to see the loader process.
      </p>
      </body>
    </html>console errors :
    network: Connecting http://users.telenet.be/decoy/FacebookApp/xml/BulletType.xml with proxy=DIRECT
    network: Connecting http://users.telenet.be/crossdomain.xml with proxy=DIRECT
    network: Connecting http://users.telenet.be:80/ with proxy=DIRECT
    network: Connecting http://users.telenet.be/crossdomain.xml with cookie "__utmz=226366239.1223468593.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); st8id_wlf_%2Etelenet%2Ebe_%2F=TE5HVExNX0ZMQVNI?81c37b0684bbf41f4c42c63db814f879; __utma=226366239.605535372.1223468593.1223556298.1224764225.3"
    network: Connecting http://www.zita.be/users_error/ with proxy=DIRECT
    network: Connecting http://www.zita.be:80/ with proxy=DIRECT
    java.security.PrivilegedActionException: java.io.FileNotFoundException: http://www.zita.be/users_error/
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
         at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
         at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at facebookgame.parsing.XmlParser.SearchXml(XmlParser.java:38)
         at facebookgame.entity.ShotEntity.<init>(ShotEntity.java:62)
         at facebookgame.InGameState.Enter(InGameState.java:75)
         at facebookgame.FacebookApp.changeToState(FacebookApp.java:258)
         at facebookgame.MenuState.CheckPlayerInput(MenuState.java:106)
         at facebookgame.MenuState.StateCycle(MenuState.java:139)
         at facebookgame.FacebookApp.gameLoop(FacebookApp.java:212)
         at facebookgame.FacebookApp.access$200(FacebookApp.java:17)
         at facebookgame.FacebookApp$1.run(FacebookApp.java:60)
    Caused by: java.io.FileNotFoundException: http://www.zita.be/users_error/
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at com.sun.deploy.net.CrossDomainXML$2.run(Unknown Source)
         ... 22 moreHopefully some1 can help me :).
    Edited by: Veko on Dec 7, 2008 2:51 PM

    But why is it possible then to succesfully acces the .xml file with a non-web applet
    This code reads the file perfectly of my webspace...
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.URL;
    public class XMLHandler {
         public static void SearchXml(){
            try{
                InputStream filesource = new URL("http://users.telenet.be/decoy/FacebookApp/xml/BulletType.xml").openStream();
                System.out.println("found input source");
                byte[] readIn = new byte[8];
                int bytesRead = filesource.read(readIn);
                OutputStream stream = System.out;
                while(bytesRead != -1){
                     stream.write(readIn);
                     bytesRead = filesource.read(readIn);
            } catch (Exception e){
                e.printStackTrace();
         public static void main(String[] args){
              SearchXml();
    }it returns the contents of the xml perfectly
    <?xml version="1.0"?>
    <bulletList>
    <bullet type="1">
         <speed>1.0f</speed>
         <size>O.65f</size>
         <damage>1</damage>
         <texture>"res/shot.png"</texture>
         <sound>"blah.ogg"</sound>
    </bullet>
    <bullet type="2">
         <speed>1.5f</speed>
         <size>O.65f</size>
         <damage>1</damage>
         <texture>"res/shot.png"</texture>
         <sound>"blah.ogg"</sound>
    </bullet>
    </bulletList>Does a applet in a browser have somekind of weird restriction that I haven't heard of yet ?
    Edited by: Veko on Dec 8, 2008 2:28 AM
    Edited by: Veko on Dec 8, 2008 2:29 AM
    Edited by: Veko on Dec 8, 2008 2:29 AM

  • Flex FAQ 9-22-08

    Q: I want to use an XML data source to dynamically display
    images and
    data in my Flex application. I won't know how many
    images/data points I
    will have at design time. How can I best approach this?
    A: Depending on what you're wanting to do, you can either use
    a
    Repeater with an Image or custom component that contains an
    Image or you can
    use a List based component to display an Image or custom
    component with an
    Image (or SwfLoader, or Loader) in it. The Help is full of
    resources on
    this subject. Here are some places you may want to try:
    Help>Flex Start Page>Creating a Simple RIA
    Help>Help Contents>User Interfaces
    - Using Data Providers and Collections
    - Controls
    - Image
    - SwfLoader
    - Using Data Driven Controls
    - Using Item Renderers and Item Editors
    - Dynamically Repeating Controls and Containers
    Here is an example that might get you running fast if you
    find it easier to
    learn from a working example than from Help files:
    http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html
    Q: I've created a custom itemRenderer component to use in a
    List
    based component (Datagrid, TileList, HorizontalList, etc.).
    When my List
    first displays, everything looks fine, but when I scroll it
    or change the
    dataProvider, some of the itemRenderers show values or
    formatting that
    aren't right. How do I fix this?
    A: List-based components don't draw a renderer for every item
    in the
    dataProvider. Instead, they create enough to display what is
    on screen now,
    plus one or two more waiting in the wings. This means they
    recycle the
    renderers rather than creating new ones when you change
    dataProvider or
    scroll up and down. When you use a creationComplete event to
    set up the
    itemRenderer, that event doesn't happen again when the
    renderer is used for
    a different set of data. The solution to this is to override
    the set data
    protected function that most components have.
    For more information, check out the following resources:
    http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html?devcon=f1
    http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
    Q: I want to run a function in my main application from
    inside my
    custom component. But when I try to refer to myFunction() in
    that
    component, I get a compile time error Call to a possibly
    undefined function
    myFunction. How can I fix this?
    A: Your component has its own scope, so it doesn't know
    anything
    about the functions in the main file. You can get around this
    by directly
    referencing the main application scope like this:
    Application.application.myFunction(). However, this makes
    your component
    tightly coupled, which is a quick way of saying that your
    component is only
    usable in an application that has a myFunction() function in
    it. You're
    better off dispatching an event from your component and
    letting the
    application decide how to handle it. For more information,
    check out the
    following resources:
    http://www.adobe.com/devnet/flex/articles/loose_coupling.html
    http://www.adobe.com/devnet/flex/articles/graduating_pt1.html
    Q: I want to decide at runtime what kind of component to add
    to
    display my data. How can I accomplish this?
    A: Use getDefinitionByName and ClassFactory to dynamically
    create
    your class. Just be sure that you actually have at least one
    "hard"
    reference to each class you intend to use, or the class might
    not get
    compiled into your swf. Here's a full write-up of how to do
    that:
    http://www.paulofierro.com/archives/520/
    Q: I need to set a property or add an event listener on a
    component
    that is in a ViewStack/TabNavigator/Accordion. When the
    component is not
    the first child of the Navigator Container, I get a null
    object error
    (#1009). What causes this, and how can I fix it?
    A: By default, the Navigator containers only create the
    children of
    each pane as that pane is viewed. The easy way to fix this is
    to set the
    creationPolicy on the Navigator to "all." However, this will
    cause your
    application to take longer to load. A better way to fix this
    is to wait for
    a later event, such as creationComplete on the component you
    want to access,
    or to use binding to "pull" the data into the component.
    The way I handle it is to call invalidateProperties() on
    change of the
    ViewStack. I then override commitProperties() and call an
    "initializer" for
    each pane. In the body of each initializer function, I check
    to see if the
    selectedItem for the viewStack is the one my initalizer cares
    about. If
    not, I return from the function immediately. Inside that
    initializer
    function, I set properties and add listeners as appropriate.
    Q: When my application is taller than the browser window, I
    get
    scrollbars in the application. I want the browser to do the
    scrolling. How
    can I do this?
    A: In the html-template/index.template.html file change line
    46 (in
    the Flex 3 template) to read <body scroll="auto">
    instead of the default of
    <body scroll="no">.
    Q: I am using URLRequest, HTTPRequest, or HTTPService to
    retrieve
    information from a database on a server. The first time my
    application
    makes a server call, it works fine. But when I call the same
    page again, I
    get the same data, even though I know the data has changed on
    the server.
    Is this a bug?
    A: The browser has cached the response it got from the first
    call
    you made to the page. This means that you need to either
    change how you are
    calling the page so it appears to be a new request, or you
    need to change
    the page itself so that it won't be cached.
    To change how you are calling the page, append a unique value
    to the end of
    the URL. For example, new
    URLRequest('yourPage.asp?param="+(new
    Date()).getTime).
    If you want to change the page itself, you need to change the
    response
    headers. The method for changing the response headers will
    vary from
    language to language. For more on this see:
    http://msdn.microsoft.com/en-us/library/aa923184.aspx
    http://www.sun.com/books/components/Hall_ch7.pdf
    http://www.w3schools.com/php/func_http_header.asp
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_g-h_07.html#3989067
    Q: I am using Modules in my Application. When I load the
    first
    Module, everything works fine. But when I load the second
    one, I get a Type
    Coercion Error failed error #1034 that looks something like
    TypeError: Error
    #1034: Type Coercion failed: cannot convert
    com.myDomain.package::SingletonClass@fce9a89 to
    com.myDomain.package::SingletonClass or TypeError: Error
    #1034: Type
    Coercion failed: cannot convert
    mx.managers::HistoryManagerImpl@22346589 to
    mx.managers.IHistoryManager. How do I fix this?
    A: When you reference a singleton class, either a custom
    singleton
    or one of the managers in Flex, into a Module, if this is not
    loaded in the
    Application domain, it will load into the child domain of the
    first Module
    to load and other Modules will not be able to see it. To
    prevent this,
    either directly load your class into the main Application
    before loading any
    Module, or use a Runtime Shared Library with the class
    included.
    For more on this, see Alex Harui's presentation on Modules
    from Flex 360
    http://blogs.adobe.com/aharui/2007/03/modules.html
    (slides 19, 24-31).
    Not sure what a Singleton is? Check out
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=262&produc tId=2
    Q: I'm using a Repeater to lay out the right number of
    components on
    the screen for me based on a data source. I'm trying to set
    up the id for
    each component dynamically like this:
    <mx:Repeater id="myRepeater" dataProvider="mySource">
    <mx:Button id="{'myButton'+myRepeater.currentIndex}"
    label="{myRepeater.currentItem.label}" />
    </mx:Repeater>
    When I try to run the file, I get a compiler error
    '{'myButton'+myRepeater.currentIndex}' is not a valid
    identifier.
    I need to be able to reference each of the repeated
    components. How can I
    do this?
    A: If you give the component an ordinary id like this:
    <mx:Button id="myButton"
    label="{myRepeater.currentItem.label}" />
    Flex will create an Array for you called myButton that
    contains a reference
    to each component the repeater created. For more information,
    see
    Referencing Repeated Components here:
    http://livedocs.adobe.com/flex/3/html/help.html?content=repeater_3.html
    Courtesy of Amy's Flex Diary.
    The most recent version of this FAQ can always be found at
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

    "Greg Lafrance" <[email protected]> wrote in
    message
    news:gbr2r8$qtv$[email protected]..
    > Is it possible to number the questions? Sometimes in
    your posts you refer
    > to Q3, but they are not numbered.
    Good point :-). I get tired of counting them sometimes. I'll
    try to get
    that done before next week.

  • Flex FAQ

    Q: I want to use an XML data source to dynamically display
    images and
    data in my Flex application. I won't know how many
    images/data points I
    will have at design time. How can I best approach this?
    A: Depending on what you're wanting to do, you can either use
    a
    Repeater with an Image or custom component that contains an
    Image or you can
    use a List based component to display an Image or custom
    component with an
    Image (or SwfLoader, or Loader) in it. The Help is full of
    resources on
    this subject. Here are some places you may want to try:
    Help>Flex Start Page>Creating a Simple RIA
    Help>Help Contents>User Interfaces
    - Using Data Providers and Collections
    - Controls
    - Image
    - SwfLoader
    - Using Data Driven Controls
    - Using Item Renderers and Item Editors
    - Dynamically Repeating Controls and Containers
    Here is an example that might get you running fast if you
    find it easier to
    learn from a working example than from Help files:
    http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html
    Q: I've created a custom itemRenderer component to use in a
    List
    based component (Datagrid, TileList, HorizontalList, etc.).
    When my List
    first displays, everything looks fine, but when I scroll it
    or change the
    dataProvider, some of the itemRenderers show values or
    formatting that
    aren't right. How do I fix this?
    A: List-based components don't draw a renderer for every item
    in the
    dataProvider. Instead, they create enough to display what is
    on screen now,
    plus one or two more waiting in the wings. This means they
    recycle the
    renderers rather than creating new ones when you change
    dataProvider or
    scroll up and down. When you use a creationComplete event to
    set up the
    itemRenderer, that event doesn't happen again when the
    renderer is used for
    a different set of data. The solution to this is to override
    the set data
    protected function that most components have.
    For more information, check out the following resources:
    http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html?devcon=f1
    http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
    Q: I want to run a function in my main application from
    inside my
    custom component. But when I try to refer to myFunction() in
    that
    component, I get a compile time error "Call to a possibly
    undefined function
    myFunction." How can I fix this?
    A: Your component has its own scope, so it doesn't know
    anything
    about the functions in the main file. You can get around this
    by directly
    referencing the main application scope like this:
    Application.application.myFunction(). However, this makes
    your component
    tightly coupled, which is a quick way of saying that your
    component is only
    usable in an application that has a myFunction() function in
    it. You're
    better off dispatching an event from your component and
    letting the
    application decide how to handle it. For more information,
    check out the
    following resources:
    http://www.adobe.com/devnet/flex/articles/loose_coupling.html
    http://www.adobe.com/devnet/flex/articles/graduating_pt1.html
    Q: I want to decide at runtime what kind of component to add
    to
    display my data. How can I accomplish this?
    A: Use getDefinitionByName and ClassFactory to dynamically
    create
    your class. Just be sure that you actually have at least one
    "hard"
    reference to each class you intend to use, or the class might
    not get
    compiled into your swf. Here's a full write-up of how to do
    that:
    http://www.paulofierro.com/archives/520/
    Q: I need to set a property or add an event listener on a
    component
    that is in a ViewStack/TabNavigator/Accordion. When the
    component is not
    the first child of the Navigator Container, I get a null
    object error
    (#1009). What causes this, and how can I fix it?
    A: By default, the Navigator containers only create the
    children of
    each pane as that pane is viewed. The easy way to fix this is
    to set the
    creationPolicy on the Navigator to "all." However, this will
    cause your
    application to take longer to load. A better way to fix this
    is to wait for
    a later event, such as creationComplete on the component you
    want to access,
    or to use binding to "pull" the data into the component.
    The way I handle it is to call invalidateProperties() on
    change of the
    ViewStack. I then override commitProperties() and call an
    "initializer" for
    each pane. In the body of each initializer function, I check
    to see if the
    selectedItem for the viewStack is the one my initalizer cares
    about. If
    not, I return from the function immediately. Inside that
    initializer
    function, I set properties and add listeners as appropriate.
    Q: When my application is taller than the browser window, I
    get
    scrollbars in the application. I want the browser to do the
    scrolling. How
    can I do this?
    A: In the html-template/index.template.html file change line
    46 (in
    the Flex 3 template) to read <body scroll="auto">
    instead of the default of
    <body scroll="no">.
    Q: I am using URLRequest, HTTPRequest, or HTTPService to
    retrieve
    information from a database on a server. The first time my
    application
    makes a server call, it works fine. But when I call the same
    page again, I
    get the same data, even though I know the data has changed on
    the server.
    Is this a bug?
    A: The browser has cached the response it got from the first
    call
    you made to the page. This means that you need to either
    change how you are
    calling the page so it appears to be a new request, or you
    need to change
    the page itself so that it won't be cached.
    To change how you are calling the page, append a unique value
    to the end of
    the URL. For example, new
    URLRequest('yourPage.asp?param="+(new
    Date()).getTime).
    If you want to change the page itself, you need to change the
    response
    headers. The method for changing the response headers will
    vary from
    language to language. For more on this see:
    http://msdn.microsoft.com/en-us/library/aa923184.aspx
    http://www.sun.com/books/components/Hall_ch7.pdf
    http://www.w3schools.com/php/func_http_header.asp
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_g-h_07.html#3989067
    Courtesy of Amy's Flex Diary (
    http://flexdiary.blogspot.com)
    You can always find the most recent version of this document
    here:
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

    "danger42" <[email protected]> wrote in
    message
    news:gamils$eb2$[email protected]..
    > Cool, thanks for posting this, Amy!
    You're welcome :-)

  • Flex FAQ 9-29-08

    Amy's Flex Frequently Asked Questions
    Q: I want to use an XML data source to dynamically display
    images and
    data in my Flex application. I won't know how many
    images/data points I
    will have at design time. How can I best approach this?
    A: Depending on what you're wanting to do, you can either use
    a
    Repeater with an Image or custom component that contains an
    Image or you can
    use a List based component to display an Image or custom
    component with an
    Image (or SwfLoader, or Loader) in it. The Help is full of
    resources on
    this subject. Here are some places you may want to try:
    Help>Flex Start Page>Creating a Simple RIA
    Help>Help Contents>User Interfaces
    - Using Data Providers and Collections
    - Controls
    - Image
    - SwfLoader
    - Using Data Driven Controls
    - Using Item Renderers and Item Editors
    - Dynamically Repeating Controls and Containers
    Here is an example that might get you running fast if you
    find it easier to
    learn from a working example than from Help files:
    http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html
    Q: I've created a custom itemRenderer component to use in a
    List
    based component (Datagrid, TileList, HorizontalList, etc.).
    When my List
    first displays, everything looks fine, but when I scroll it
    or change the
    dataProvider, some of the itemRenderers show values or
    formatting that
    aren't right. How do I fix this?
    A: List-based components don't draw a renderer for every item
    in the
    dataProvider. Instead, they create enough to display what is
    on screen now,
    plus one or two more waiting in the wings. This means they
    recycle the
    renderers rather than creating new ones when you change
    dataProvider or
    scroll up and down. When you use a creationComplete event to
    set up the
    itemRenderer, that event doesn't happen again when the
    renderer is used for
    a different set of data. The solution to this is to override
    the set data
    protected function that most components have.
    For more information, check out the following resources:
    http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html?devcon=f1
    http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
    Q: I want to run a function in my main application from
    inside my
    custom component. But when I try to refer to myFunction() in
    that
    component, I get a compile time error Call to a possibly
    undefined function
    myFunction. How can I fix this?
    A: Your component has its own scope, so it doesn't know
    anything
    about the functions in the main file. You can get around this
    by directly
    referencing the main application scope like this:
    Application.application.myFunction(). However, this makes
    your component
    tightly coupled, which is a quick way of saying that your
    component is only
    usable in an application that has a myFunction() function in
    it. You're
    better off dispatching an event from your component and
    letting the
    application decide how to handle it. For more information,
    check out the
    following resources:
    http://www.adobe.com/devnet/flex/articles/loose_coupling.html
    http://www.adobe.com/devnet/flex/articles/graduating_pt1.html
    Q: I want to decide at runtime what kind of component to add
    to
    display my data. How can I accomplish this?
    A: Use getDefinitionByName and ClassFactory to dynamically
    create
    your class. Just be sure that you actually have at least one
    "hard"
    reference to each class you intend to use, or the class might
    not get
    compiled into your swf. Here's a full write-up of how to do
    that:
    http://www.paulofierro.com/archives/520/
    Q: I need to set a property or add an event listener on a
    component
    that is in a ViewStack/TabNavigator/Accordion. When the
    component is not
    the first child of the Navigator Container, I get a null
    object error
    (#1009). What causes this, and how can I fix it?
    A: By default, the Navigator containers only create the
    children of
    each pane as that pane is viewed. The easy way to fix this is
    to set the
    creationPolicy on the Navigator to "all." However, this will
    cause your
    application to take longer to load. A better way to fix this
    is to wait for
    a later event, such as creationComplete on the component you
    want to access,
    or to use binding to "pull" the data into the component.
    The way I handle it is to call invalidateProperties() on
    change of the
    ViewStack. I then override commitProperties() and call an
    "initializer" for
    each pane. In the body of each initializer function, I check
    to see if the
    selectedItem for the viewStack is the one my initalizer cares
    about. If
    not, I return from the function immediately. Inside that
    initializer
    function, I set properties and add listeners as appropriate.
    Q: When my application is taller than the browser window, I
    get
    scrollbars in the application. I want the browser to do the
    scrolling. How
    can I do this?
    A: In the html-template/index.template.html file change line
    46 (in
    the Flex 3 template) to read <body scroll="auto">
    instead of the default of
    <body scroll="no">.
    Q: I am using URLRequest, HTTPRequest, or HTTPService to
    retrieve
    information from a database on a server. The first time my
    application
    makes a server call, it works fine. But when I call the same
    page again, I
    get the same data, even though I know the data has changed on
    the server.
    Is this a bug?
    A: The browser has cached the response it got from the first
    call
    you made to the page. This means that you need to either
    change how you are
    calling the page so it appears to be a new request, or you
    need to change
    the page itself so that it won't be cached.
    To change how you are calling the page, append a unique value
    to the end of
    the URL. For example, new
    URLRequest('yourPage.asp?param="+(new
    Date()).getTime).
    If you want to change the page itself, you need to change the
    response
    headers. The method for changing the response headers will
    vary from
    language to language. For more on this see:
    http://msdn.microsoft.com/en-us/library/aa923184.aspx
    http://www.sun.com/books/components/Hall_ch7.pdf
    http://www.w3schools.com/php/func_http_header.asp
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_g-h_07.html#3989067
    Q: I am using Modules in my Application. When I load the
    first
    Module, everything works fine. But when I load the second
    one, I get a Type
    Coercion Error failed error #1034 that looks something like
    TypeError: Error
    #1034: Type Coercion failed: cannot convert
    com.myDomain.package::SingletonClass@fce9a89 to
    com.myDomain.package::SingletonClass or TypeError: Error
    #1034: Type
    Coercion failed: cannot convert
    mx.managers::HistoryManagerImpl@22346589 to
    mx.managers.IHistoryManager. How do I fix this?
    A: When you reference a singleton class, either a custom
    singleton
    or one of the managers in Flex, into a Module, if this is not
    loaded in the
    Application domain, it will load into the child domain of the
    first Module
    to load and other Modules will not be able to see it. To
    prevent this,
    either directly load your class into the main Application
    before loading any
    Module, or use a Runtime Shared Library with the class
    included.
    For more on this, see Alex Harui's presentation on Modules
    from Flex 360
    http://blogs.adobe.com/aharui/2007/03/modules.html
    (slides 19, 24-31).
    Not sure what a Singleton is? Check out
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=262&produc tId=2
    Q: I'm using a Repeater to lay out the right number of
    components on
    the screen for me based on a data source. I'm trying to set
    up the id for
    each component dynamically like this:
    <mx:Repeater id="myRepeater" dataProvider="mySource">
    <mx:Button id="{'myButton'+myRepeater.currentIndex}"
    label="{myRepeater.currentItem.label}" />
    </mx:Repeater>
    When I try to run the file, I get a compiler error
    '{'myButton'+myRepeater.currentIndex}' is not a valid
    identifier.
    I need to be able to reference each of the repeated
    components. How can I
    do this?
    A: If you give the component an ordinary id like this:
    <mx:Button id="myButton"
    label="{myRepeater.currentItem.label}" />
    Flex will create an Array for you called myButton that
    contains a reference
    to each component the repeater created. For more information,
    see
    Referencing Repeated Components here:
    http://livedocs.adobe.com/flex/3/html/help.html?content=repeater_3.html
    Courtesy of Amy's Flex Diary (
    http://flexdiary.blogspot.com).
    The most recent version of this FAQ can always be found at
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

    "Greg Lafrance" <[email protected]> wrote in
    message
    news:gbr2r8$qtv$[email protected]..
    > Is it possible to number the questions? Sometimes in
    your posts you refer
    > to Q3, but they are not numbered.
    Good point :-). I get tired of counting them sometimes. I'll
    try to get
    that done before next week.

  • Problem with WebStart & applicaton parameters or properties..

    Ok. I have a WebStart application which is supposed to be launched from a website only (not offline-allowed - even though you seem to be able to launch it offline! grr) and the application needs to take TWO parameters from the website. I am currently using Properties to accomplish this. The website (using Enhydra) dynamically generates a .jnlp file that specifies the correct properties. I can confirm this by DOWNLOADING the .jnlp file and viewing it in notepad. However, when WebStart actually runs this, it's caching the very first JNLP my app was ever launched with, and using THOSE parameters. My question is.... WHY AND HOW DO I MAKE IT STOP. ^_^ This is just another twist in my way-too-complicated-and-painful quest to simply pass some parameters to my application. (another other suggestions on how to simply pass two strings are also appreciated.)
    Thanks,
    -xanatos

    Hi,
    the short answer is leave jnlp.href empty and Web Start won't reload/cache you startup file.
    For more details check out the Unofficial JNLP/Web Start FAQ at http://www.geocities.com/vamp201/jwsfaq.html
    - Gerald

  • Test button not enabled in Display Template...

    Hi,
    I created a query template then created a display template using that query. If i want to test that output then the Test button is not getting enabled. But if i use dynamic page generator or applet its working I am able to see the graph. Also Test button working in query template, only thing its not enable in Display Template.
    Thanks in Advance,
    Murugappan.

    Another method of quickly seeing changes to a display template is to use the <i>Dynamic Page Generator</i> accessed via the main xMII Menu under Visualisation Services > Dynamic Page Generator.
    Once there, pick the Query Template you are going to use from the top pair of applets, and use the bottom pair to select the Display Template you wish to "preview". Make sure that the Query Template is configured with default parameter values (i.e. that it returns good data when pressing "Test" immediately after opening it in the Query Template editor).
    Then, press the <i>Generate Image</i> button to have xMII run the query, pass the results to the selected Display Template and render the result as an image. Because the image name is random, it won't be cached by your browser, and you will be able to see changes to Display Templates without clearing your browser cache/restarting your browser.

  • FIOS and Dynamic DNS

    I'm thinking about switching from Verizon DSL to FIOS, but I have a few concerns.
    Right now I am able to directly connect form my linux-based router to the DSL modem via PPPoE.  If for some resaon the PPP link drops the router just re-establishes it, and it always knows my outside IP.  It can also update my multiple dyanamic DNS addresses automatically when this happens.  My DSL IP address seems to change only when I shut down my router - it lasts weeks at a time.
    With FIOS it sounds like you are forced to use NAT with the supplied router.  I can go ahead and disable wireless on it, and then just set up my own router to use a static IP and put it in the DMZ to get as close to a bypass as I can.  However, if my outside IP changes my internal router isn't going to know about it, and won't be able to update my dynamic DNS/etc.  It looks like the FIOS routers will update dynamic DNS addresses, but I'm not sure if they support namecheap, and I also don't know if they support updating more than one dynamic DNS service when my IP changes.
    It also sounds like they cut the copper connection, so if it doesn't work out right it will be very hard to go back to DSL.
    Does anybody know:
    1.  Will the supplied router update more than one dynamic DNS service automatically?
    2.  Will the supplied router update a namecheap hosted dynamic DNS record? 
    3.  When updating a namecheap DNS record will it only touch the A record and not mess with all my other DNS settings?
    4.  Can I somehow configure the router to provide my external IP to a single internal computer via DHCP (ie router gets an address from verizon, and then the router offers that address to my own router)?  Obviously this won't work with more than one computer on the router.
    5.  Can I alternatively connect to the verizon-provided router using PPPoE or a similar protocol to just get my external IP directly tunneled through the router?
    6.  Does a FIOS TV standard definition tuner box require a network connection? 
    7.  What happens if the tuner it isn't connected to the network?  I won't be using any kind of interactive services anyway since the tuners will just be connected to my DVR.
    8.  Does the network connection have to be on the same subnet as the verizon-provided router, or is it sufficient that it be able to reach that router or the internet via NAT (there would be a NAT layer between my internal network and the verizon-powered router)?
    9.  If this stuff doesn't end up working right, can I just pull the plug on FIOS and go back to Verizon DSL and POTS?
    In case it isn't clear, here is how I envision the network looking:
    Verizon - Verizon Router - NAT with My Router in the DMZ - My Router - NAT - My internal network
    I guess if I get really desperate I could try to find a tunnel broker of some kind - not sure if anybody does that for IPv4 the way it is done for IPv6.  That would allow me to get my external IP through the NAT and potentially give me a static one as well...
    I REALLY don't want to pay an extra $50 for a static IP.  I'd probably just stick with the DSL if it came to that even though it is actually more expensive than switching (for dynamic service) and it is a lot slower...
    Solved!
    Go to Solution.

    Hmm - that idea might not actually work out all that well.  It might or might not work at all, but one thing that it would probably do is make it impossible to access the router's web interface (since the router wouldn't have an IP address of its own on any of the ports).  So, if it did work it would be a once-and-done configuration and then I'd need to reset it to do anything else with it.  This would also make it impossible to attach set-top-boxes directly to the actiontec router, but then again they'd be only one NAT layer away from verizon if I attached them to my home network.
    I suspect I might be better off with the DMZ approach and just living with a single dynamic dns entry.  The main reason I use more than one of those is so that if my IP address changes I don't have to wait for the DNS TTL to run out to find out what the new IP is - I can just wait a few minutes to be safe and resolve one of my other dynamic addresses which won't be cached anywhere so it will get the fresh entry. 
    I guess my other option is to fire up nslookup and point it directly at the appropriate DNS server so that I"m not seeing a cached response.
    I've heard mixed reports on how often the FIOS IPs change anyway.  If they only change once in a blue moon I'm not terribly concerned about this stuff. 
    (Why can't everybody just switch to IPv6 and end all this NAT nonsense anyway...?) 

  • Portable hard drive dilemma

    Western Digital does not commit to the speed of it's new portable, my passport studio external drive (640 MB) with LED read out. I've looked everywhere including their site. They say it's fast and firewire 800 won't hit it's top transfer speed. Won't say cache either etc. Something to that effect. Anyways, I'm getting a macbook pro i7 with a 7200 rpm HD (500GB). I want a portable external HD for it. Which is faster? This WD model or the g-tech mini, 500gb, 7200 rpm? Is 500 gb enough just to do time machine or a 'Super Duper' bootable back up? Suggestions please.

    So would this g-tech one I mention be a good choice
    I've had good luck with my G-Tech drive. Works very nicely.
    I will have a 500 gb HD on the laptop or do I need more gb's to do a full back up whether with time machine or a bootable back up with super duper?
    Time Machine needs about 2-3 times more space on the backup drive than what you are backing up. If you've got a mostly full 500 GB hard drive in the laptop, you'd need at least 1 TB for a TM backup drive. OTOH, if you're only using 250 GB or less on the laptop, and don't plan for that to grow significantly, the 500 GB drive would be enough.
    To make a bootable clone, you only need as much space as is in use. Having more is pointless, as it would remain unused, unless SuperDuper can do bootable incremental backups. I don't use SuperDuper, and I've never tried to combine bootable and incremental in my backups with Carbon Copy Cloner (I personally do not believe that bootable backups are all that important, especially if you have a Time Machine backup of the entire system, but I do believe in keeping multiple backups made with multiple backup programs).

  • Oulook 2007 Shared Mailbox keeps crashing when searching an e-mail/item

    Hi Colleagues,
    Need your expert help about my shared mailbox, It keeps crashing when Im trying to search back e-mails and it's getting a hard time connecting to exchange as well. We're using OST files and not PST by the way.
    I tried to update or fix Index with outlook but seems does not help at all. Any suggestion? Thanks in advance. :)
    Cklyde

    When you say it's crashing, what is actually happening? Is Outlook actually crashing so the app closes, or it is simply going unresponsive and giving a message saying that it's not responding? If it's the latter case then that doesn't necessarily tell you
    it's crashed, simply that it's busy, so if you leave it and let it finish it will eventually respond again.
    When you say this is a shared mailbox, is it the only mailbox you have setup in Outlook, or it is setup as an additional mailbox, eg in addition to your own mailbox? If it's an additional mailbox then keep in mind that it won't be cached in your local .ost
    file. In Outlook 2007 it can only cache the main mailbox, not additional mailboxes, only 2010+ caches additional mailboxes. Is the exchange server on the local network, or is it remote? If it's remote than that could be the issue, since when doing the search
    Outlook will have to connect to Exchange and search the email there rather than locally, and that will take a lot longer than searching from the local cached copy.

  • Flash profiling of memory after clearing cache of home-made rsl files

    I have a question about the flash memory profiling tools.
    Once I have completely loaded a swf file into my browser, complete with multiple home-made gigantic RSLs (not flex swzs), the memory footprint of my application is small; I have not instantiated any of the objects in the RSL files.  However, as stated earlier, the RSLs are very big files; full of embedded assets.
    If I clear my browser cache, those gigantic RSL files are deleted.
    Then, when I use my flash app to create objects from the RSL, flash profiler shows my memory footprint increase.  That makes sense; I just made some large objects.
    But from where did flash load those objects? 
    I deleted the RSL files.
    The flash profiler showed I was using hardly any memory, suggesting that the class files were not loaded into memory already.
    Are the files kept in a secondary file cache?  Is there a second memory cache?  Can I profile its size?

    1. No. and the main footprint of a bitmap is probably is per-instance so the instance cost is probably what you're interested in.  Anything embedded is also a class and the first time you access the class the Class category should go up by a bit.
    2.  When your app requires an RSL, the SWF for the RSL is loaded into memory (in a buffer you can't see from the profiler), expanded and parsed (into even more memory that you can't see from the profiler).  Then as you access classes from the RSL, the profiler should show growth in the Class, Object and Function.  If you statically link just the code you need, the amount of memory to load the SWF and parse it will be smaller since it doesn't need space for classes you won't need, but after that it is the same.  The advantage of the RSL is that most folks end up using 200K or more from the RSLs so that's a download cost you pay the first time you run the app.  The Flex RSLs are pretty well deployed so your chances of having savings is pretty good.  Private RSLs for your app will do no good unless there is another app on the same domain that uses the RSLs.  See the modules presentation on my blog for more info
    3.  The profiler does not show System.totalMemory.  Even that number isn't the whole measure.  We're currently fans of PrivateBytes to measure total weight of the app.  But it depends on what problem you're trying to solve.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

Maybe you are looking for

  • Tnsnames.ora file does not seem to load in SQL Developer

    I've really tried my best to figure this out on my own ... through the Help, this forum, and Internet in general. I apoligize in advance for having to ask this, since I'm sure this is a common issue. This particular form entry was really close: Datab

  • Dynamic where clause: Urgent

    Hi, I am facing a problem with data retrieval in a BADI with dynamic where clause. I have a variable defined as: data: lv_where_condn    TYPE string. I concatenate the data in the string based on the user's input and perform the following select:   

  • Adobe Audition 3.0 Microsoft C++ runtime library error

    I need help with this error I've successfully installed Audition 3.0 on my computer and unfortunately, whenever I try to open the program, an error appears which says there is a Microsoft C++ Runtime library error. Can you help me this?

  • Question about FTP class

    Hi, I'm new in java and i use an ftp class tha someone else has developped. I just want to know if it's possible to chek if a known file exists on the ftp server (before download or upload a new one with the same name) Tanks a lot in advance

  • Turn off Auto Play of .FLV

    I need my encoded .swf (.flv) file to not autoplay on the website. I want the user to have to click a button to start the video, if they choose to watch it. Is there a setting I can select to turn off the autoplay? I have a third party encoder and th