ActionScript 3.0 :: FlexBuilder - Disable Caching In Debug - Mode?

Jul 9, 2009

SWF caching has bit me quite a few times now. I want to debug in the browser because that's where the swf will run. But Firefox sometimes caches local files incorrectly, thinking that it has the latest version when it doesn't. This can cause a huge headache with debugging, causing me to wonder why something doesn't work no matter what I do.

The workaround I use is to create a custom html file in bin-debug that loads the swf with a random string appended so Firefox never caches it. This works fine, but every time I start a new project, I need to remember to do this.

View 3 Replies


Similar Posts:


IDE :: Debug Mode No Longer Providing Debug Info?

Dec 21, 2009

When I first downloaded Flash CS3 Professional, I was able to enter an exceedingly useful debug mode by compiling using ctrl+shift+enter instead of ctrl+enter. I could toggle break points, step in, step over and view values stored in variables at a whim.

I must have accidentally toggled some option somewhere, because this interface no longer shows up. Instead, the only extra interface I get is the output menu with the following text "Attemping to launch and connect to Player using URL <file path> [SWF] <file path> - 71984 bytes after decompression" and while the swf does halt if the as3 code reaches a break point, it doesn't tell me which break point nor give me any options to progress the flow (not even through the pull down menu I have to utilize in order to end the so called debug session).

View 2 Replies

Actionscript 3 :: Logging IN Flex Running Flash Player In Normal Mode (not In Debug Mode)?

Aug 8, 2011

I have a set of users who run my application in non debug mode. Off late they have been reporting lot of issues. But I am not able to debug as there is no log file.Is it possuible in flex 3 to do logging in a file without running in debug version. I understand trace only works if we run application in debug version.

View 1 Replies

Anyway To Debug Fullscreen Mode?

Jul 21, 2011

Is there any way to debug fullscreen mode? I Ctrl+enter and I see the swf but the fullscreen button never works, like when I forgot the allowFullScreen param in my HTML code.Do I have to add some parameter to the CS5 properties?

View 1 Replies

Flex :: Flash - Debug Mode Disparities?

Jun 3, 2009

I have this very strange problem on a big flex app where it would run fine with the debug swf if the user has debug flash installed but will have some disparities for people with standard version of flash.These disparities include:No pop upsloose all event catchingWeird positioning of a buttonI read somewhere that updatedisplaylist was handled differently ?For now i will try the export release way instead of the bin-debug swf, and to go back in the commits to see what was the turning point.

View 1 Replies

Disable Flash Caching?

Dec 24, 2010

I have a flash application and I want my users not to be able to do caching in their flash players.I couldn't find the code that disables the option of caching for them.Does anyone have the line I need to add (and where) which will disable the flash caching?

View 1 Replies

CS3 Poor Image Quality In Debug / Test Mode

Jul 22, 2010

I've had no such problem like this until today. Basically when i try and drag an object from photoshop to the stage in flash, everything looks great on the stage and usualy everything looks fine in the test / debug mode. But suddenly i've come up against a very anoying problem. Everything looks great on the stage, but as soon as I go to test the movie, the image quality of whatever it is I have imported goes terrible. Like its been compressed to less than 10kb!The image looks fine on the stage but the problem accurs when I try to test to movie.I have tried importing different size images, not transforming the images in flash, making sure all the settings (I know of) are on high.

View 2 Replies

As3 :: Flash - How To Disable Image Caching

Aug 12, 2011

I have a web application developped using as3. The problem is that these application loads some image files, and add my watermark to them.What is happening is that these images are being cached by the browser, allowing the users who know how to access the tmp folder, to get these files, without my watermark.Adding the watermark previously to the image, is not an alternative for me, due the fact that when the a premium user is logged in the watermark is not added.How can I disable the caching?

View 3 Replies

Javascript :: Disable IE9 Browser Caching?

Oct 3, 2011

I have a Flash application that sends a getURL request for an image file every 60 seconds.

This works fine in all browsers except IE9 with Internet Option set to automatically check for newer versions of stored pages. I setup Charles proxy (http://xk72.com) to watch the requests being sent by my flash app and confirmed that the request is being surpressed by IE9 when the setting is set to Auto, but works fine if I change the setting to check everytime I visit the webpage. This, however, is not an option! I need this to work in all browsers regardless of how the options are set.

Even if I do a page refresh (F5), the ASP page does not reload. The only way to get it to reload is close the browser and restart it.

I have tried adding content headers to disable caching but it does not appear to work.

For Example, here is my request headers:

HTTP/1.1 200 OK
Date Sun, 02 Oct 2011 23:58:31 GMT
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
Expires Tue, 09 Nov 2010 14:59:39 GMT
Cache-control no-cache
max-age 0
Content-Length 9691
Content-Type text/html
Set-Cookie ASPSESSIONIDACQBSACA=ECJPCLHADMFBDLCBHLJFPBPH; path=/
Cache-control private


I have read the Microsoft blog (http://blogs.msdn.com/b/ie/archive/2010/07/14/caching-improvements-in-internet-explorer-9.aspx) which states that if I add the content headers, the browser should respect my request, but it obviously does not.

I don't think this is a Flash issue since the html page that holds the Flash object will not even reload.

View 1 Replies

Actionscript 3 :: MouseWheel Trace Works In Debug Mode, Not Test?

Jul 17, 2010

Here is my code in its entirety. It won't trace when I Test Movie, but when I debug, it works fine.

import flash.events.*;
function scrollWheelHandler(e:MouseEvent){
trace(e.delta);
}
stage.addEventListener(MouseEvent.MOUSE_WHEEL, scrollWheelHandler);

I hate flash. This is in a new project btw. wtf is going on?

View 2 Replies

Javascript :: Disable Caching YouTube Videos?

Oct 1, 2010

YouTube achieved quite a feat when they made youtube videos work with cache. However, this is causing a problem on my ajax site and would like to know if there is a way to disable youtube videos being cached. Especially in Internet Explorer.

I cannot disable caching for the whole page as I need caching to work for images and other content for speed reasons.

View 2 Replies

ActionScript 2.0 :: Online Game - How To Disable Caching

Nov 22, 2003

I'm making an online game where you can walk around in a city, and you see the others walk around as well at the same time. I made the script in php. The problem now is: I'm loading vars from flash out of the php-file, I know I can fool the cache by adding a unique number to it. That works, but I'm loading the php-file every second and if you look at your temporary internet files, you get a list of maybe thousand times the same php-file. In the beginning that didn't really matter, but now when I look at my site stats the list is like 5000 pages long... There must be an other way to fool the cache. And I was thinking about an old html-tag I used once to make sure your html-file wasn't loaded from cache: [URL].

View 1 Replies

Actionscript 3 - Disadvantages To Release Flash Application Which Was Compiled In Debug Mode?

Sep 30, 2011

I want to release my flash application not in release mode but in debug mode to see result of trace() after releasing the app.

I don't care that debug mode makes processing speed little slow.Except for processing speed, are there disadvantages to release flash application which was compiled in debug mode?Is it possible that the app throws exception or Flash Players of the app's users crash due to debug mode?

View 2 Replies

Flex :: Find Function / Line Number That Caused An Error Without Using Debug Mode?

Jun 28, 2011

I'm currently trying to implement an automated bug reporter for a Flex application, and would like to return error messages to a server along with the function/line number that caused the error. Essentially, I'm trying to get the getStackTrace() information without going into debug mode, because most users of the app aren't likely to have the debug version of flash player.My current method is using the UncaughtErrorEvent handler to catch errors that occur within the app, but the error message only returns the type of error that has occurred, and not the location (which means it's useless). I have tried implementing getStackTrace() myself using a function name-grabber such as [code]

but that will only work because of arguments.callee, and so won't go through multiple levels of function calls (it would never get above my error event listener).Anyone have any ideas on how to get informative error messages through the global error event handler? There seems to be some misunderstanding. I'm explicitly avoiding getStackTrace() because it returns 'null' when not in debug mode.

View 2 Replies

ActionScript 3.0 :: Disable Warnings Mode By Default?

Sep 8, 2010

Is it possible to disable warnings mode by default in AS3?Each time I create a new .fla I have to go to File > Publish Settings > Flash > ActionScript 3.0 Settings > Warnings Mode.While I'm there, I also take off "Automatically declare stage instances".It's so boring. Is there a default .fla template file that I can edit, or do I need to poke around in JSFL - either to find a toggle, or to copy a template file from somewhere else?

View 4 Replies

ActionScript 3.0 :: Developed An Site In Flash Doesnt Throw Any Error In Flash IDE Debug Mode

Apr 26, 2009

I have developed an site in flash doesnt throw any error in Flash IDE debug mode, But when I launch this in web browser it throws error.

Disadvantage of showing error in browser window is that it wont show the line number of the error. Is there any otherway to get the line number of error, when running in the browser.

View 2 Replies

ActionScript 3.0 :: Disable Stage Scale Mode In PaperVision

Sep 25, 2010

I am working through the examples in the PaperVision Essentials book and I keep getting this trace when publishing:INFO: Viewport autoScaleToStage : Papervision has changed the Stage scale mode.This is also making the object I am using smaller than it should be. Is there an easy way to disable this feature? There has been no mention of this in the book as of yet.

View 0 Replies

ActionScript 3.0 :: Disable Tooltip Appearing Whe Going Into Full-screen Mode?

Apr 8, 2011

when application goes into full-scree mode, "press ESC to exit full-screen"(or something alike) label is appeared. Is it possible to disable it?

View 1 Replies

Disable Warning 'flash' Has No Property 'prototype' In Flash Debug Trace

Feb 17, 2011

I am getting Warning: 'flash' has no property 'prototype' every time I load a swf in my flashlog.txt.Does anyone know how to disable that warning or all warnings in the mm.cfg file or maybe some other way?

View 3 Replies

Flex :: Disable Logging Data Returned From BlazeDS Call When Debug Level Logging Is Enabled?

Jul 5, 2011

Based on this guide, I have enabled debug level logging and also enabled date, time, level and category logging.

This works great, except now I am seeing all my data that's returned being logged. Is there a way to disable this? I would still like to see the calls logged. I've tried info level, but that turns off request logging.

View 1 Replies

ActionScript 3.0 :: Create "Verbose Mode" (Enable/disable Trace Output)?

Jul 6, 2010

// Block Papervison3D trace outputPapervision3D.VERBOSE = false;that is, a global variable for enabling/disabling the trace outputs of my own program. I come up with creatinga class and putting a static boolean member variable. But there is something I'm not sure about: How to useit...For example: every time I need to do a trace, would I have to put this ? -->if( MyClass.VERBOSE ) trace("whatever");So it isn't needed to instance the object because a static variable is used. That's the way, isn't i

View 4 Replies

ActionScript 3.0 :: Flash Could Not Connect To The Debug Player - Debug Session Will Terminate?

Apr 29, 2011

In CS5 I get the above message. I need to debug so it's very important. Anything I need to do?

View 2 Replies

ActionScript 3.0 :: Click On Another Greeting The Original Greeting Still Plays In Ie - Swf Caching Or XML Caching?

Dec 30, 2009

I have this PHP page that lists several people. When someone clicks on one of the people they are sent to another PHP page that has their video greeting in a .swf embedded into the page. This works by the php writing the path to the greeting video to the xml file that the .swf loads and plays.

Well in firefox it works perfect, but in IE when they try to click on another greeting the original greeting still plays. Its like the swf is caching the first greeting and refresh of the page does nothing to alleviate this. Is this a problem with the swf caching? or XML caching? or am I totally clueless?

[Code]...

View 1 Replies

Flash :: Debug An Inner Swf That's Loaded From A Non-debug Outer Swf?

Apr 4, 2009

I have a swf that I need to attach the flex builder debugger to. I have full access to the source code, and can make a debug build of this swf.

However, this swf is being loaded by a non-debug build of another swf which I don't have source code to, and can't make a debug build with.

I've tried mocking this up with two very simple swfs, and while it works fine when both are debug builds, when the outer swf is a non-debug build, while I can get the debugger to connect, I don't get trace messages, breakpoints don't work, and it seems to lock up the flash app.

View 2 Replies

Change Flash Version From Non-debug To Debug?

Jan 3, 2012

I have flash installed on my mac 10.6.7 and it's version is 11.1.102.55 (Non-debug).How do i convert it into debug.

View 1 Replies

ActionScript 3.0 :: Make A Video Player That Has Normal Mode And Fullscreen Mode

Nov 17, 2010

I wanted to make a video player that has normal mode and fullscreen mode. The part I am having trouble understanding is how to handle the video once it gets set to fullscreen. Do I just use the current video or do I get a high quality version of the video to show during fullscreen mode? What would be best practice for this situation?

View 1 Replies

ActionScript 2.0 :: Switch To Expert Mode From Normal Mode?

Jan 5, 2010

I'm trying to follow along with a basic animation tutorial online using ActionScript. It mentions to switch to expert mode from normal mode, but says that to do this, I need to click on a blue arrow with a box around it(which I don't see anywhere)? Where would I click to switch to expert mode? Is expert mode needed to animate certain things(I'm working with a movie clip)?

View 1 Replies

Eclipse :: Eclipse - Compiling A Debug Version Without Opening The Debug Perspective?

Dec 27, 2011

I've migrated to FDT from flashdevelop and kind of have a hard time getting things to work the way I'm used to. In Flashdevelop, you could easily choose if the compiled swf was a release or debug version. In FDT however, it seems like there is no way to compile a version that has debugging information without it automatically opening up the debug perspective with a ton of debug windows, a profiler and actually entering debug mode.

As an extra plus, I keep getting a message saying "This feature is only available in FDT Max", although from what I know the debugger is included in the free version. Is there a way to do what I'm trying to do or should I just get used to this new way of working?

View 2 Replies

ActionScript 3.0 :: From FlexBuilder To CS3 Or FlashDevelop?

Nov 28, 2009

I have inherited a Flash project that (I THINK) was started in FlexBuilder, but I dont have FlexBuilder. I have CS3 and FlashDevelop, is it possible for me to continue this project using the tools that I have?

There are a bunch of wierd files like ".project" and ".actionScriptProperties", and obviously no .FLA file.How can I get up and running using either CS3 or FlashDevelop?

View 2 Replies

Flex :: Does FlexBuilder 3 Work With Eclipse 3.5.1

Dec 5, 2009

I m trying to install Flex Builder 3 into Eclipse 3.5.1 as a plugin on Mac 10.6.2.During the installation phase, FB3 says it only support eclipse 3.3 & 3.4. But I started the installation anyway. After the installation was done, I can't find Flex perspective from Eclipse. So I google around and found out the possible way to manually add this link file from folder "links" to point to the FB3 Plugin folder. I did that and FB perspective can be shown now. But when I try to switch to FB perspective, error occurs:[code]

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved