Multiply A String Ex:"apple"*2 = "appleapple"?
Apr 29, 2009How can I multiply a string ex:"apple"*2 = "appleapple" (as2)
View 3 RepliesHow can I multiply a string ex:"apple"*2 = "appleapple" (as2)
View 3 RepliesExample: Pig picks up apple with pig.addChild(apple); if say, a bird wants the apple but the pig has it:
[Code]...
and the pig and the apple touch the bird, the apple stays with the pig. If an object is a child of another object such as the pig, it is (the apple in this case) dependent to only that object(the pig)?
I write a code which is return the following XML which contain in a string type variable.
[code]...
Now i want to multiply all the nodes with 3 and again store in that string type variable. how can i do this?
I was playing a flash game when a friend of mine showed me some Cheat Engine trick where you can search for integers in a flash game. eg your score is 100. To find the score, you'll need to search for the value 800 in Cheat Engine—this is probably a popular trick nowadays.I've never played with Cheat Engine before, but I understand that it's a memory editor? I thought it had something to do with bits and bytes; 8 bits = 1 byte, but I'm not sure at all.why you multiply by 8?
View 1 RepliesThe scenario is that I am making a site mith multiply swf files that I want to be preloaded in the background. For example, when you are on the main page, I want page 2,3,4 and 5 to be loaded during the time you se page 1. so fi you klick page 2 the preloaded continue the preloading process,, for the rest of the swf files
View 6 Repliesi must load one swf and multiply it 3 times. The swf is loaded (it is more than simple ) but the main problem is how to multiply it. I can't find method like duplicateMovieClip(). I need the animation and it can't be done with just taking the BitmapData of the swf. I try with some searches but no result for now. I think it could be done with creating a class runtime if it's possible.
View 3 RepliesIs there a way to control the blend.multiply transparency value?
code:
Code:
import flash.display.Sprite;
import flash.display.BlendMode;
var c:Sprite = new Sprite();
[Code]....
I know its kinda nonsense controlling this value, but what I m trying to achieve is a less "transparency" over the objects, but maintaining the multiply effect.
I have a point which is 3,5 I want to scale, or multiply this point, by a factor of 5. To give me 15,25 What I'd really like to be able to do is: mypoint *= 5; but that doesn't work. I can't find any suitable method in the point class either. So what I'm trying to do now, which all research indicates should work, is:
[Code]....
I've been playing with the color transform in actionscript and have discovered that using the multiplier functions it colors black areas and preserves white by default. I really need it work the other way around.
View 2 RepliesIf you go to [URL] and check out the preloaders on the various pages, you'll see that when it reaches 100% many circles are randomly resized to eventually cover the whole preloader. I'm trying to do something similar to that effect using just Actionscript.
View 1 RepliesFrom what I understand, Apple has banned the Flash runtime on the iPhone because Apple doesn't want an alternative runtime environment to that which Apple provides via their own tools. Allowing a Flash runtime, according to Apple, would allow developers to circumvent application update policies and other controls which Apple has put in place. And at this time, Adobe has not chosen to build tools to statically compile apps created in Flash.
My further understanding is that .NET apps created via MonoTouch are statically precompiled and hit the iPhone as native code vs. running inside the .NET common language runtime (CLR), which Apple would surely disallow. Since .NET code is not executing in Microsoft's runtime but rather natively on the iPhone CPU, Apple isn't complaining.
Am I correct about why Apple allows .NET-developed applications on the iPhone?Is one vendor's precompiled, native code on the iPhone (or any platform I suppose) distinguishable from any other? In other words, is native code that's produced by MonoTouch indistinguishable from native code produced by compiled Objective C code? Is the source of the native code totally opaque?
I have two swfs:application swf p2p client swf that allows to load data using rtmfp replicationtechnology (through cirrus service)The main idea is to have one p2p loader on the certain domain that will able to work in p2p network without asking many times for permission for each domain, so for instance:
application 1 (http://domain1.com/app.swf) |
application 2 (http://domain2.com/app.swf) | <--> p2p data loader (http://domainp2p.com/p2pcli.swf)
[code]....
I am working on a project where I need a lot of calculations.I found a really strange and very annoying problem in Flash: If you try to multiply 17.4*32.8 the result is 570.7199999999999 !!! This is just a single example.In this way my application looks buggy sometimes. What's the reason for this wrong result?In my application I don't want to round the numbers .
View 5 RepliesI was wandering if I can get values(numerical) from an xml files and multiply them. Need a tutorial Something like this.
[Code]...
how can i have one movieclip but make it multiply alot times with a max number like maybe 10??
View 1 RepliesHas anyone been successful at submitting an app to the Apple store? I created a Lion virtual machine to use the Application Loader. All I ever get is that it doesn't recognize any of my files as application files, so I can't upload the app.
View 1 Repliesi have following problem: i have these files developer_identity.cer Team_Provisioning_Profile_.mobileprovision
In order to package adobe flex mobile application for iOS, i need to convert my .cer certificate into .p12 format. Following this tutorial on help.adobe.com i always get this problem when executing last openssl command:
"no certificate matches private key error in pkcs12" From what i understand i need somehow to get private key, that was used to create the certificate (do i understand this well??). How do i get the private key mykey.key if i only have .cer and .mobileprovision files mentioned above?
why the sound does not play in FireFox but does in Chrome & Safari?
The sound is not embeded in DW but is in the Flash. Also I want to know what is wrong with my DW script that it will not play on Apple Ipads & Iphone? The Script:
<div id="content">
<div id="splash">
<h2 class="center">WELCOME TO<br />
[Code]....
I am having a hard time finding a basic math tutorial. I am new to AS3 and just need to figure out how to multiply what a user enters by a certain number when a button is pressed.
View 1 RepliesI'm working on some photo manipulation stuff and have multiple images loading and displaying ontop of each other, each with various blendmodes set e.g. overlay, multiply etc.
The problem is it is sooooo slow! I thought I might be able to optimise it by drawing the resultant image to a new bitmap using BitmapData.draw (so sort of pre-baking the effects). The problem is (as I understand it) blendmodes are not draw when not on screen, so I can't use this approach until I've added the images to the screen at which point it has already slooowed down.
what i want to do is to preload some images, then multipy them on my scene ( the files are transparent png containing clouds ) the problem is that when i copy the bitmap data to create a new cloud, i loose transparency, and i can't get WHY here's my code
[Code]...
I have been really strugling getting my buttons working. I have one scene that have multiply buttons that shows from time to time on the timeline. My needs is that each buttons when released goes to an specific frame number (label) waits for 5 sec and then continue playing the scene from were it did stop and wait.
I have mamage to make the first buttons work, but when scene changes to the rest of the buttons on the timeline nothing happends. I have tried to place actionscript on an actionlayer (timeline), also tried to apply actions to each button. Same problem. I use actionscript 2. All buttons have instance name, and they shuffle, meaning that they show and dont show depending were on the timeline you are. This is for an adult site, so I am not sure that it is allowed to post an link to the flash scene.
I have an Apple iSight webcam and it's not working with Flash.I go into the Flash player settings and select my camera, I can see my image and camera working inside the little box in the Flash playser settings panel.But when I close the settings and "allow" the site to access my webcam it doesn't work.My camera just shuts off.It's been a while but my camera use to work with Flash, and my iSight camera works with other apps such as Skype.URL...
View 6 Replieshow to submit an air app to the new apple desktop app store? Can it even be done?
View 5 RepliesI am Adobe Flash DesignerDeveloper and i ended AIR Application for desktop and need to know how to launch this app on iPad?
View 1 RepliesI would like to change the icon of my Flash.app projector. I used img2icns to make the new mac icon but how can I make it use this icon ?
View 2 RepliesAnyone know any good tutorials on how to create a scrolling effect like Apple's time machine? Would I use the 3D api? Papervision
View 2 RepliesIm tryig to recreate the same rotation effect in Front Row using Flash. I thik I have most of it figured out, but I keep running into problems.
[Code]...
have a site which uses the Apple Style dock component from jrgraphix.net.The issue appears to be with Internet Explorer (All versions).In Firefox the movie works without issue (ignore the transparency and positioning).As you browse between pages the SWF reloads and functions as it should.In Internet Explorer the first time you load the page and the SWF it works as it should.HOWEVER (!!!) when you browse to another page or refresh the current page the SWF functionalilty drops out and some (if not all) of the actionscript appears not to trigger.The .as file used is:
Code:
class Dock extends MovieClip {
var icon_min: Number;
[code].....
I have a video that displays closed captioning inside Quicktime player (it was embeded to the file's metadata).I've tried pulling that information out as if it were conventional flash-friendly metadata, but that doesn't seem to do the trick.
View 5 Replies