ActionScript 3.0 :: Create TOKEN RING In Adobe Flash CS3/CS4?
Aug 11, 2009
We've got a project in our ActionScript class which is a TOKEN RING or on how the token ring works. Now, our teacher just gave us 2 weeks to finish this project and he doesn't even started teaching the basics of actionscript that's why we really don't know how to start this project. Keep up the good work. What I really need now is the code in actionscript.
View 3 Replies
Similar Posts:
Dec 7, 2009
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.
View 1 Replies
Jan 3, 2010
What is the best way to create 3D-content with Adobe Flash?
View 1 Replies
Jul 2, 2009
I am a graphic designer with many years of experience in Creative Suite Design Standard software. However I'm just beginning to get into Flash and have a project where I need to create a simple page-flipping brochure. My client has a 3-fold borchure in both SWF and JPEG formats which she wants to turn into a Flash flipping book to post on her website. I have the CS3 Web Premium package but I want to know if I need a third-party page flip plug-in or does my version of Flash (9.0) include the page flip engine?
View 3 Replies
Dec 6, 2011
if I can create a SWF in Flex WITHOUT using Flash Builder ?
View 4 Replies
Feb 23, 2011
I want to develop a web application that when a user is login the game will automatically search for oppents onlinethat are accessing the same website. I want to design a chess game that does not contain any AI programming. What I want is that a simple chess setup that online user can only play.
View 1 Replies
Apr 2, 2012
How do I create a normal calculator using Adobe Flash CS 4 & Action Script. I created a calculator using buttons & layers in CS4 but the result is coming as NaN?
View 4 Replies
Mar 21, 2011
Multiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
View 2 Replies
Oct 29, 2010
I would like to create an Options Menu in my Flash AIR application for Android. I've figured out already, that this ActionScript code could be used for capturing the hardware Menu button press event:
stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
function onKeyDown(event:KeyboardEvent):void {
if(event.keyCode == Keyboard.MENU) {
event.preventDefault();
trace("Menu Pressed");
}}
But how do you create the actual menu? If you can't do it with AIR, then has anybody tried to recreate/mimic it manually already and could you please share the properties (colors, transparency, any gradients?) and transitions (sliding in/out) you've used? I've found some guidelines already, but any Flash-specific tips/properties (like which easing to use for sliding transitions?).
View 2 Replies
Jan 7, 2011
Is there any simple way how to pack existing Flash8 project using AS2 and multiple files to to Adobe Air application?
View 2 Replies
Oct 5, 2011
Create a full page background image slideshow like [URL] using Flash? I'm new to flash and I want to know hoe to create these full screen image slideshows, that start on page load and scale proportionally just like the above two websites, using Flash CS5 AS3.
View 3 Replies
Jul 2, 2010
I wan't to do an authentification system with fms using the token concept.I don't know how???
View 9 Replies
Mar 26, 2012
I'm using the actionscript api for a flash application on the web. I would like to perform actions which require an access token, but I'm unsure of the security implications of using this in flash (which can be decompiled). Is the access token something I need to keep secret?
N.B. Specifically I'm trying to post game achievements which require the app's access token to be passed. But I'm not sure how I can do this securely from flash (or whether this is not an issue).
View 1 Replies
Feb 25, 2011
i was wondering if anyone have experience with this, I'm planning to do a security token app for the iphone to access a server, but i have no idea where to start, the security token im talking about is like the blizzard authenticator or bank tokens, they produce a code that last for 1 minute and allow a login, but my question is how does the system work?
View 0 Replies
Mar 31, 2011
rtmp connect takes a token. My connect looks like below.
connect(server,"123456789");
Using fmscheck I am not able to pass token in the query string so that in my connect I can access the token.How would I use fmscheck to pass a token so that my connect so that onConnect will have a token.
application.onConnect = function(new_client,token) // token -> 123456789
{
}
View 3 Replies
Jan 3, 2012
I looked all over facebook api docs for FLEX and i couldnt find a way to obtain a new access token, can anyone please guide me how to that?By the way , the only time I get error "access token" is when I try to get information from the api and using the parameter "since".when I use this call, im getting a token error massage [code]and when im using it without since FacebookDesktop.api("me/likes",handleFeed);
View 1 Replies
Mar 26, 2012
I have a page with multiple YouTube embedded players that I need to listen for events on. I am trying to use the solution posted as the answer to Using Youtube's javascript API with jQuery, but I am getting a strange error: (in Chrome 18.0.1025.137 beta-m)Uncaught SyntaxError: Unexpected token %That is the extent of the error, including stacktrace. My code is like this:
var onYouTubePlayerReady = function (id) {
var evt = '(function(){})';
alert(eval(evt)); //just to verify that the snippet is syntactically correct
[code]....
View 1 Replies
Jan 9, 2011
How can I get a random point within a ring? Like, the space between two concentric circles. I make the circles in code myself so I know the radius, etc. This is for a game I am working on where I am spacing the enemies out in waves, or different rings spaced from the center of the field. I was thinking the only way is some kind of loop that checks points or something. As3
View 2 Replies
Mar 31, 2009
I'm working on a flash navigation widget for this site: [URL]. As you can see, when you click on one of the buttons on the ring, the ring rotates down to the item you selected. This was accomplished with the Rotation Smooth - Helper component that I got here: [URL]. My problem is that the component is quite limited in functionality and doesn't work as expected. For example if you click on the "Download" button, and then back on the "Products" button, the ring jumps back to that location instead of rotating back smoothly.
View 5 Replies
Mar 4, 2012
I have been making huge strides in learning Flex and I am very much enjoying it, however,one thing I cannot find is how to bind results from a query in Flex. I have managed to create lists etc no problem but when I try to bind one specific value to a variable, it does not work.First off, here is my PHP function:
public function getRepnameByUsername($itemID) {
$stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename where Username=?");
[code]......
View 1 Replies
Nov 3, 2010
My button doesn't have a blue focus ring around it, even though it has focus. I've got a component with a RadioButtonGroup and a Button. After a selection is made in the RadioButtonGroup, focus is switched to the Button. I added click="focusManager.setFocus(myCloseButton)" on the VBox.
After, a radioButton is selected, if the user clicks the spacebar the Button fires. So, as I understand it focus was switched to the button. But, the button doesn't get a blue focus ring surrounding it. How do I get the focus ring? I have visible="false". I turn them to visible, after some effects are finished. So, don't let that throw you.)
[code]...
View 1 Replies
Feb 8, 2009
How do I draw a ring or a center less circle in as?
View 2 Replies
Apr 26, 2011
In flash, I designed a ring button. I placed as3 code, tried, works well. Except that, When I rollover the center of the hole, it still returns hyperlink. I don't want it to happen. I think it is done with sprites, but I don't know how to do it...
View 4 Replies
Dec 8, 2009
I have seen a few blog entries on this and have had a discussion or two with my team mates but I would like to see what the stack overflow community thinks.
So why does the Adobe Alchemy Tool create so much faster running flash byte code than the flex compiler?
Also, when will the flex compiler be able to make similar performance gains? Will it require programmer specific use of special Array's or something of that nature to get the same performance?
View 2 Replies
Jun 5, 2005
I have this problem...no worries it is only about ActionScript! I have created two movieclips: one is called "sun_mc" (with a nice smile) and a ring of sunrays (short and long ones) called "ring_mc".the ring is situated around the sun.
The user clicks the sun and drags to rotate it.The user can click the ring to rotate that too.When the sun is rotating...the ring should not be...and vice versa.
I have three problems...
1) I can't get the two mc's to move independently 2) When rotating the mouse position always jumps to a certain point on the movieclip...not the point where you clicked it first 3) The ring is also rotating when the mouse is outside the ring...
What should I do?I tried to obscure a part of the ring_mc with some masking...That didn't work.Should I try hitTest? And how should I do that? That only works with squares doesn't it?
[Code]...
View 2 Replies
Apr 18, 2006
I'm looking to make a continues ring of imags that will load from a XML file. So the Flash will have 8-12 images displayed verticly and will have a auto rotate at top and bottom.
View 2 Replies
Aug 6, 2004
1. I want the user to be able to activate a ball (ball_mc) which will rotate around a circlular ring (ring_mc).
2. I want the user to be able to control the speed or tempo at which this ball moves around the ring.
3. One rotation of the ring will equate with a bar of music. Therefore the user should also be able to decide on the beat length of the ring in musical time i.e. 2,3, 4, 5, 6, 7, 8, 9, 10, or 12 beats.
4. On the ring the user will also be able to place movie clips which represent percussion sounds (duration_mc) and I therefore also want the ball_mc to trigger the percussion sound when it encounters the duration_mc.
5.I want the percussion sound triggered to be determined by the colour of the ring_mc and the user should be able to drag different coloured rings on to the stage. I have created an empty movie clip called canvas_mc to house the rings and I have seven different coloured rings which will each have a different associated sound.
View 5 Replies
May 30, 2010
im following some suggestions to cut my flash website into a few sections to make preloading a bit easier.
so all i want is to make a small round ring rotate as long as the file is loading. so i looked and followed a lot tutorials but all the preloaders tutorials are much more compliceted then i need. they all have persentige sowing, and a bar that is filling according to how much the file has loaded, and colors changing etc. so i tried to take from the tutorials wat i need for my simple preloader to work but i get stuck.i built the animation of the rotating ring, but i get stuck with the actions i need to make the animation work as long as the file is working. i called my ring animation "circularloader". here is a image of the page with the ring:
View 14 Replies
Dec 23, 2010
In my machine I have installed only Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?
View 12 Replies
Dec 28, 2011
I want to create a simple game (Adobe Air) based on 2 players using ActionScript 3.Let's assume I want to create online chess game.So that I can play with my friend at work, at home, from anywhere via internet.Should I use flash server? Or something similar for this purpose, or there is simpler way to connect 2 players and make fully functional interaction between them?
View 2 Replies