Asp.net :: Flex - How To User Frames With 2.0 OR AJAX

Jan 7, 2010

How do I keep the menu static so the animations do not refresh with page clicks? Example would be like a 'frames' but within ASP.NET 2.0... Do I use the old HTML Iframes approach?? Or can I use something more contemporary using AJAX or something like that? This one stumps me... Should I user custom controls or AJAX ??Among other things, I'd like to change the menu swf based on security role of user in ASP.net 2.0, so I would need to pass variables to Flex / Flash application.

View 1 Replies


Similar Posts:


Ajax :: In Terms Of HTTP Request Performance Pick AJAX Or Flash?

Jul 19, 2011

In terms of HTTP request performance should I pick AJAX or Flash? To be more specific, I'm more into Flash than AJAX and I'm currently working on a wide scale web project. I wanted to try AJAX out for once and now it's getting too messy for me. Before it gets more complicated I thought may be I can run Flash on the background for HTTP Requests and use it with javascript. I couldn't find any benchmark on the Internet, but I think AJAX is faster than Flash. So what's your personal experience? Is there too much difference between Flash and AJAX?

View 4 Replies

Ajax :: FBJS AJAX.post Is Not Working After Permissions Dialog?

Feb 21, 2011

I have problems with facebook application based on flash which communicate with PHP using FBJS-bridge.When someone use the application for the first time, he/she is asked for various permissions. After that, flash contact PHP with ajax but request is never sent. When you refresh page, everything is working without any problems.If you remove the application on privacy settings, refresh the page and try again -same bug happens.If you allow application, refresh page, in other tab remove application and start application in previous tab - user is asked for permissions but everything is working after allowing application.This is FBJS code

function openPermissions(){
Facebook.showPermissionDialog(/*permissions string*/, permissionOnDone);[code]......

openPermissions is called to display permission dialog, and on allow flash function allow() is called. In flash, allow() calls JS function ajaxCall(), which should make ajax request. But, ajax.post never sends request. I know that for sure, because flash function parseAjax was never called and also debugging tools in browsers are not showing any ajax requests. URL and parameters are same as when it is working. No flash or JS errors are detected...

View 1 Replies

Flex :: Flash - How To Implement Ajax Functionality

Apr 15, 2010

I have a requirement like when I type 2 characters in email field if that email id exists in DB then I need to show remaining emails starting with those characters needs to display in dropdown list. Like Tags part in stackoverflow site, Is it possible in flex this functionality?

View 2 Replies

Jquery :: Flex VS Ajax - Prototype Or Any Other Script?

Jul 9, 2010

I am rebuilding one product website where client has 1000 of products which he wants user to filter as per his requirement without refreshing page. I am confused I should hire flex developer or Java script developer to deliver such project, looking at low bandwidth issue in India, which technology is more preferred? will using flex can effect search engine to crawl/read website content?There are 30 odd filters for user to find his/her desire product.

View 2 Replies

ActionScript 2.0 :: Calculat User Seconds To Frames?

Jul 6, 2010

I'm trying to calculate the frame # based on an input field in seconds, the math seems simple but it escapes me, I suck at math

user input = 20(seconds)
mc has 1832 frames @ 30 fps

Math.round(bleh..I wont embarrass myself..));

View 3 Replies

Ajax :: Flex - POST To Servlet: Null Parameter

Jun 27, 2011

I'm working on a flex application and I need to call some data with a synchonous method. After some research, I've found a code from adobe that use ajax and external interface. That great. the code from adobe

When I send data with the GET method, the servlet read the parameters and print some infos (to check). But when I send data with the POST method, the servlet recieve the request, but the parameters disappeared.

[CODE]...

View 1 Replies

Flex :: Displaying Spinning AJAX Loader Image

Sep 6, 2011

I would like to display a spinning image, when my application is not connected to the socket server and is in an "offline" state.

So I've tried using an ajax-loader.gif, courtesy of http://www.ajaxload.info/
<s:Image source="@Embed(source='assets/ajax-loader.gif')"
horizontalCenter="0" verticalCenter="0" includeIn="offline" />

but unfortunately the bitmap is not animated (does not spin).

Is there a way to do that, how do you approach displaying a "loading indicator" in your Flex 4.5 programs?

Or do I have to fallback to mx.controls.ProgressBar?

View 2 Replies

Ajax :: Flex - Bridge On Safari - Cannot Call Any Of Public Functions

Jul 25, 2009

My flex project uses FA-Bridge, and apparently in Safari browser I cannot call any of my public AS functions that have arguments passed in. For example I can call this AS function from javascript:

[Code]....

In the above call safari throws an error # 1063, (i.e. Argument count mismatch) in the safari javascript console, and points to line 561 in FaBridge.js. It thinks I didn't pass in the requied parameters. Now the above issue exists only on Safari. Both of the above approaches work on IE, Firefox and Chrome browsers. Note: I am NOT using swfObject for embedding my swf.

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

ActionScript 3.0 :: Put User Submitted Input Text Into Dynamic Textboxes On Other Frames?

Mar 19, 2011

I have an input text box with the instance inputnameone. On another page I have a dynamic text box with the instance outputnameone. When I press button with the instance "submit", I want the information in inputnameone to go into output name one. From the basic as3 I've been able to learn I've written this actionscript:

submit.addEventListener(MouseEvent.MOUSE_DOWN, transfernameone);
function transfernameone(e:MouseEvent):void {
outputnameone.text = inputnameone.text;

[code]....

View 2 Replies

Professional :: Interactive Quiz - Three Questions That The User Must Answer With Three Possible Answers In Frames 3,4 And 5?

Feb 10, 2010

For my project i am creating a quiz on the Romans. There are only three questions that the user must answer with three possible answers in frames 3,4 and 5.I want to know the code that would help me to allow a Jpeg (an evaluation of the answer given on each frame) to be placed on frame 6 ready for the user to receive feedback for each answer they have given. So when the user selects an answer, the corresponding jpeg to that answer is placed ready on frame 6 for their arrival after they have answered the third question.

View 1 Replies

ActionScript 2.0 :: Input Text - The Later Frames The Information The User Typed In The First Frame Is No Longer There

Sep 16, 2003

I have a movieclip (named "checklist")with a great number of input text boxes in it. This clip is used early in the my movie (frame 1) and again at frames 20 and 30. The problem is that in the later frames the information the user typed in the first frame is no longer there. Now I could use the var parameter and set it to _root for all of the boxes, but I've been told that the var parameter is a bad way to go. Rather, I should use the name option instead, i.e. "myText_txt". I tried experimenting with objects, but I am not a programmer and so I am probably doing this wrong.

[Code]....

So, I am looking for a best practice. Should I just use the var parameter? That way all of the text fields update when the movie hits frames 20 and 30.

View 1 Replies

Ajax :: Detect If HTTP Request Is From Browser / Flex Asynchronous Request?

Jun 1, 2010

When Flex application make an asynchronus HTTP request, does it add a special header to the request, like some JavaScript framework does? Something that indicates whether this request is an AJAX call/not.I just want my server side code to return different response format, depending on whether the request is made from browser/flex.

View 1 Replies

Ajax - Making Multiple Asynchronous Calls To Fetch Result From Multiple Services In The Single Click Of A Button In Flex?

Dec 27, 2010

In one of our project we are using flex for front end, blazeds/java in the backend. Its an existing code where services are prewritten. I have to make calls to 3 services in the backend (basically 3 remote objects) and get their result and store the result in an object and show the data of this object in a view.
Now in front end we are using Flex and Parsley Framework. I was thinking of the following approaches.

1) Making commands for each service call and storing the result in a shared object (model) and then displaying this model in the view. In this approach the problem is some services are needed in some other web pages, but they donot need the same model. How should i handle this scenario ? Should i make a asynchronous remote call and fetch the result and then again dispatch and event with the event object storing the result.

2) Making a service call , wait for the result then make another call and wait for the result and then make other call, not sure if this is the right way ?

View 2 Replies

IDE :: Create A Preloader That Plays A Certain Amount Of Frames As It Loads The Rest Of The Frames

Nov 16, 2009

I want to create a preloader that plays a certain amount of frames as it loads the rest of the frames. So, I have labels on the frames basically and need a preloader to play the "loading" frames as it is loading the "content" frames. Does that make sense? I have no idea how to even start this one... p.s. I am using AS 2.0, but if it can be done in 3.0 easier, I can switch over its no biggie

View 4 Replies

ActionScript 3.0 :: Putting Multiple Instances Of The FlvPlayback Component In Different Frames And Using Buttons To Navigate To Frames

May 2, 2011

there seems to be no accepted method of playing multiple flv using buttons. My latest attempt has me putting multiple instances of the flvPlayback component in different frames and using buttons to navigate to those frames. It works but nothing anyone has posted anywhere will result in removing the flv when you go to a different frame and instance. This was simple in AS2. Load movie to a traget and each time you load a new movie the other one goes away. REALLY goes away.

View 7 Replies

ActionScript 3.0 :: Use Ajax From Flash?

Mar 25, 2010

is ajax/ javascript functions accessible from flash? in games like those at mindjolt it is irritatitng to wait for the flash file to load and initizalize  and then have the page change to the scores page again
 
i was windering if its possible to use ajax from flash? so the flash game sendds the score/ result to the page and only parts of it change, (developers can even choose to force pause the game for 5 seconds so the user registers/ submits score etc)
 
and then can continue. now what happens in page changes, then you need to return to the page and wait for flash swf file to load again ...

View 2 Replies

ActionScript 2.0 :: Move Frames Within A Movie Clip With Buttons On Other Frames?

Nov 24, 2011

basically im making a quiz on my main timeline ive got my questions and answers and on the last frame i want it to say how many answers the user got right. ive made a movie clip on this last frame. in the movie clip ive got 11 frames with the posible totals so frame one would be 0/10 frame 2 would be 1/10 etc what i want to do is when the user clicks the correct answer on the other frames i want flash to make the frames within the movie clip to go 1 step forward.

View 2 Replies

Flex :: Draw On Different Frames Of MovieClip

May 29, 2009

How can I used ActionScript to draw on different frames of a movie clip. That is, make it so that
movieClip.gotoAndStop(0);
Will show something different to
movieClip.gotoAndStop(1);

View 1 Replies

ActionScript 2.0 :: ExternalInterface And Ajax, Old Xml Loads Not New?

Mar 23, 2010

I've used ExternalInterface.call for an onclick flash event to load some xml with XMLHttpRequest. the xml loads. but if i change the xml file on the server, the old xml file loads for the client, not the new one. i believe the problem is that the browsers are caching the results. i heard that this could usually be fixed by returning false from ur JavaScript onclick handler. but i dont have a JavaScript onclick handler, i have a flash onclick handler.

View 6 Replies

Php :: Process AJAX Requests More Securely ?

Mar 19, 2010

I want to send AJAX requests to my website from my Flash games to process data, but I don't want people downloading them, decompiling them, then sending fake requests to be processed, so I'm trying to figure out the most secure way to process in the PHP files. My first idea was to use Apache's built in Authorization module to require a username and password to access the pages on a separate subdomain of my website, but then you'd have to include that username and password in the AJAX request anyway so that seems kind of pointless to even try.My current option looks pretty promising but I want to make sure it will work. Basically it just checks the IP address being sent using REMOTE_ADDR to make sure it's the IP address that my server runs on.

<?
$allowed = new Array("64.120.211.89", "64.120.211.90");
if (!in_array($_SERVER['REMOTE_ADDR'], $allowed)) header("HTTP/1.1 403 Forbidden");
?>

Both of those IP addresses point to my server. Things I'm worried about:

1) If I send a request from Flash/ActionScript, will that affect the IP address in any way?

2) Is it possible for malicious users to change the IP address that is being sent with REMOTE_ADDR to one of my IP addresses?

View 3 Replies

Ajax :: Creating A Virtual Tour?

Jul 12, 2010

we need to add a simple virtual tour to our web site. Is there any simple way to do this? do we have to create it from scratch? is there any service provider to do this on cloud?

View 1 Replies

Javascript :: AJAX And Playing A Sound Once

Nov 25, 2011

We have a website which displays status updates throughout our various facilities (they all have LCDs with a fullscreen IE page I point it to). Right now I go to my management page with a WYSIWYG-editor, type in the messages/updates, which saves it to a .txt file (alert.txt) and it updates the page on the screens via AJAX. The page on the screens checks for updates at a set interval of 5 seconds. What I want to do now is play a sound to alert when an update is given (the screen only displays critical network errors and such)[code]I've tried adding the sound clip via an embed HTML code (created a Flash object that plays it once upon loading the Flash object) to the text file, but this causes it to play once every iteration. Even if there are no changes.

View 1 Replies

Ajax :: Text Chat Between Two Different Clients?

Dec 12, 2011

I am looking for options for project architecture. Service - text chat between two clients. An experts or a teachers use an Ajax client, another - a students use a flash (AS3) applications (social networks, AIR apps, Android AIR apps, etc).

How best to organize a chat between the two? The server side can use PHP and mySQL.

View 1 Replies

IDE :: Loading A SWF Via HTML Button (AJAX)

Jan 7, 2010

I have a html site with three div tags, I want to be able to load an SWF into one of the div's via a html button.

I have looked into using AJAX and have this solution:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

[Code].....

When the html button is clicked it loads but displays a mass of nonsense code.

View 1 Replies

Flex :: Chances To Scroll Between Frames Like Documents?

Jan 24, 2012

I have flash movie with 5 frames in swfloader. Is there any chances to scroll between frames like documents?

View 1 Replies

Create AJAX / Pop-up Flash Window For Website?

Oct 1, 2009

I've been searching for a way to make a customized AJAX window, functioning so that when you click a link, an informational window pops up and the rest of the page is greyed out

View 1 Replies

Ajax :: Override Link Click With OnRelease?

Nov 20, 2009

I've got sIFR setup to replace a navigation menu (looks pretty slick). It's individually replacing the LIs and their internal links. I have an onRelease tag that throws properly, extracts the actual href link address, all good so far. I want to tie this into an AJAX page loader, with backwards-compatability (+SEO) for the individual pages being able to load themselves. I've tried return false like I would for standard links, no dice.

I'm assuming it doesn't work because it's onRelease, not onClick or something BEFORE it is already changing the page? onClick doesn't seem to be a valid sIFR function, documentation at [URL] onRollOver, onRollOut, and onRelease.

View 1 Replies

Javascript :: AJAX Or Something Else For A Web-based Demo Interface?

Dec 3, 2009

My company has some software which we use to acquire data and interact with some hardware. If we wanted to put a mockup on a website which allows the user to get a feel for the UI (gather some data, change some settings etc.), what are some good methods to do so?I'm thinking either some clever javascript or flash. I've done some JS before but only to style elements of a page. I did some stuff with flash about 8 years ago and found it really fiddly.

So my questions; Are javascript/flash reasonable solutions for this or is there something better. What is likely to be the simpler/quicker route? Is there a better way to achieve the end result?] The demo doesn't need real data, just some fake/dummy example stuff is fine.

View 3 Replies







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