I have developed a flash application with .NET. That application is something like image cropping. That is user can upload any image from anywhere. after he cropped that image we save that particular cropped image in .NET. The problem is the cookie set into the Temporary internet files. That is If I have uploaded a image for cropping then I have to save that cropped image. Once again I have upload the new image for cropping. But in flash that new uploaded image file is not displays. It always displays the image file which I was uploaded at first time. This was occurred in both IE & Firefox browsers.
I need to save email-id in my login form through the cookies. if I use shared object I am able to save but my requirement is need to save in cookies. How can I save? I got sample code from net. Attaching that code `package com {
import flash.external.ExternalInterface;
/** * The Cookie class provides a simple way to create or access * cookies in the embedding HTML document of the application.
I have some trouble about a setInterval not being cleared.I made an index-intro.swf file that is being loaded into _root.mccontent.This index-intro.swf has got the following code with a setInterval in function firstimage:
I have created a Network class singleton to represent our xml calls. The purpose of the class is to load in various xml calls and then load into a 2 dimensional array.The 2 main variables that I want to release are "mChannels" and "epgXML". When I call the function term(), the memory never gets released. I am initializing this Network class once (mNetwork = Network.init(), and then referencing the singleton through the getInstance function. I call the term() function but the memory never goes down. What am I doing wrong with garbage collection?[code]
I just had a problem with Firefox 1.5 which has cached a SWF (let's say loaded.swf) that I was loading from another SWF (let's say main.swf). I overwrote loaded.swf on the server with a new version, but Firefox kept serving the original (old) version of loaded.swf to my main.swf. This continued even across a Firefox shutdown/restart. Only when I cleared the cache did Firefox serve the new version.
I call the function below from the context menu and graphics get cleared. If the call comes from within another function it don't. Why it's not working than?
function removeFrame(e:Event=null):void{ holder.graphics.clear(); }[code]....
It's Working if I call the function directly from the right-click menu:
I'm making a Jeopardy game. When someone clicks on the button with the dollar amount on it, I have it reset to a different scene on the button so the players know it has been used. When another button is clicked, the first button resets back to its original dollar amount, rather than the blank scene it was reset to.
I'm developing a video player using WPF and AxShockwaveFlash.
It has following steps:
find video from a web service. it acquires information of each video. pass video information to AxShockwaveFlash and embedded flash video player. embedded flash video player starts streaming download from web service.
I have a problem on step 4. Step 1-3 shares a cookie (CookieContainer), but step 4 can not. How can I pass its cookie to embedded flash video player?
I made a blog widget in flex. I need manipulate cookie in my widget which is added to my user's blog. But under some circumstance, some blog hosts forbid accessing to javascript, so i can not access cookie in flex by externalInterface. Does anyone know how to access cookie in this context?
I already tested SharedObject class in native actionscript trying to get the arbitrary name of cookie from local system but it doesn't work.For your information, I am working with cookie returned from user's browsing sites (not my own sites). That's is to get some cookie values resulting from browsing of site A from user in order to work with my own application.
Long time leecher, decided to join in and ask a question. I have a video auto play on a site i am working on [URL].. Issue is, it auto plays every time the page loads...
Is there a way for me to set a cookie that flash could look for and either choose a welcome back video or not auto play video?
EDIT: SharedObject is awesome. Ignore this i did it.
I have been at this for 5 hours and I'm about to pull all my hair out.I have a seemingly very simple problem that I can NOT find any reason for why it's happening.I built a simple flash doc that has three distinct pieces in it (2 frames):
1) A FLVplayback component on frame 1 - (working)
2) An AS listener that checks for end of Video and progresses to 2nd frame - (working)
3) a cookie script that checks to see if the video has been played and if it has skips frame 1 and goes to frame 2 (also working)
The video successfully plays the first time and moves to the 2nd frame. But, when the document is reloaded it checks the cookie (finds it) skips the 1st frame, moves to the 2nd BUT it does NOT display ANY of the elements in the 2nd frame. NOTHING!! There is a simple graphic and button that allows the users to replay the video (by simply clearing the cookie and going back to Frame 1) but they do not show up. (However, they DO show up if the video plays first and moves to frame 2 via the listener, just not via the cookie).I have placed traces in each frame to show if it is indeed arriving on frame 2. It is, but NOTHING shows.I have rebuilt the FLA step by step testing each time and have found that it works perfectly, right up until the FLV Component is dropped in. Then it moves to the 2nd frame and shows NONE of the 2nd frame elements. URl...
I remember that in flash 8 you needed to read the cookie via php script to get it into flash. Has that changed in CS4? Is it possible to read the cookie directly from the swf now? If not how does one go about getting cookie information into flash CS4?
and have this in the init() called by page load it does not work. I was going to use the play variable to kill the loading of the swf but can't figure out how best to make that work.
So, my questions:
Best way to facilitate this action:
1. In AS by calling the function by:
a. Timeline
b. AS callback from <body onLoad
2. Using js to call the fucntion in the external js and then blocking loading of the swf in the html page.
I don't want to spend anymore time exploring alternatives as this is very frustrating. I am assuming that 1.b is the best route.
my login form in flex when I login I have created a cookie in jsp like this name setValueCookie.jsp [code]through the httpservice value i am getting but if i open a new window or any new tab cookie value is not getting how can i solve this?
We have a flash video that was created for our project, we dont the source so we have to work around the compiled flash file. We are going to host the video on our domain and the video creates a sol cookie (flash cookie) file to store how far the user has proceeded though the video. So my plan is to access this cookie to see how far the user has progressed and then fire an event when they have finished the movie.
I have been googling for some help but haven't found to much. I have found out that its possible to do in javascript and I have found some .net sol file viewers but haven't seen any examples I can get my mind around.
I have watched the traffic that gets created with fiddler and every time the next button is clicked a new request is fired with the swt file that is being accessed. I would also be happy with tracking every time one of these swt files has been accessed as well.
I'm hoping to get pointed in the right direction here. The problem I'm having is trying to figure out how to read an HTML created cookie in Flash. I have a video player that should autoplay once in a 24hour period, the next day it should autoplay again for the end-user.This is what the script on the HTML page looks like that displays the Flash player and the cookie:[code]I did some searching and found this Have a HTML page play Flash movie only once (not when revisited...) but again this is just a Flash function which never allows for a restart in a certain time period.how do I read that var x(cookie) in Flash?
i have a flash application connected with a script on a remote server(X)different from the server hosting the website(Y)the application on server X needs to get some user information so i need to identify the user by what i have in the cookie
remote server X will get those informations from server Y is there any way i can get the user name or user id from the CAKEPHP cookie var?the authentication is the one found on cakephp website
I use an application which uses flash cookie to store some important information. This information is critical and should not be deleted. But I have observed that the flash cookie or the shared local object is getting deleted under the following situations. When the local history(including cookies) are deleted by the browser. When flash is upgraded in the system.
This is adversely affecting my application. Please let me know, if there is a way to forcefully retain the 'shared local object' by placing some kind of lock on it. It will be better if this can done programmatically.
I am working to add a transparent flash video to a site of a person walking out. The problem is that I don't want the video to play every time the home page is loaded, so I set a 24hr cookie that if detected the div containing the video is set to hide. This works perfectly in Google Chrome and FF, the problem is in IE the div is apparently hidden because you cannot see the video but the audio of the video is still heard. Perhaps there is a different way to do this then the way I am going about it and maybe even a way to do a remove instead of hide?[code]...
I am trying to pass a cookie with multiple name/value pairs into flash and I would like to know if someone know how I can do this. I know that I need to pass the vars from the cookie to my Flash Params but I am not sure how I would do that, given that this is a multiple array cookie.
I'm working on a website based on flash. The first time you visit the site there will be asked to fill in your name (for example: George) and then you continue to the next 'page' in the flash. The next time you visit the site, i want that the site automaticly forwards to the last page, and there is a text 'hi, *name*' (hi, George)
I want to write a Flash application which need to access my browser(Internet Explorer)cookie. My program work well in all browser except Internet Explorer. This is part of my code:
Quote:
function test() { ExternalInterface.call("eval","alert(document.cook ie)"); }
I've just started out working with cookies in flash and looked at the poms tutorials [URL]Is there a list of commands that could get the users browser software etc for example?