ActionScript 3.0 :: Build A Slide Puzzle For An Advertising Company?
Mar 12, 2009
i've been asked to build a slide puzzle for an advertising company. While the puzzle itself will be straightforward they want it to thave a 'solve' button that shows the puzzle animating to the correct finish position from the positition the tiles are currently in (after the user has moved them around). It's a 4x2 grid puzzle.
Any thoughts on the best way to achieve this? Everything i come up with seems unneccessarily complex.
I am trying to build a flash player for my company's Shoutcast server, and have seen a few articles about it on the 'net, including this SO question here. However, I can't seem to get the audio stream to actually play. It seems to be connecting alright, but calling stream.play() doesn't seem to do anything.
public function stream() { private var url:URLREQUEST = "my.domain.com"; private var sStream:Sound = new Sound(); sStream.load(url); sStream.play(); }
I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart and there is additonal functionality attached to it to affect it's movement which I'm not too worried about although it would be nice)
Code: // set up content_mc info contentRight = _root.content_mc._x;
I've remarked on the web that many clips are precede by an advert. Does this advert is added in the code? Or, there is a way to tell the player to play first, the advert, and secondly the movie?
I am using currentSlide.gotoNextSlide to change between slides, however I can't make it stop playback on load of each slide.I have a motion tween with I need to NOT play automatically when the slide loads... but no matter how many iterations of stop(), gotoAndStop(), etc I use, nothing will stop the clip from playing when it is loaded!
I am creating a flash slide presentation to use as part of an online portfolio. I have created a presentation that so far has three slides, each containing a flv that I imported and added a skin to.Is there any way to stop the movie on slide one (besides manually) when I move to slide two? I don't care if the mvie returns to the begining or not i just want to beable and view the video on slide two without hearing the sound from slide one.
1st slide: pre test (3 radio buttons) 2nd slide: video 3rd slide: post test (3 radio buttons) - this page has a submit button that calls a .php script The Pre Questions are setup like this:[code].....
wondering if this is a Global Variable problem? Is there any reason that the "variables" variable would stop populating after the first slide? Obviously, they are getting to the last slide since the submit button is passing them (or is the external file doing it?), but don't know why the post ones are not going.
In TFS 2010 build, I have a new build and I want to call an ant script that builds Flash. How do I call the ant script? Also How can I compile the Flash directly? I've seen the Power Tools and this question but it doesn't help me as we don't have TFS 2008. I can't find any documentation on how to use the power tools except the 1 sentence on the bottom of download page saying to create your build the old way and import it (which isn't very helpful). I've installed the power tools on the agent computer but I don't see any new options in the Toolbox when I'm designing the build flow.
I just started working with ant a few days ago. Right now I have a general buildall.xml which should call each project's build.xml. Because some projects depend on each other, I need to rebuild some other projects which depend on it. This isn't a problem--I'm just setting the depends property of the target. However, ant is always building the dependencies, even when the files haven't changed.Let's say project1 has no dependencies; project2 depends on project1; project3 depends on project1, 2; project4 depends on project1, 2, and 3; and so on.I could hack a solution which looks at project K, and checks if project 1 .. project K have updated files using uptodate. If so, then run the target. This is messy and appears unnecessary.
What is the cleanest way to implement this?EDIT: So I decided to just hack in a bunch of targets, "check_projectK" where it does the uptodate checks on all of its source files, its build file, and the build files of the 1 .. K-1 projects. Due to dependencies, this is always handled correctly. However, this is still a large amount of copy and paste for a large workspace.
I have successfully created numerous AS3 to PHP contact forms. I know they work. However, I can't use PHP on the company server. I need an example of a working AS3 to ASP contact form.
Using FDT, when I have a debug configuration with several operations in the launcher chain and the final launcher opens in Flash Player, how can I retrieve the build output from the console once the build is complete and Flash player is running?
It seems that once Flash Player has started the console clears to make way for the application's trace output, but I need to be able to look back over the events and build times for each item in my launch chain while Flash Player is running. Is there a setting I can enable to either log my build output to a file or to preserve it in the console?
Edit: I know I can still read the info when building normally, this question is specifically for building with the debugger.
I would like to make videos like [URL]. They are pretty amazing for how simple they are...They accurately show what the company or service does. They did Google Doc's Videos and a lot of other companies videos. How would I create these. I know flash but what else and what skills would I need to have to accomplish making these?
i was curious on what i would need to incorparate flash to my business website rather than the service we are using currently. We have noticed that the flash images on our website are having issues loading and getting stuck currectly.My website address is http:[url]... there is flash type images at the top of the page as well as the middle.
I am trying to create an app used to display my company's portfolio. This includes a show-reel section.I developed it using HTML and jQuery, and converted it into an AIR app using the plugin for Dreamweaver.Admittedly this my first attempt at creating an app this way, but it all went smoothly until I wanted to play the video.
My Flash video player does not work, and according to some similar posts I read this is because of a referencing issue. I found several solutions for Flex, but that does not help my specific case.HTML 5 does not seem to work in AIR 2.0 either, so I am a bit stumped.
First post - I'm a designer just picking up AS2 for the 3rd year - so I know how to get in trouble..nonetheless, I created a flash presentation for the company I work for and they want to use the demo at conferences and what not... It's a single scene with nested/nested/nested MC spewn throughout... right now everything was hodgepodged in AS3 as I was desperately trying to get familiar with it. So I suck
I can't figure out how to tell the topmost timeline (or root?) timeline to play as soon as an embedded mc finishes playing or even one layer above the nested MC - everything is on a timeline, nothing is loaded, I have no real programming skill anymore...or ever
my final result is to have my same button driven presentation run automatically so the buttons no longer need to be clicked to continue.
I am currently making some interactive training apps for a company, It seems like flash is the way to go since I know AS3 and am comfortable with it. The problem comes where my boss wants to be able to sell these apps as learning aids to schools. Would using something like adobe air with flash be the way to go?
I'm starting to use Flash again after many years. I created a simple movie on my company website.I have it set to play once and stop not to loop. I was asked to see if I could have it play once and stop like I have, but then have it replay when you mouse over.
I need to create an image upload app for our company's facebook page. I've been able to successfully create the app on facebook and it pulls from a location on our web server. Right now it's just an index.cfm file with hello world in it.We're having a photo contest and what we need to do is provide a quick form (name, email, phone, photo to upload, and photo description).When a user fills out the form and uploads the image, the image shows on our app with the description and then we are notified that someone has uploaded and image.
As usual I brought a problem for you guys to help me figure it out. What's happening is that I currently finished developing a MMO for a famous and big company in my country, I have one week before uploading it to their server and everything is ok, besides the performance.
I'm using smartfox 2.0 and I have several rooms, what happen is that if I go inside any of the rooms everything is beautifull and fast, but if I quit the actual and go to another it will be slower, and if I do this over and over again it gets slower each time I do this.
I don't what it can be, I caught the project in the middle of the way and did my part, I was revising the code but I have no idea where to look for something wrong.
I'm pretty new to flash but recently got an assignment at college to produce a childrens game, I've been following a tutorial online to produce a jigsaw puzzle, so I can get use to actionscript and gain a little experience. I cant get some alignment right. I've followed this tutorial exactly and this is where i am stuck, below are the instructions and how it should look: This is how mine looks, as you can see its out of place:
I've ran into a weird problem while trying to send a JSON command to my company's flash player. Basically, i am unable to pass a playlist to this player - nothing happens - using the following command:
player.sendEvent("LOAD_PLAYLIST", json_str);
but the weirdest part is that if I print the entire command using Firebug's console.log, copy it and paste it into the code (thus hardcoding the playlist), everything works like a charm.
console.log('[loadNewListofContents] playing the following content list: player.sendEvent("LOAD_PLAYLIST", ' + json_str.toString() + ');');
and if i hardcode it, it works!I've tried all the toString() tricks I can think of (ex: json_str.toString(), '"' + json_str.toString() + '"', etc...) but so far no such luck.
How do you or your company require designers to deliver their assets to coders? Do they deliver a PSD? A series of 24-bit PNGs?
If you are a coder, what would you include in a best-practice guideline to designers? If you are a designer, what questions would you like to see answered in such a document?
I'm using CS4 and was wondering why when I import my PSD files onto the stage I don't get a symbol created in the Library but when I import into the Library itself I do? Is there a prefercence somewhere I can turn this off or on so I don't have them created?
I placed a large photo (movie clip object) as a background onto the stage, but it exceeds the stage size by 25%. It's done on purpose. While I see it in the Flash authoring environment, the image excess refuses to appear in Internet Exlorer once published.I also have an animated object over (foreground) that does appear past the stage in the browser.
sometimes, the spec sheet from the media company won't state actionscript version. so I guess it should be save to use as2 rather than as3. but is that actually actionscript version will affect the flash player.
I have created an image gallery that has company logos loaded into a movieclip at the bottom and scrolls based on the user's mouse location. When the user clicks on one of the logos it should load the corresponding screenshot. The function for loading the screenshot is this:
[Code]...
I get an error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
Im working on some actionscript drawing, right now Im drawing a curved line on a map to show a route for a shipping company, the line is red but I would like to color a portion of the line green for the completed portion of the journey.