Actionscript 2.0 :: Grab An Object Like A Salt Shaker And Pour Grains Of Salt On The Plate?
Jul 30, 2011
how to grab an object like a salt shaker and pour grains of salt on the plate? I have built a small flash file that has the mouse move the salt shaker on a angle, but I don't know how to make salt animate out on the plate - I don't know how to create a "scatter" effect and leave the salt particles on the plate.
View 1 Replies
Similar Posts:
Jul 28, 2011
I have built a small flash file that has the mouse move the salt shaker on a angle, but I don't know how to make salt animate out on the plate
View 0 Replies
Apr 8, 2011
I need to be able to transmit data from a Flash browser application to a PHP file on a web server, both securing and validating the data whilst and at the same time trying to prevent unauthorised creation of the message. (I want to try and ensure that the message comes from the application, not a user sending a message via another means).
In a C++ application I would Salt the data, and send the hash of the data along with it, and then validate the hash against the data to ensure integrity and source.However, in Flash (& Java), applications can be decompiled so that the source code is viewable. So if I used this method, someone could (relatively) easily find the salt, and then create a 'valid' message of their own to send outside of the application.
Is there any way I can 'hide' this salt code to help secure the transmission? Yes, I know there are code obfuscators, but they don't fully hide the code, just add another layer.Or is there another method entirely that could be used to transmit data and validate the source & content at the PHP end?
View 3 Replies
Dec 16, 2009
I want tp encrypt and decrypt string, with defined salt. But the result must be same if the code run in java and adobe flex.The main goal is: the app in adobe flex will be generate a string that can be decrypt in server using java.Try to 'Secret Key' Tab. I want to use AES Encryption, 'CBC' or 'PKCS5'.
var k:String = "1234567890123456";
var kdata:ByteArray = Hex.toArray(k);
var txt:String = "hello";
var data:ByteArray = Hex.toArray(Hex.fromString(txt));;
[code]....
View 2 Replies
Oct 29, 2003
how can i grab an object and rotate it with an object which is on it rotating [meaning that the second object is on the same possition on the first object?] can i make it being horizontal all the time?
View 14 Replies
Jul 26, 2007
anyone saw some open-source or tutorial where u can grab an object and move it around and at the same time rotate the object deppending on the place you grab it. some physics maybe. like a cd-case moving on ice
View 10 Replies
Apr 2, 2009
I've been trying to find a solution through books and online about how on earth to highlight just the in-between and edge areas of the object tweens, and either delete a certain amount of them like you can with classic tween, or be able to grab those little diamonds and move them along the timeline.
Of course this may be a stupid question since the new tween is all about the OBJECT, and the motion line that it creates on the stage with the "ticks" that are keyframes, may be what needs to be manipulated like the object itself instead of the timeline. I'm not sure.
At One point I had a whole lot of extra frames hanging off the edge of my one motion tween--(after I copied & pasted frames) --I highlighted them to remove any portion of it, but it removed all the rest of my keyframes as well.
View 2 Replies
Mar 27, 2009
I've been looking all over for a script that lets you grab an object, it swings as you move it around, and then lets you throw it. I've seen this in games and goofy Flash sites.
View 2 Replies
Nov 16, 2010
Var.ball:MovieClip
Ball.y = 0
Var moveArrayY:Array = [5, 13, 2, 6, 7, ]
Var GameSpeed:Timer = (??? 1 second???)
I'm trying to
1. Move this object based on the next array position
2. Wait for GameSpeed to cause a 1 second pause
3. Move this object based on the next array position
4. repeat steps
View 3 Replies
Jun 7, 2010
For a site I'm developing with a user login that uses cookies to store the session ID, a separate section of it uses Flash to provide content and such. Is there some way it can access the cookies that were set the by login? The name of the cookie will not the be same every time, as it is randomly generated, as well as its value. I then need to send the name and value of the cookie back to a page on the server to do additional stuff. Anyone know how to do this? Note that I didn't write the Flash interface, an the person who did doesn't know how to do this.
View 1 Replies
Jul 11, 2010
I am trying to grab a webpage with actionscript, but keep getting this error
[Code]...
View 1 Replies
Mar 18, 2010
I have some buttons named bt1, bt2, bt3 etc
They have a common function for when each is clicked called buttonclicked.
Within the function buttonclicked, I'd like to grab the number off the end of each button name so that I can compare the number to a global variable I have called global.data.clicker
so...
if (number at end of event.target.name == global.data.clicker) {take action...
Is it possible, and if so, what code do I need to put in the first part of the if statement to make it work?
View 2 Replies
Jan 8, 2012
How to create a script of some kind to grab a still picture from a live stream and save it as a JPG file?
In this way a cron job can tricker the script and thereby grab a picture fx every 10'th minute and the picture can be shown on a website so people that are not attending can have a look into what is happening in the live stream.
View 3 Replies
Jun 23, 2010
I need to grab values from the querystring and inject them into a getURL(""); snippet that's in the on (release) {} for a button.So if the URL that contains the embedded swf is
[URL]
I'd like to get that otherdomain.com and inject it. Something like
var returnUrl = "";
// do magic querystring getting
getURL(returnUrl);
*Edit: I need to snag the querystring because I don't have access to the embed code. It's being rendered by a third party (Articulate) and loaded into a frame. I do have access to the code that renders the frame html, which is why I figured query string would be the best route, and one button that's used in the presentation.
Note, I live in C# land, not ActionScript land so I most likely butchered the syntax. I just need to get this button working as a one off and I'll probably never deal with it again.BTW, I've seen the abdulqabiz QueryString object that's floating around out there but it kind of seems like overkill, like there should be something baked into the framework for this. I also lack the knowledge of how to incorporate this into my little button on (release) {} event
View 2 Replies
Jan 28, 2011
I need to grab a parent node in flex without an event listener.
View 1 Replies
Jan 22, 2009
I wanted to know if it is possible for AS2 to grab the base domain and set it as a variable. This would also need to work for any domain possible. For example for [url].. what ever the combination it would always return "yahoo". This would need to work with the domain the swf is being viewed on so the domain wont just be 1 domain.
View 2 Replies
Apr 8, 2009
Ive just made a "browse" button with FileReference and it works well, now Im trying to "catch" the location of the file that you select and put it on an input text.
[Code]...
So far Ive tried with that code and works but ".name" only display the name and the extension of the file, and I need the full location.
View 4 Replies
Jan 29, 2010
how to to a grab website in flash? Like: [URL] were u can drag around at the content with your mouse by yourself and not using the scrollbars.
View 1 Replies
Apr 2, 2008
I am trying to grab the attributes of a node, and can't target it.
Code:
<?xml version="1.0"?>
<header>
<scoreboard url="simpleScoreboard.jsp"/>
<background>
<folder url="media/headers/" count="10" prefix="header_bg_" suffix=".jpg" override="false" startTime="10" />
[Code] .....
Will trace the url attribute of the first node but I can't find the correct targeting for the node I need. I've been using AS 3 to do all my XML stuff but I can't use AS 3 for this project unfortunately and I don't really get it with AS 2.
View 6 Replies
Mar 27, 2004
I've just started playing with arrays in MX, part of my project needs to have information from an array loaded into a dynamic text box one by one, ie
Click the button, text[0] displays, click again, text[1] displays, etc.
So all I have to do is grab the first index and add one each click right?
View 3 Replies
Jul 12, 2004
Can anyone point me in the direction, or throw me some code on how to grab a certain number of characters, or words from a variable ??
View 4 Replies
Dec 18, 2009
I need to allow the user to upload an excel file of simple part numbers so that Flex will grab those part numbers and use them in a query.
View 1 Replies
Feb 24, 2010
Is there a way (using flash) to grab the raw html from another browser frame? I'd like the following sequence:
Launch my window from [URL]...Launch window from another site [URL]..which has content I want to grab.Let my window grab the raw html content from the other window.
I doubt this is possible because it could be used for dastardly purpii, but just wanted to check.
View 1 Replies
Mar 16, 2010
I have a flash applet that I want to grab a remote XML file and read it in as a string, how can I do this?
View 1 Replies
Sep 22, 2009
I have a project that works quite beautifully right now. I have come to my next task. Creating swfs that are loaded into another swf. This newly loaded swf needs to grab some variables from the main swf's document class or global variables class that I have created. I have set the class path as such that it can access the classes as needed. I did not set a document class.
Structure of loaded swf:
core.swf -> loadedBackground.swf -> interactive.swf
1.) Classes are all located in a folder titled classes
2.) cores.swf is outside the classes folder and is linked to document class within the classes folder: BuildCourse.as
3.) swfs folder contains the loadedBackground.swf and interactive.swf
4.) How can interactive.swf grab variables from the main.swf after it is compiled?
View 3 Replies
May 4, 2010
i know this can be done through custom cursors.. i can write up a class to listen for mouse move/over and then show the hand symbol by hiding the original.. but is there any other way which avoids use or writing enter frame/mouse move type listeners...something like
Code:
mc.buttonMode=true;
mc.enablecustommousecursor=true;
[code].....
View 7 Replies
Mar 12, 2009
I'm trying to access Flashvars that I declare in my HTML from a SWF that gets loaded after an intro animation.
I am able to access one of my Flashvars in the opening SWF just fine, but when the next SWF loads, I'm unable to access my Flashvars.
HTML Code Snippet: Code: Select all<script type="text/javascript" src="js/swfobject2.1.js"></script>
<script type="text/javascript" src="js/swffit.js"> </script>
<script type="text/javascript" src="js/swfaddress.js"> </script>[code].......
Am I not targeting it properly?Alternatively, I've tried storing the flashvars URL in a variable in my root SWF and accessing it from the loaded SWF, but I can't seem to grab it. How would I grab a variable that is declared in my root SWF?
View 1 Replies
Feb 5, 2010
Can you just confirm for me that the only way to change the cursor to a "Grab Hand" (ie an open hand rather than a pointy finger) is to make a custom cursor?
View 3 Replies
Apr 20, 2004
I'm trying to grab the number of variables I'm loading using LoadVars.
View 5 Replies
Nov 26, 2005
on this [URL] excellent site you can grab and throw each book.. how does he change the cursor to a grab hand?
View 7 Replies