Flash :: Create Cookie Through Flex / Coldfusion That Is Readable By Another Template?

Feb 4, 2010

Inside a flex app, I have a user login. The login calls a ColdFusion function as a remote object which authenticates the user and, if applicable, returns their id and access level. This works fine, but now I'm at the point where I want to also create a cookie for another ColdFusion template (called from fileReference.upload()) to be able to access later. I have tried several different methods for creating the cookie -- cfcookie, creating a cookie with JavaScript inside the ColdFusion function, and creating the cookie with JavaScript with an external interface once the coldfusion function returns to the flex result handler. All of these have been tried with a plethora of options regarding expiration, path, and domain tags.

[Code]...

View 1 Replies


Similar Posts:


Coldfusion - Create A Treemap And Depict It Through Flex?

Jun 9, 2011

So basically what I'm trying to do is make something like this:[URL]... I've searched long and hard to find a site that would show me some pseudocode (at least) or an algorithm as to how to implement this type of application. But everything I find are only applications that take in data and do all the work for me to create the graph. I need to actually create it for myself, just a simple one for now. Does anyone know where I can find this? What I want it to do is take data from a database and use it to create the treemap, then express it in a GUI like in the link above. If any specifics are needed I can provide it. I'm trying to do this in Flash Builder using Flex and using ColdFusion as the backend.

View 1 Replies

Professional :: Query String Variable Based On Coldfusion Template Body Element Id

Jan 25, 2010

I'm using a Coldfusion Dreamweaver template with cfinclude tags.  The header contains a flash movie where I'd like to pass 2 variables via a query string to load the correct image and menu button based on the variables in the ActionScript.
 
Example:  <param name="movie" value="flash/header_v8.swf?pic=1&button=1" />
 
pic variable can be 1 - 3 and button variable can be 1 - 7  depending on the each pages body element id.  So the logic would be something like this for my flash movie:
 
if body id =home, then pic=1 and button=1
if body id =about, then pic=current variable and button=2
if body id =page3, then pic=1 variable and button=3

[Code].....
 
What's the best way to pass these variables depending on the current page body element id?

View 1 Replies

Flex :: Set Values In Cookie And Get Values From Cookie Not Using With Shared Object?

May 18, 2010

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.

[Code].....

View 1 Replies

Create A Wordpress Template With A Flash Navbar?

Jan 5, 2010

create a wordpress template with a flash navbar?

View 1 Replies

Flex :: DateTime - Converting Seconds To Readable English

Mar 23, 2010

For example :
input = 360 seconds
output = 6 minutes
input = 86400
output = 1 day
Is there a built-in method for this.

View 2 Replies

Flex :: Meanful Errors - Show Them As A Human Readable?

Jul 7, 2011

Is there a way to show the handled errors as human readable, without need to search the interent about the error code ?

[Code]..

anyway - there is not actuall description of the error, just the error code.

View 1 Replies

ActionScript 2.0 :: Create Template Monster Like Flash Website Templates?

Dec 23, 2006

how the template monster designers structure their website templates to create professional website templates.

View 1 Replies

Flex :: Computer Readable List Of Human Names / Phone Directory?

Nov 11, 2009

I'm trying to compile a decent .zwl file for squiggly spell checking in Flex; using British words, not American as supplied by default.

Ive managed to create a decent British list of words and ran them through the AdobeSpellingGen app to get a .zwl; great stuff.

However i need to add into this list a list of names, so they wont be flagged.

Does anyone know of a good source of either free, or paid for list of English Fore and surnames? Im trying BT as i type :)

View 4 Replies

Make Multiple Flash Files From The Same Template And Then Edit That Template

May 24, 2010

If you make multiple flash files from the same template and then edit that template, will all those files have those same changes? If not, is there a way to make the same change on multiple files at once? Basically the same idea as linking HTML files to a single CSS file...

View 1 Replies

Flex :: Material Use To Learn Flex/Air, And With ColdFusion + BlazeDS/LCDS?

Apr 15, 2012

What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?

View 7 Replies

ActionScript 1/2 :: Flash Template On Template Monster?

Mar 29, 2004

Jesus Christ - I thought I was really good in flash.Got this template and I can't see S***.
WTH - is it supposed to be this difficult to manipulate a template or am I stupid???
Go into project explorer and can't see much AS so how the hwll are they getting the images and text into the flash swf. By the html??? I don't think so.

View 5 Replies

Flex :: Setting Up Project With Coldfusion?

Aug 26, 2009

We recently built a new dev server for flex builder and installed coldfusion 8. We currently have everything working on our old server using coldfusion 7. We copied the services-config.xml and our project over to the new server. It compiled fine, I updated all references to the new server. When I try to run the flex application I receive the following error:

Warning: Failed to load policy file from http://localhost/crossdomain.xml
* Security Sandbox Violation *
Connection to http://localhost/flex2gateway/ halted - not permitted from file://ourServer/folder/ourProject/bin-debug/ourProject.swf

We created a valid crossdomain.xml file on the localhost (which I wouldnt think would be necessary since everything is on the same server)

View 1 Replies

IDE :: Using TinyMCE To Output Flash Readable HTML?

Jun 4, 2008

how to make TinyMCE convert <span style="font-weight: bold;">Some Text </span> to a Flash-readable <b>Some Text</b>

someone has been down this road with Flash and a custom CMS's

View 4 Replies

Flex :: Access Log Information For ColdFusion Server ?

Mar 30, 2011

I have Flex front end talking with ColdFusion as the back end. I have to debug my application and need to: Add log support to ColdFusion where I can add my custom messages to log list.Access this log at Flex end.Is it possible? Has anyone tried it before?

View 1 Replies

Css :: Flash - Make Disabled Spark Button More Readable Using CSS?

Apr 8, 2011

I have a Flex Spark Button that I've changed the background to a dark color using

s|Button {
color: #66ffff;
chromeColor: #333333;

[code]....

View 2 Replies

Flex :: Coldfusion - Retrieving A Single Cell Value From A Datagrid?

Mar 11, 2010

I'm using CF to retrieve values from a database that are then being stored in a datagrid in Flex. I then want to selectively take the value from one cell of the datagrid and store it as a string variable. I've searched around, but I haven't been able to come about a solution. The users will not be interacting at all with the datagrid as it will be hidden to them.

View 1 Replies

Flex :: Coldfusion Returning Typed Objects / AMF Remoting

May 26, 2010

Is the same possible in ColdFusion? Currently I am using .Net/Fluorine to return objects to the client. Whilst in testing I like to pass strings representing the select statement and the custom object I wish to have returned from my service. Fluorine has a class ASObject to which you can set the var 'typeName'; which works great.

I am hoping that this is possible in Coldfusion. Does anyone know whether you can set the type of the returned object in a similar way. This is especially helpful with large collections as the flash player will convert them to a local object of the same name thus saving interating over the collection to convert the objects to a particular custom object.

[Code]...

View 2 Replies

Flex :: Coldfusion - RemoteObject - Passing Named Parameters

Dec 7, 2010

I'm calling ColdFusion cfc method using RemoteObject method of the Flex.

[Code].....

So you can see that I changed the sequence of the parameter, when I call the cfc method. But it does not worked. It means that <s:arguments> does not pass the named parameter. Is there any solution for that? As you can see that I may have some of the arguments not mandatory so, it must be passed by name.

View 1 Replies

Flex :: Coldfusion - Adds Incorrect Port To CFC Call?

Mar 7, 2012

I have a Flex/CF app that sits on 2 redundant servers behind a load balancer. Both the Flex and CF side make calls to the same CFC. The Flex, CF and CFC are all in the same folder. When the CF code calls the CFC, there's not a problem. However, when the Flex code calls the CFC, it adds an explicit port "84" to the URL.This causes a problem for the load balancer which only accepts traffic from port 80. As I understand it, the load balancer would internally route requests from port 80 to 1 of the 2 servers on port 84 (but that internal routing should be invisible to the client).

[Code]...

View 1 Replies

Way To Create A Template

Apr 29, 2010

I have built a template for a client that I would like to use for every page of the site. The problem, of course, is that the content within each page has to be changed. Ideally, I'd even change the layout; for example, some might have images, others just all text, others tables, etc.

View 5 Replies

Flex :: Getting Feedback From URLLoader After Sending Information To A Coldfusion File

Jun 28, 2011

I have a scheduling application that allows users to save any changes. When the user clicks the save button, Flex sends all the information to a coldfusion script which picks the information apart and sends saves it to the database. That all works well and good, but I would like to be able to display some sort of text to the user saying something like "Your file was successfully saved" or "There has been an error.

[Code]...

View 1 Replies

Javascript :: Flex Ajax Bridge, Or Any Other Push Method With ColdFusion?

Jul 5, 2011

Is it easy to implement Flex Ajax Bridge with ColdFusion? Where can I learn how to use it? My frontend is pure HTML+JS and I just need the push capability. I thought of using Websocket Event Gateway and Server Sent Event (aka EventSource) but seems like they don't have much browser support quite yet. Any pure jQuery short/long polling option Any good Server Sent Event polyfill solution available for older browsers?

View 3 Replies

Flex :: Do Calling A ColdFusion Web Service Using <s:RemoteObject> And <s:WebService> Have A Difference In Performance

Jan 22, 2011

Assuming calling the same ColdFusion web service and all other factors are identical, is there a difference in performance/speed between using the following two tags?

<s:RemoteObject id="MyService" destination="ColdFusion" source="MyWSFolder.MyService"/>

and

<s:WebService id="MyService" wsdl="http://www.myDomain.com/MyWSFolder/MyService.cfc?wsdl"/>

View 2 Replies

Flex :: Solve ClassCastException For Java.util.ArrayList Via WSDL Of ColdFusion 9's CFC?

Mar 20, 2011

I hope this problem would not waste your time. I use Adobe Coldfusion 9 to create CFC to to interact with database. Generally, CFC can be generate WSDL by itself. for example:[URL]..

The WSDL was generated well. But the problem has been found when I tried to use Adobe Flash Builder 4's Data service to generate service class to connect ColdFusion's WSDL.

If you tried to invoked the remote function that return primitive data type as int or String, it works correctly.

[Code]...

View 1 Replies

Flex - Run Flex/BlazeDS Without Dropping A JSessionId Cookie?

Jul 20, 2011

The question says it. Does anybody know the answer to this? We're running into problems when 3rd-party cookies are disabled.

View 1 Replies

Flex :: How To Access Cookie

Aug 9, 2010

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?

View 3 Replies

Java :: Maintain Last Cookie Value In Flex With Jsp?

May 31, 2010

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?

View 1 Replies

Flex :: Retrieve Cookies From The Cookie Space Used By AMF?

Sep 16, 2010

I have a flex app that uses AMF to talk to a Spring Java backend. How do I get the values of cookies that have been set by the server and are being sent back by AMF?

View 1 Replies

ActionScript 2.0 :: Flash - ColdFusion - PDF?

Jan 23, 2006

I have a form in Flash. Would it be possible for me to send the data from that form to ColdFusion and then have ColdFusion generate a PDF with that information? What do I have to do to make it work?

I know how to send the variables from Flash to CF, but I don't know how to make ColdFusion generate a PDF with that data.

View 2 Replies







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