ActionScript 3.0 :: URLRequest CacheResponse Solution For Non AIR SWFs?

Dec 22, 2011

I am needing to turn off caching for and URLRequest and cannot seem to find a solution for a plain flash SWF.I see that cacheResponse can be set to false for AIR apps, but I am working in plan ol' Flash Pro creating a SWF. Has anyone succesfully set cacheResponse on an URLRequest (using URLLoader) so it does not cache any of the responses and loads the files new every time?[URL]..

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Loader Class - Best Solution For Communication Between SWFs?

Mar 18, 2009

I want to ' import ' or ' download ' some SWF file into my main-swf file. I then want them to do a lot of communication back and forth. The best would be if I could just call functions from the new SWF file from my main-swf file, or the other way around. Do I use the loader class? And do I use the .parent.parent thing? Or is there a better solution?

View 3 Replies

Professional :: URLRequest Lost - Error 1046: Type Was Not Found Or Was Not A Compile-time Constant: URLRequest

Aug 12, 2009

In my movie i have a link button with following, simple, function creating a link:

[Code]...

lately i've associated a class file (.as) to my movie and immediately after, when publishing the movie i got the following error message: 1046: Type was not found or was not a compile-time constant: URLRequest. as well as a couple of other related error messages: 1180: Call to a possibly undefined method URLRequest. 1180: Call to a possibly undefined method navigateToURL. when i remove the link to the class file, the problem goes away. also, i have checked the class file for mentioning of "URLRequest" and nothing is there.

View 9 Replies

ActionScript 2.0 :: Xml Caching Solution With Var

Dec 3, 2007

[code]the problem is my xml file is a variable being passed from the html, so I was wondering how to write this without the inverted commas?[code]

View 2 Replies

A Good Flash E Commerce Solution For AS2 And 3.0?

Jun 5, 2009

I have a client who will want an e commerce area for his site. Does anyone recommend a good Flash based program out there that will allow you to constuct an e commerce solution in both AS 2 or 3 . I know that is a lot to ask for but at this point I really need something that will not break my budget, I can use easily multiple times with different looks .

View 1 Replies

Actionscript 3 :: Customize Initial Data And Solution?

Aug 26, 2011

I want to design an object for loading and showing customized data, for example, the object firstly loads all employees in database, then look up whether login user in the list, if so then show the login user, otherwise show dummy data "all employees"(means null). But another scenario is the component should "remember" last time user selected data and show in another page,

View 1 Replies

ActionScript 3.0 :: A Proper Solution To Using .this And Static Vars?

Oct 27, 2010

I'm trying to call a function in my main class's .as file from a sub-one.However, the function (in the main class called "makeTurret") needs to add it as a child to the main class. However, to access it from the sub-function it needs to be a static public function (to my knowledge).Because of this, I can't use this for the root.UNWORKING code (Specifically the makeTurret function at the bottom):

Code:
package
{
import flash.display.MovieClip;
import flash.display.Shape;[code].....

I used a "GlobalVarContainer" thing as suggested in this blog post: greenethumb.com/article/11/global-variables-in-as3 which seems pretty handy and I'll definitely use it for other things such as level number and health and so on. However, I still can't use the .this function, so I'm unsure how to actually assign anything to the MovieClip stage, so that things can be added to it as children.

View 0 Replies

ActionScript 2.0 :: Can't Seem To Find A Smart Solution To Make?

Feb 12, 2009

I have a decent Flash knowledge, but I can't seem to find a smart solution to make my code cleaner and shorter.

- I have a menu with 12 items/buttons.

- When an item is clicked, all the other turn invisible.

[Code]...

View 3 Replies

Media Server :: Unbelievable No Solution For FMS3 And FLVPlayback?

Feb 18, 2010

I've spent the past 2 days scouring Google and dozens (easily over 100) websites trying to find an answer to something that people do every day! I am absolutely shocked that this info is not available anywhere online.
 
A simple FMS3 and AS3 and RTMP and FLVPlayback example. totaly not simple and not possible to find

[Code]...

View 10 Replies

Java :: To Implement A Remote Desktop Sharing Solution

Apr 15, 2012

I'm on planning/modeling phase to develop a remote desktop sharing solution, which must be web browser based. In other words: an user will be able to see and interact with someone's remote desktop using his web-browser.Everything the user who wants to share his desktop will need, besides his browser, is installing an add-in, which he's going to be prompted about when necessary. The add-in is required since (afaik) no browser technology allows desktop control from an app running within the browser alone. The add-in installation process must be as simple and transparent as possible to the user (similar to AdobeConnectNow, in case anyone's acquainted with it).The user can share his desktop with lots of people at the same time, but concede desktop control to only one of them at a time(makes no sense being otherwise).

Project requirements:All technology employed must be open-source license compatible.Both front ends are going to be in flash (browser)Must work on Linux, Windows XP(and later) and MacOSX.Must work at least with IE7(and later) and Firefox3.0(and later).At the very least, once the sharer's stream hits the server from where it'll be broadcast, hereon it must be broadcasted in flv (so I'm thinking whether to do the encoding at the client's machine (the one sharing the desktop) or send it in some other format to the server and encode it there).Performance and scalability are important: It must be able to handle hundreds of dozens of users(one desktop sharer, the rest viewers)We'll definitely be using red5.My doubts concern mostly implementing the desktop publisher side (add-in and streamer):

1) Are you aware of other projects that I could look into for ideas? (I'm aware of bigbluebutton.org and code.URL...)

2) Should I base myself on VNC ?

3) Bearing in mind the need to have it working cross-platform, what language should I go with? (My team is very used with java and I have some knowledge of C/C++, but anything goes really).

View 3 Replies

Javascript :: Cross-browser Solution To Work With SVG Files?

Dec 9, 2011

I'm working on a project that originally required me to use <area> elements and 40 copies of a single GIF image to have a hoverable and clickable <img> tag. I suggested SVG, and the client agreed to use SVG instead, as it was easier to work with for both of us.

Anyways, my question is, what cross-browser JavaScript SVG library will allow me to display and interact with pre-made SVG images.

I know of these libraries:

Raphaƫl: I'm currently using this along with a SVG loading plugin. But that plugin does not support Inkscape or Adobe Illustrator SVGs (i.e. most SVGs). cang: This library looks promising, but it requires <canvas> support, which IE doesn't have natively. svgweb: Another more-promising library. It requires Flash, but most IE users have Flash. jQuery SVG: It seems to be able to load SVG images, but development seems to have died. And it requires me to use a modified version of jQuery 1.3.

My client would like to provide somewhat-arbitrary images to my script and have chunks of them be "selectable" (see my demo here).

View 3 Replies

ActionScript 3.0 :: Infinite Motion Background Image Solution

Jun 2, 2010

I'm putting together a swf file and I'm trying to have clouds moving in the background from right to left infinitely. Currently I made a cloud image the height of the movie and about 4 times wider than the movie and I have it tweening slowly. The image size and the fact it eventually stops is what I'm trying to change now. I made an "infinite" cloud image about 2/3rds the width of the swf. By infinite I mean the left edge and right edge match up, so it looks seemless if you repeat it over the x axis. Now I'm looking for a solution to create a movie clip that will loop this image so it's constantly sliding to the left and repeating itself.

View 4 Replies

Javascript :: Chromeless Player Solution For Videos Hosted Besides Youtube?

Jan 2, 2011

I am looking for the abilities that Youtube's Chromeless player has to offer but for non-Youtube hosted videos such as Metacafe, Vimeo, Viddler, etc. Abilities I will need are :

[Code]....

Can I use Chromeless player for videos hosted on other sites besides Youtube? If not, is there a solution out there? If not, what languages/APIs would I need use and know to create such an application?

View 2 Replies

Iphone :: Create A Chart/plot Solution Works On PC And IPad

Aug 8, 2011

We'd like to show some shiny charts/plots/tables for some business data. It targets PC browsers and iPhone/iPad.

We have done some research and here's possible solutions:

HTML5: not yet very standard and we are lack of experience. Flash: it looks like Flash on iPhone runs on some sort of virtual machine, it's not very efficient. We have little knowledge on this too. Silverlight + Cocoa Touch: it looks like MS is now giving up SL. We need two times of work on GUI if we choose this. Maybe I can write some XAML parser for iOS using UIKit and Core Animation.

View 3 Replies

Flash :: HTML5 Video Solution With Showing Images During Playback?

Sep 4, 2011

I'm searching a solution to play a HTML 5 Video and show different images (or similar) on various points (e.g. min 2:15) in the video.

Is this even possible or I should rather use Flash?

View 1 Replies

ActionScript 2.0 :: Fullscreen Resizing Keeping Images Centered. Solution=Demonoid Invite?

Jul 25, 2009

Hate to drop some bribe on my first post and all but I need answers fast and if any of you have been waiting for as long as I did for a demonoid acct you should be able to figure this out real fast Anyone with some decent flash/as2 skills should be able to figure this out real quick. First one to send back a working file gets the invite code.Ok long story short I purchased a fullscreen xml gallery from FlashDen that is supposed to resize. Here is the link to the demo...Well problem is it only resizes the images based on their width and not their height. (Panorama would show fine but a tall portrait would just go off the page) You will notice in that demo how the resizing is fixed to the side of the painting and not the bottom.

Well, to me this seams useless because I really need every user to be able to see the full pictures no matter what screen resolution they are at and no matter how they adjust their browser window.Believe me when I come posting on threads it means I have spend many many hours trying to figure it out myself...In this case I have spent 30 hours trying to solve this in the last two days....Now I am over the deadline I gave to my client/family member and am still at square one basically.Also note I have figured out how to make it so that it fixes to the bottom and thus shows the tall images in full but when I do this it is no longer centered in the page.

I am really tired and worn out but would love to work with someone's advice to make this a reality.Attached is everything you would need. Please note that by downloading this attachment you are agreeing to only using these files to your new friend Sean and would never think about using this for your own project.Attachment is too big...~3Mb so I had to put it on a server.. Grab it here.

if(heightRatio<widthRatio){
eval(getResizeClip)._width = widthRatio*bgWidth;
eval(getResizeClip)._height = widthRatio*bgHeight;

[code]....

View 12 Replies

ActionScript 2.0 :: CS3 Buttons In Loaded Swfs Loading Other External Swfs Into The Main Timeline?

Sep 11, 2009

I have a main fla file which loads an external swf into an empty movieclip on the main timeline which works fine but I want a button in the external swf to load another external swf into another empty movie clip on the main timeline.eg. start.swf loads UKEIAMap.swf into (empty movie clip within start.swf) MapLoader_mc then a button havant_b within UKEIAMap.swf needs to load HavantProjectSheet.swf into (empty movie clip within start.swf) ProjectSheetLoader_mc without unloading UKEIAMap.swf

View 3 Replies

ActionScript 3.0 :: External Swfs Load - Remove The Swfs And Sound After A New Button Is Clicked

Nov 13, 2010

I am loading eight external swfs by way of eight buttons with actionscript to remove the swfs and sound after a new button is clicked. This works fine except that as soon as you get to the frame where the actionscript is all the swfs load at one time on top of each other. I don't want any to load until the button is clicked for the right one. MouseEvent listener works but only after all the swfs have loaded. How do I get the swfs to load only when the buttons are clicked. I can't figure out what I am doing wrong.

[Code]...

View 5 Replies

ActionScript 2.0 :: Access Local Swfs Using Remote Swfs?

Jan 5, 2010

Is it possible to access local swfs using a remote swf

View 1 Replies

Actionscript 2.0 :: Preload Swfs While Other Swfs Are Playing?

Sep 8, 2009

I am trying to find a way to preload swfs while other swfs are playing, i've found several scripts and tutorials, but none of them seem to work for my needs.

View 1 Replies

ActionScript 2.0 :: Loading Other Swfs From Loaded Swfs?

Aug 2, 2006

Flash - 8 : Above is an example of what I would like to do/have done. I've gotten as far as loading the "loaded.swf" into the "start.swf" but my problem is I'd love to use that little loading action I made earlier without copying and pasting into the new movie the same actions for a different link. So, how do I load "loaded2.swf" into "loaded.swf" via the link in "loaded.swf"?

View 1 Replies

ActionScript 2.0 :: Transitions Between External SWFs - Looks Crap As The Size Of External SWFs Grow?

Sep 2, 2006

[URL]regarding this tutorial I started my site [URL] to get some trasition effects but im getting somewhat different since the external SWFs take time to load. isn't it better to create "intro and outro" on the same time line instead of loading external SWFs bcos once the movie loaded as a whole will lead to smooth and contineous transitions.

View 1 Replies

ActionScript 3.0 :: Url In URLRequest?

Apr 28, 2010

I have the following actions in my file :

var xmlLoaderA:URLLoader = new URLLoader();
xmlLoaderA.addEventListener(Event.COMPLETE, LoadSomething);
xmlLoaderA.load(new URLRequest("my url"));[code]....

now imagine that the loading of the file is completed and we are in the "LoadSomething" function. How can we trace "my url" in this function? In another word I want to wite this action:

trace(Command);

and I want "my url" string in output.But I dont know what is the Command.

View 1 Replies

Flex :: Use A Var In A URLRequest?

Dec 27, 2011

During development I have to test using several different hosts. It is a pain to have to change the IP address everywhere I use navigateToURL or in an mx:HTTPService. I would like to set a var with the IP... public var hostIP:String = "192.168.1.100"; Then later I instead of doing...

[Code]....

View 2 Replies

ActionScript 3.0 :: New URLRequest To PHP?

Sep 26, 2009

working my way through some tuts, and have set up WAMP. Trying to send some vars from AS3 to PHP to update a mtySQL table.My issue is that the php file does not seem to be receiving the variable info from flash, why not?

Here is the AS code

Code:
submit_btn.addEventListener(MouseEvent.CLICK,onClickSubmit)
function onClickSubmit(event:MouseEvent):void
{
var loader : URLLoader = new URLLoader();

[code]....

The PHP works cos when I run it from a browser $sd3 updates the database field to 78.This the output of the 'trace' statements

clicked
sd1=77&sd2=88&nickname=test1

The reason is probably simple but I can't see it.

View 1 Replies

ActionScript 3.0 :: New URLRequest Not Working

Nov 2, 2009

I cannot ascertain why the code for one set of navigation buttons I've created works, but similar code does not. The code is rather lengthy, but I've pulled out the salient components to see if the Interwebs could help.

Here's the script that IS working:

Listener code:

Code:
cswordbutton.addEventListener(MouseEvent.CLICK,fetchcswordassets);
And the function code that goes with it:

Code:
function fetchcswordassets(e:MouseEvent):void{
var url:String = "knowntomeURL";

[Code].....

1) All of the actions are in a separate layer in the first frame;

2) There is only one scene;

3) I've given the same button a different instance name in many cases, to coincide with different expectations (URLs).

View 4 Replies

ActionScript 3.0 :: URLRequest And Php-xml's - Get The Xml-data?

Jul 30, 2009

i have this code
 
public class TextboxXML extends Sprite
{
[...]
//XML[code]....

i want to get the xml-data. the xml will be generatet out of a php-function.testing it out of flash by "testing the movie" (apple+return), the php will be parsed and it works. when i test it on my lokal server, the same smf i mean, nothing happens.

View 2 Replies

ActionScript 3.0 :: URLRequest Doesnt Contain Anything?

Oct 20, 2009

I have an xml file which contains multiple products each with their corresponding background image, foreground image, text and website. The LoadXML class loads this xml file and creates an array of each image, text and website. The Main class then loads each image from the array of background images in the method onBackgrLoad(). This is done through the use of a for loop which loops through the array of backgrounds (called hintergrund[]) and loads each one in turn. On tracing hintergrund[] I sucessfully receive a string of all the different background image paths. However when I examine the backgrRequest and backgrLoader they both contain null. The images therefore dont appear on stage but neither does an error message appear! The same thing happens for onImageLoad (this should load the foreground image) and onTextLoad.
 
public class Main extends Sprite
{
//____________________________________________________________________________Vars : Newly

[code].....

View 6 Replies

ActionScript 3.0 :: URL Importation And URLRequest?

Dec 21, 2009

package
{
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.TimerEvent;
import flash.net.URLRequest;

[Code]...

View 1 Replies

Asp.net :: Setting URLRequest Path?

Nov 12, 2009

fla files which is calling default page . but it's not able to find the default page.. my default.aspx page is in root directory ,and my fla file is in ../capture/image.fla . here is my code

[Code]...

View 2 Replies







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