ActionScript 2.0 :: Load Movie From A Basic Authentication URL
Nov 8, 2010When LoadVar,the method addRequestHeader can be used. But when loadMovie or loadMoiveNum, How can i set the request header
View 1 RepliesWhen LoadVar,the method addRequestHeader can be used. But when loadMovie or loadMoiveNum, How can i set the request header
View 1 RepliesWhen LoadVar,the method addRequestHeader can be used. But when loadMovie or loadMoiveNum, How can i set the request header
View 0 RepliesHow would one create a video or audio stream using OSMF when there must be basic authentication on the url?Can one feed in Audio/Video using HTTPService to provide the header authentication?
View 2 Repliesi would like to open a URL in a new browser tab from Flash (by clicking on a button). The page is protected with basic http authentication (the browser displays the login window), but i would like this authentication to be automatic.
The code i have now is this:
Code:
var urlRequest:URLRequest = new URLRequest("some_URL");
urlRequest.data = new URLVariables("name=John+Doe");
urlRequest.method = URLRequestMethod.GET;
[Code]....
I have a system where users authenticate over Flash and then they should be able to browse various folders on the server, which are protected with the same user/pass and i don't want them to enter the authentication twice.
I would like to load a an image from an external domain and I have the below so far:
private function get_coverArt(coverArtID:String):void
{
var requestString:String = "/rest/getCoverArt.view?v=1.5.0&c=AirSub&id=" + coverArtID;
[Code].....
I want to call web service which has basic authentication.once url get authenticated then want to call particular service example xyz() which takes 2 parameter and return a flag .
View 1 RepliesI am searching for a super basic example of loading xml into a couple of textfields. Everything I find is way more complex, looping through huge lists and adding children etc. I have 2 named textfields on stage headline_txt and body_txt. I want to set up an xml file that has 2 items, 1 for each textfield and AS3 to load and display them.
View 10 RepliesI edited a video and am trying to just throw it up as a basic flash video for an April Fools Joke but it's not working for some reason.
Code:
<object type="application/x-shockwave-flash"
data="movie.swf"
width="100%" height="100%">
<param name="movie" value="movie.swf" />
<param name="quality" value="high"/>
</object>
It will play just fine when I demo it on my own computer but when I upload it to a web server it doesn't work anymore. It shows that there is a Flash object. When I right click on the object it gives me the normal "Zoom In" and "Quality" buttons, but the movie itself doesn't play. And I do have the html file and the swf file in the same folder and it is named movie.swf. There is no other html code in this webpage than the above.
I am trying to create a basic flash script to load an external swf file using MovieClipLoader class. Here's my code:
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);
myMCL.loadClip("splash.swf",5);
I simply copied it from a tutorial. Unfortunately it throws an error message as follows:
1046: Type was not found or was not a compile-time constant: MovieClipLoader
1180: Call to a possibly undefined method.
PS: I have CS3 professional in my machine but I am following Flash 8 book. But my CS3 application supports AS1, 2 and 3.
I'm trying (and failing it seems) to teach myself Action script and I'm having a really tough time with what I'm sure is something that quite easy to do. Basically I have one button. When this button is pressed I'd like it play a movie. When the button is pressed again I'd like to stop playing the movie. In the first frame of the movie I've put a stop action so that it doesn;t repeat itself when it finishes playing. In the last frame of the movie I've put gotoAndStop(2); In my main timeline I have 2 layers each of which has one frame. The button is one layer and the movie on the other.
[Code]...
I'm trying (and failing it seems) to teach myself Action script and I'm having a really tough time with what I'm sure is something that quite easy to do. Basically I have one button. When this button is pressed I'd like it play a movie. When the button is pressed again I'd like to stop playing the movie. In the first frame of the movie I've put a stop action so that it doesn;t repeat itself when it finishes playing. In the last frame of the movie I've put gotoAndStop(2);In my main timeline I have 2 layers each of which has one frame. The button is one layer and the movie on the other.
I selected the button on the stage and gave it the actionscript
on (press){
gotoAndPlay("vcsound_mc.play(2)");
[code]....
I've got a basic little slide show player which is timeline-based, rolling through 5 images with alpha transitions, and on the topmost layer, I have 5 invisible movie clips which have actions applied to them as follows:
on (press) { gotoAndPlay(21);}
This action should allow for the on click button to navigate to that specific frame, or image, but for some reason it is not working.
i'm having this weird pb i don't understand, could someone help me? i'm driving crazy here..what i do is load a movie from a movie but the 2nd movie load a variable. when i test the 2nd movie, it loads its variable and displays it as wanted, but when i load it from the 1st movie, the 2nd movie loads but seem not to load anymore its variable..
[Code]...
I'm currently making an animation which will eventually exceed the 16,000 frame limit (don't ask haha), so, short of making two movies and having to just start up the next one, what is the code for loading a movie? I presume they need to be in the same directory? So basically all I want is on the last frame of the movie the code executes and the second movie file opens up and starts. I guess I'd want the current movie to close, too.
View 1 RepliesI Have 3 Movies:MAIN.SWF, contains loading movie actions for Nav.swf and Home.swf.NAV.SWF, contains navagation menu loaded on Level 2 in Main HOME.SWF, contains slideshow for home page loaded on Level 1 in Main In NAV.SWF, there is a MOVIE CLIP "graphmc", which contains a BUTTON "graphicbtn", When this button is clicked, I'd like the HOME.SWF (which is loaded into Main.swf on Level 1) to fade out and unload, and load and fade in Graphics.SWF in place of it.
View 6 RepliesI have a windows server(2003) with FMS 3.01 and already installed Authentication Add-in (3)... Already open' up a command prompt and added users using users.exe ($ROOT/conf) and checking them after, but when i go and publish something with FMLE 3, it still doesn't promp for a user and pass login. Restarted the server and everything else, and nothing seems to work!
View 16 RepliesPreferably something that integrates well with a Flex front end. Yes the Spring Security guys say this is possible, but all examples seem to use legacy jsp tag libraries making them half useless as examples.I don't want to spend a month setting up and learning how to use a security tool. I would like a tool which supports using annotations (@RolesAllowed etc), MINIMAL XML, and 'remember-me' features (not cookie based).Apache Shiro seems to support Flex/Silverlight/Swing as well but I'd like to know if there are any other alternatives that are NOT container specific.
View 3 RepliesI'm building a site that is placed behind a client login tool. I simply need my site to verify the users "authentication level" so they are forwarded to the correct "label/frame" on my time line.
I.E. Owners go to the "Owners" label on the time line, Managers go to the "Managers" label on the time line and Employees go to the "Employees" label on the time line.
I know Flash is accessing the PHP file as when I change the name of the PHP file, Flash provides an error. Therefore, I'm assuming it's reaching the file as I'm not getting any compiler/output errors.
My Actionscript
stop();
loadVariablesNum("newlogin.php", 0, "POST");
{
if(_root.checkLog = 100)
[Code].....
This PHP file is stored in the same folder as the FLASH SOURCE files and is pointed to it through it's local address ("newlogin.php", 0, "POST);
I am pulling double duty with this question as it serves two purposes. I am developing a total flash controlled ad system for myself, but also need to use the same theory for a project for work.
Concept: I have a main movie (ad rotator system) that I then want to randomly load other swf's (individual ads) into this main swf after a set period of time. The random load I got set no problem. The problem I am having is to get it to move to the new Frame label of the main movie which then loads the smaller swfs. I am using the LoadMovie with nInterval time delay command in flash to load the movies.
[Code]....
I'm using FMS 3.5.3 Developer edition and trying some VOD solution before I can proceed to purchase FMIS 3.5. Basically, I need to have a mechanism for certain sets of flash movies to be secured by user authentication.
Now, for Apache, I can secure a directory of webpages by using .htaccess; whilst for IIS or Windows Media Service, I can use NTFS ACL at directory level. My question is: How can I setup a VOD subdirectory that every video files inside need to be authenticated before streaming to client. The authentication authority can be either Active Directory or LDAP.
I've read the developer guide and notice that such authentication requires both client-side and server-side ActionScript. But I'm not a Flash author and I don't have Adobe Flash CSx installed. Can't this simple authentication be done at configuration level?
when i enter the following commend users add -u username -p password it returned the following error users: invalid option -- u
View 7 RepliesI'm trying to download Flash CS5 through Download Accelerator Plus (DAP). I've already logged into Adobe website but my DAP keeps on asking username and password authentication for trials2.adobe.com. It does not accept my Adobe username and password. What then is the username and password for trials2.adobe.com supposed to be?
View 1 RepliesI am having a scenario where I need to access a service but when accessing it, I get an HTTP authentication popup of browser. I don't the users to see this. I talked to a guy working on same thing in some other technology and he mentioned that they are using Digest Authentication. I need to know how this can be achieved in Flash.
View 1 RepliesThe FMS_auth_addin_win_v3.msi insists to put the files into C:Program Files (x86)AdobeFlash Media Server 4conf but the server is installed in C:Program FilesAdobeFlash Media Server 4. I nuked all the Abobe content in the 32 bit area, but it keeps re-installing it there. The server used to run 32-bit FMS 3.5, but since we upgraded, I can't get the authentication addin to work. Can I just copy the thing over?
View 11 RepliesI'm making an Air file that uploads and overwrites an XML file.
So far, the php is very simple:
$everything = $_POST['saveThisXML'];
$everything = stripslashes($everything); $toSave = $everything;
$fp = fopen("settings.xml", "w"); if(fwrite($fp, $toSave)) echo "writing=Ok"; else echo "writing=Error"; fclose($fp);
I'd like to set up a user name and passowrd that the user enters in the Air app. Is it then just a matter of sending POST data to the php file, and have it check the user and pass variables? Is that a reasonably safe way to do it? If not, can someone please point me in th edirection of a good tutorial that they're used on this topic?
I need to authorise my Flash game (which runs on Facebook) users against my game server. I'm able to get their data like id, access token, etc, from Facebook on the client (I'm using the Flash Facebook API) but I'm not sure how to authorize them on my game server (e.g. do a login with a database query). One scenario that I have on my mind:
If I could get the same access token from Facebook on both the client (which I already do) and the server (with, for example, a redirect URL, which I tried but does not seems to work), then I could easily compare the two tokens (together with the user IDs) and thus authorize the user. UPDATE To put it simpler, I want to catch the token that is returned from Facebook on the server-side before it gets to the client (it can be a simple PHP script that parses the URL token parameter). Next, store it in the DB on the server, and when the client queries the server, I can do the comparison.
I am creating a website which will contain both ASP.NET pages and a Flash applet.I want to encapsulate my business logic in a WCF service which will be exposed through two endpoints: One accesssible over the Internet through HTTP(S), for use by the Flash client, and one accessible within the data center for use by the application servers.If this does not seem like a good approach, then stop me here; otherwise, I'll move on...
The question is how to authenticate requests coming from the Flash client. Since I don't want to store the user's password in a browser cookie, don't want to send the password with every request, and don't want to have to use HTTPS after the initial login, I plan on using a token-based authentication system. I also don't want the user to have to log into the Flash client after already logging into the site itself, so I plan on using Javascript to pass the token to the Flash client when it starts.
I know WCF supports using the .NET Framework's built-in security framework (System.Security) to enforce access control, and I would like to take advantage of this.The question, then, is: How do I pass the token to the WCF service when it is called by Flash, and how do I process the token on the server? WCF has an "issued token" authentication mode, but it appears this is intended to be used in a full-blown federation scenario with a Secure Token Service and SAML tokens--a bit more complexity that I really want. It is possible to use this mode with my own "simple random-string" tokens? If so, how? Keep in mind this needs to be compatible with Flash.I could potentially pass the token in a header (either a SOAP header or an HTTP header). In this case, once I've determined which user is making the request, how do I inform the framework so that the System.Security checks will work?Is there a different approach altogether that I should consider?Anything that avoids sending passwords in every request, lets me use System.Security, and works with Flash is a possibility.
I want to have flex portlets side by side with JSP portlets. How can we implement the authentication mechanism? [ Authentication will be handled by the portal and how can we share the same session with flex portlets ]
View 1 RepliesI am developing an application in Adobe Flex. This application is to be hosted on a Joomla Website. I want to achieve Single Sign On between my Joomla website and this Flex Application. The Users log in using the default Joomla Mechanisms however I want the username as well as some other details about the user inside my Flex Application.
View 1 Repliesi 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
[flash]----request---->[server X]----request---->[server Y]----response---->[server Y]...