Flash :: Session Data Is Losing With It

Jul 13, 2011

I'm using Flash uploader(uploadify, swfupload) with CodeIgniter, want to get the session data. I have found out that the flash does not send the session data, so I have set $config['sess_match_useragent'] = FALSE;

Now for example i have set session value myname in session and I can get it on my backend PHP script using Internet Explorer.[code]...

View 1 Replies


Similar Posts:


Data Integration :: Session Variables In Flash?

Oct 29, 2006

I'd like to create a website that displays a swf file. Is there a way I can make it so that the content of the .swf file comes from session variables (probably coldfusion). So, if someone types in their name, I want to save their name to the database & then later display their name in the swf file.

View 1 Replies

ActionScript 3.0 :: Duplicate Bitmap Without Losing Data?

Nov 22, 2010

I'm creating a mosaic application from facebook images and I have all of the coding working, my problem is I'm duplicating (cloning) Bitmap's in the final mosaic because obviously there aren't enough images on everyones facebook to make up the 1000+ images in a mosaic

See in the upperleft how all the images are very well defined, but then as the grid continues to the bottom and right each image gets less and less accurate until it is just one color...The code I am using is just,

ActionScript Code:
var myClone:Bitmap = new Bitmap(arrayBMD[index]);
addChild(myClone);

where arrayBMD is an array that holds each BitmapData for each Image.

View 7 Replies

ActionScript 1/2 :: Dynamic Form (going Back And Forth Without Losing Data)?

Oct 22, 2009

Here's what I'm trying to do: http:[url].....It's basically a form with 6 pages that you can scroll through back and forth, in case you missed some information and want to go back to review.I think the concept is good, but I'm unsure how to actually make it work.Here's a screenshot of the timeline so you get a feel of how I made it (but you probably already know...): http:[url]....

What I did was create a mask and the form scrolls through.... it goes forward until frame 45, then it goes backwards.For example, if we are on the page 2 of 6 and hit back, it plays the "backwards" animation and jumps back to frame 1 (of course not playing backwards, but with a "gotoAndStop(1);" command).The problem is that if I fill up, let's say all the info in the page 1 of 6, and then scroll through.. when I come back to that page, the info is lost.Here's what the form looks like: http:[url].....

I have named every input text and checkbock accordingly but am unsure how to make the input data actually stick to each field so that the "going back and forth" actually works.... how to get this done? The next step is to actually send out the form to a php script.. but first things first .My *guess* is that a script has to be added when I hit the "next" button - so that it sticks the field values (what the user typed) into each field, and stays there. This would also help gather info from each page for when it's ready to be sent.

View 38 Replies

ActionScript 3.0 :: Sending Session Data To PHP?

Apr 28, 2011

sending session data from flash to the current PHP page.

Basically a random variable is created in AS3, I need for that random variable to be accessible on the same PHP page as what the flash is playing on.

View 2 Replies

ActionScript 2.0 :: Passing Numeric Data In Via Flashvars Results In Losing Zeros?

Mar 8, 2010

I'm modifying someone's old AS 2 Flash application and I need to pass numeric data in as a string OR have a properly formatted USD currency string in the end.

Currently, I might pass something like Data1=$34,000.00&Data2=$12,344.18&etc...

in via FlashVars. Assuming I show Data1 in a dynamic input field, I'd get something like "$34,0"

I'm not too concerned whether this is a super clean, proper solution or a functional hack-like solution with this application. It's needed, but only for a short time.

View 1 Replies

Flash :: CS4 Losing My Panel Groups

Aug 27, 2010

I've noticed recently (the last week) that when I open Flash CS4, the Tools panel and the Actions/Timeline/Compiler Errors/Output panel group are not automatically open, like they always were before. Does anyone know of anything I could have changed by accident?

At the same time this started happening, I have a file that has a moving hot spot that is set with keyframes (depending where the active button is on the bitmaped screen capture behind the button). Even though the  button's onRelease handlers are advancing the timeline correctly, my button is not in the right place in the runtime version. If's still fine in the development environment. It's like the layers are out of sync with each other.

View 1 Replies

Flash :: Losing Image Quality In Movie

Sep 10, 2009

I have a logo which I have created in photoshop, it is made up of 4 layers, some of which I want to animate. I create my movie, I do so by opening my PSD file and then animating the layers. However I have a problem in that when I view my movie the image quality is poor, and there is what I would describe as noise around some of the image.

View 1 Replies

Professional :: Losing Gradients When Importing Swf To Flash?

Mar 1, 2010

I've created a globe in Flash CS3 and published it (no compression) as a swf The globe has a couple of layers with gradients used as highlights. When I import the file into another Flash document the gradients seem to disappear

View 1 Replies

Actionscript 3 :: Flash Stage Losing Focus?

Feb 2, 2010

I built this incredibly brilliant scrolling thumbnail image viewer for a client in flash actionscript 3. (Basically it just scrolls up or down depending on the mouse position). It works so so, (I can never get the percentages right so that it shows the top most image) but, that's beside the point. What is REALLY irking me is when I have the browser window open with my .swf loaded and I click on another app on my desktop, the stupid scrolling thumbnail area in the browser window starts to freak out.

"Where is my mouseY?" I assume it is thinking.

Is there a stage.Unfocus event I can tell my scrolling thumbnail area to STFU with?

I'd even consider writing some javascript to call a flash function, if that's a preferred technique.

function checkMousePos(e:Event):void
{
if(mouseX < 145){
try{

[Code]...

View 2 Replies

Html :: Flash Losing Variables On Hide?

Aug 17, 2011

I have a flash file in a div. This div is set to visible (display:block;). The div has two sister divs. All three divs are controlled by custom built jQuery tabs, so when another tab is clicked, the currently visible div turns display:none;. When the tab is reclicked to set the flashes div to display:block, the flash file loses all its values that are stored (for example in a textarea, all the text gets reset, and where a element stores a path to the image, that gets reset).

I have tried other methods like width:0; height:0;, which sort of works, but as the flash file is larger than the other two divs, it is still visible underneath. So then I tried overflow:hidden; but the same issue still occurs as above (losing values).

visibility:hidden isn't applicable as there is a large white space where the flash file should be.

position:absolute; top:-800px; left:-600px; loses variables.

border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; also loses variables.

Is there any other method I can use? I have wmode=transparent aswell.

Below is the code of my flash embed:

<object wmode="transparent" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="690" height="2047" id="gdh_v3_1" align="middle">

[Code]....

View 2 Replies

ActionScript 3.0 :: Resize Flash Without Losing Quality?

Apr 10, 2010

I just completed a task for someones website and it is basically an animated banner. Well, I made it at 1350px wide, and they now want it resized to 900px. When I resize it in html, it loses a lot of the quality.

View 6 Replies

Flash :: Php - Get The Session Id?

Jan 24, 2012

I have made a website and put inside it a flash game. For people to play the game they have to log into the website. Logging to the website will create a session. I want for the flash game to get the session id, so I have created a function that gets the session id. It works only in Internet Explorer and when I tried it in Chrome, it didn't retrieve the session id. I have written a php file that will be used by the as3 to get the session id, the php code is this:

[Code]...

View 2 Replies

Professional :: Resizing Video In Flash Without Losing Quality

Jan 11, 2012

I have a higher resolution .flv file and I'm trying to replace an older version within my Flash file. However once replace (by use of the "swap video" feature when right clicking video), it blows the video up way bigger. When trying to scale down the video, it become fuzzy/pixelated upon output to .swf. Any proper way to resize this higher-res video without loosing picture quality?

View 1 Replies

Flex :: Flash Builder Keeps Losing Imported Classes?

Mar 30, 2010

I've been having this really annoying thing happen the past few days, that has happened before but not as frequently. I create a project in Flash Builder, import some classes, and then on occasion it keeps erasing those classes. So then I get errors in a lot of my datatypes, have to go back through my document and retype the datatype so that it reimports the class.

I know flash builder can be a bit buggy at times

View 2 Replies

ActionScript 3.0 :: Flash External Loaded Swf Losing Component?

May 28, 2010

I have a parent movie that can load various "overlays", which are externally loaded swf's. For several of these overlays now, when the overlay is loaded into the parent movie, any components it was using seem to disappear, or more precisely, use the parent movie's component (so if the parent movie doesn't have an instance of whatever component it is in it's library, then the child won't display anything.) I have been able to (sort of) solve the problem by creating an instance of whatever component it is in the parent, but this is undesirable, especially since different overlays may use different versions of the same component (i.e., skinned UIScrollbars.)

So, code in the parent:

Code:
public function drawOverlay (rID:String, payload:String, x1:Number, y1:Number, w:Number, h:Number, o:Number, bg:String, bc:String, bw:Number) : void
{
trace("SKIN - "+rID,x1,y1,w,h,o,bg,bc,bw);

[code]....

The child runs perfectly standalone (of course), and everything except components work fine when loaded. Everything is CS4/AS3. It seems like I have a rooting issue, where the root of the loaded swf is being linked to the root of the parent, but I don't know what to check out...

View 4 Replies

Flash :: IDE - Empty Cache And Cookies Without Losing Every Save

Nov 17, 2011

there was that update that made it so you cleared flash saves out whenever you cleared your browser's... what was it, cookies or cache? I'm looking it up but Google is being shockingly unhelpful, only giving me advice from the Flash 8 days. The thing is, I would far prefer to manage my flash saves manually. I know that's not the universal preference, but it prevents me from losing saves when developing, and prevents me from losing game saves for that matter.

But I would really like to clear my browser cookies and cache! It's really getting gummed up in here. So my question is: is there a user-friendly way to manage flash saves directly? Is there a way to empty my cache and cookies without losing every flash save I have?

View 2 Replies

Flash :: Jquery - Application Losing State After Displaced To Another Div By JavaScript

Jul 29, 2010

I've a simple flash application that does counting on button click. I load it in a page and a javaScript code does some DOM manipulation to move it from one div tag to another. Problem: the state of the count is not preserved as the swf node is moved from one node to another. What I did:

I simply get the node using javascript getElementbyId function and then once I get the source and destination div nodes then I use destinationNode.appendChild(sourceNode); //javascript This works well in Internet explorer, but it doesn't work in Chrome and Firefox. So then I tried prototype library.

[Code]...

View 2 Replies

Flash :: Flex 3 + Player 10 - Losing Extension When Use FileReference Download

Dec 22, 2010

Possible Duplicate: losing extension when use FileReference download I'm having an issue that looks common when using the FileReference class in FP10 when saving a file. The whole thing works fine as long as I don't change the default filename. If I do, then I loose the extension of the file... which is annoying >_< I haven't found any "acceptable" workaround, but the posts I've seen are from a couple of months already. So I'm inquiring hoping that something's been done regarding this issue since then =)

View 1 Replies

ActionScript 3.0 :: Flash Losing Key Press Detecting When Button Is Clicked?

Oct 12, 2010

i'm building an projector application in AS3, as a slide show.When the right and left keys are pressed on the keyboard, the slides change.the code to change the slide:

Code:
function setup() {
stage.addEventListener(KeyboardEvent.KEY_DOWN, displayKey);
}
setup();

[code]....

Some slides have button on it, that change the slide, jumping to a chapter the user whant to see.the problem i'm having is that when the button at a slide is clicked, the key press detection does not work anymore. To make it work, I have to click somewhere on the stage.

View 1 Replies

Flash8 :: Get Session Cookie In Flash?

May 13, 2009

How can I retrieve a session cookie inside Flash ? ($_SESSION['member'])

(I am using Flash 8 and ActionScript 2.0)

View 3 Replies

Actionscript :: Session Id Or Cookie In Flash?

Jul 25, 2010

How can I distinguish different users with actionscript, or is that possible?

View 1 Replies

Can A Flash SharedObejct Expire Per Session

Sep 21, 2010

I'm trying to display certain content per session, but the site has the same Flash embedded in the different sections of the site, so I can't set it on the site's Model or a Global Variable. I also can't use PHP or JS.

View 1 Replies

Flash :: Pass PHP Session To Actionscipt?

Mar 29, 2011

I have a php website that uses sessions and if your not logged in you cannot acces a web page... I want the same for my Flash file, but want flash to see if there is a valid session on the php website and if there is play the flash, if not access denied..![code]...

View 2 Replies

ActionScript 3.0 :: Flash And PHP Session Conflicted?

Dec 18, 2009

How can I utilize the session data from my PHP when I am about to upload a file using the flash movie. Meaning, the file uploading is at the back-end. Let say, my session contains the value of my ID, then I would like to get that ID and use it as a directory where my uploaded files be moved. The upload was successful but it cannot move to the desired directory using my session data.

View 6 Replies

IDE :: How To Retrieve Session Cookie In Flash

May 13, 2009

How can I retrieve a session cookie inside Flash ?
($_SESSION['member'])
(I am using Flash 8 and ActionScript 2.0)

View 2 Replies

ActionScript 3.0 :: Use Php Session Whithin Flash Button?

May 29, 2009

I'm using Flash to do the visual work of an php website, but I got a really big problem here.

I've a find textfield and a find button, calling a php function, working almost perfectly, but... if user is not logged.if he is I can't find a nice way of tell flash that user is logged and that he must pass to php the string to find and the session variable I need to make this work like a charm.[code]...

View 6 Replies

Professional :: Flash Interfacing With Session Variables?

Jan 7, 2012

I need to have a banner that changes every 5 seconds. Problem is that when I move from page to page it starts at the beginning. If I had a session that recorded each change and that could be read by flash on initialise then this would work. My prefered platform is PHP but can use ASP

View 1 Replies

Php :: Cakephp Session Lost In Flash Player?

Nov 20, 2009

The website need to login to perform certain task. We use stock Auth component to do the job.

Everything is fine until it hits an interface which build in Flash. Talking to Amf seems fine. But when the Flash player try to talk to other controller - got redirect because the session in not presented.

So basically when a user login - I need to somehow find a way to login the Flash player in as well.

ADDITION: This only solve half of the problem.

Backtrack a little bit. How the Auth components evaluate the requester?

If the Session.checkAgent is true. They check if its the last one. So Flash has no chance they have a different Agent string.

OK now - Auth check them out - what? The Session cookie they store earlier ... so fail again.

I am using Amf (as Cakephp Plugins) when I tried to test if the $this->params['actions'] is start with amf - it works sometime doesn't work sometime. Looking at "Charles" I can see they all call to the amf controller.

View 5 Replies

Asp.net :: Passing Values From Flash To Initialize Session

Aug 13, 2011

I implemented a kind of Bio metric login in Flash. Now, my flash is detecting person and authentication him. But all I need if after bio metric authentication some information to be passed from Flash to my ASP.NET as to initialize session. Is it possible to pass authentication code from Flash file to ASP.NET page?

View 3 Replies







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