Access Flash Cookies using JavaScript or ASP.NET

We recently came across a flash video created for our project, but unfortunately we do not have access to the source file. However, we are planning to host the video on our website and it generates a sol cookie (flash cookie) to track the user's progress as they watch the video. My idea is to retrieve information from this cookie to determine how far along the user has watched the video and trigger an event once they have completed it.

I've been searching online for assistance but haven't found much so far. I learned that it can be done using JavaScript and came across some .net sol file viewers, yet I'm struggling to find clear examples to follow.

After monitoring the network traffic with Fiddler, I noticed that each time the next button is clicked, a new request is sent with the swt file being accessed. I would also be interested in tracking every access of these swt files.

Appreciate any help or guidance. Thank you.

Answer №1

Although I don't have much experience with flash, it seems like creating a separate flash movie is necessary in order to access shared objects from within flash movies.
To achieve this, you will need to embed your own flash movie on the page that can read the 'cookie' data and then pass it on to JavaScript.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Hide the cursor after it remains stationary for a specific period and display it once movement is detected

I'm trying to implement a feature where the cursor hides after a certain time of inactivity and shows up when the mouse is moved over a picturebox. I've tried various approaches but none seem to work. Here's what I've attempted: // ...

Working with HTML5 canvas to draw multiple images

Here is the code I'm working with: http://jsfiddle.net/zyR9K/4/ var Enemies = { x: 25, y: 25, width: 20, height: 30, speed: 0.5, color: "#000", draw: function () { canvas.fillStyle = ...

Fixing errors with observables in an Angular 2 project using Rx

var foo = Observable.create(function(observer){ try{ console.log('hey there'); observer.next(22); throw new Error('not good at all'); setTimeout(function(){ observe ...

When using my webrtc technology, I configure my sdp to establish a recvonly direction

While attempting to make a video call using WebRTC, I encountered bugs during testing. My goal is to integrate this project into a webview for my Android app. I conducted testing using phone-pc and phone-phone scenarios. Scenario A: When the PC initialize ...

Using the event emitter prior to the event handler in Node.js

Currently reviewing this specific code, I have noticed that the nodejs event emitter is being invoked prior to defining the event handler (at this line and also here). Mimicking the same scenario, no events are actually handled. eventEmitter.emit(&ap ...

Is it possible that attaching the click event directly to the ID is effective while attaching it to the childnode is not working

Can anyone help me with a problem I'm having? When I try to target a specific element by accessing its child nodes, the click event doesn't work. However, if I use getElementById and then attach the click event through that method, it works. Idea ...

Issue with Rails: Content_For not functioning properly when combined with AJAX or when attempting to rehydrate JavaScript files

Currently, I am utilizing ajax to load all my views, and it's functioning perfectly except for one issue. My view pages that are being loaded are not referencing my JavaScript files. Below is an example of my coffee-script: jQuery(function() { Stri ...

Guide on using JSZip and VUE to handle an array of promises and store them in a local variable

My lack of experience with async functions has me feeling a bit lost right now... I'm attempting to loop through files in a folder within a zip file using JSZip, store these files in an array, sort them, and then save them to a local variable for furt ...

What is the method for obtaining the parameters of an inline delegate?

Is it possible to access the sender and event arguments when using an inline delegate like shown in the code snippet below? p.Click+=delegate { //perform some actions }; ...

Launching in an Angular reactive form

When working with Angular reactive forms, I am facing an issue where I want to set a form control value using a property from a service. However, upon submitting the form, the value of the form control does not reflect the expected property value from the ...

Is it possible to extract information from a form's POST request without relying on the traditional "action" attribute within form elements?

Last night, I was experimenting with ExpressJS and discovered something interesting when working with a simple code snippet: app.post('/contact', function(req, res, next) { res.send('Congratulations! You have submitted the form'); }) ...

Can AR.js be used to implement extended tracking in Augmented Reality on the web?

Currently, I am working on a web-based project using THREE.js and AR.js for augmented reality. One issue I have encountered is that when the "marker" moves out of view of my camera, the augmented reality image either disappears or remains stuck on the edg ...

`The value of an element within an array changes automatically`

In my current setup, I have a traditional array where each element represents an HTML element. The issue arises when I manipulate these elements within the array; any changes made to the HTML element also reflect in the array automatically. However, I pref ...

Dotnet fails to recognize files within a docker volume

I'm facing issues when trying to run dotnet restore and other commands within a Docker environment. Here's the setup: Using docker-compose Utilizing Docker Working with dotnet Here is how my dockerfile is structured: version: "3.9" se ...

Error: Unable to Navigate to Present Location ("/search") as It is Duplicated

I keep encountering the error message NavigationDuplicated when I attempt to perform multiple searches. My search function is located in the navbar, and it's configured to capture the input value using a model. Subsequently, this value is passed as a ...

Inverting the order of vertices in a THREE.js face

I am seeking a way to reverse the order of vertices in faces within my geometry. For instance: // create geometry var geometry = new THREE.Geometry(); // create vertices geometry.vertices.push( new THREE.Vector3( 0, 0, 0 ) ); geometry.vertices.push( ...

What is the best way to display form input fields depending on the selected value?

I've been struggling with a seemingly simple issue that I can't seem to find the right solution for, even after scouring Google. I have a form field for input and a select field with various values, including an "Other" option. Here's what ...

Cannot chain promises using 'then'

Having trouble understanding why the 'describeDir' promise chain is not working properly. Can anyone help me figure out what I did wrong here? Everything in the code seems to run, but functions like then or finally from the promise API never get ...

NodeJS constantly communicating with Rest API

Entering the world of Node.js is a new journey for me. I have a service with two endpoints available. The first endpoint is a post method that takes in a payload, processes it asynchronously, and immediately sends an acknowledgment to the caller. The secon ...

Hiding the original shape with ClipPath in d3 ReactJS

Currently diving into the world of D3 and ReactJS, I attempted to clip a circle with a straight line, but struggled to grasp how it functions. Below is the HTML code snippet used to draw an image: <div> <svg xmlns="http://www.w3.org/2000/svg" ...