ActionScript 1/2 :: Tutorial For Slicing An Image?
Jul 7, 2009providing a tutorial for slicing an image? Or tell me the trick behind it.
View 11 Repliesproviding a tutorial for slicing an image? Or tell me the trick behind it.
View 11 RepliesI am doing a project in which i need to slice an image into pieces. I could do the square slices easily using copypixel function over bitmapdata.
View 3 Repliesi'm newbie to flash and cs5.5, i'm trying to understand the matrix class usage and trying to follow an example given in the below site,I'm following the steps given in the site but still getting an error saying"...Flash_SamplesTaglio.as, Line 341120: Access of undefined property image_mc."i've an *.jpg in the library and dragged an instance on the stage, converted into movie clip, named that instance as "image_mc". Also linked "Taglio.as" document class to that movie clip but still showing the same error.
View 5 RepliesI'm looking into doing the following :
I've got this 'map.png' that i'm using as a background image. The map shows a country with all the provinces/states/counties 'outlined' on it.
I'd like to generate the effect when you mouse-over or click on a province you get info on the selected province, maybe highlight it, or its outline.
The best way to do this would be making objects/MC's on top of the image ? Slice out parts of the image ?
I am trying to slice or break a movieclip into multiple random shapes.or MCs. I am playing around with BitmapData and pixels but no luck so far.
View 5 RepliesI am building a flash based website and have a large rectangle mc that I am panning left to right that has buttons nested inside. I followed the kirupa tutorial called "interactive image panning" and everything seems to be working fine. My problem is this. I want this panned mc to be centered and framed by a black border that will also act as a mask hiding the ends of the rectangle that have not yet been panned to. When I add this black border the code thinks the stage dimensions are larger and the panning gets whacky. How can I contain this panned mc so it doesn't react to a change in the stage dimensions. it also does this when I open the published HTML in the browser. I basically want it to behave like the sample image on the first page of the "interactive image panning tutorial". There must be an easy solution.
View 4 RepliesI've never worked with XML in Flash.I'm looking for a good tutorial on creating an XML driven image gallery, but I have yet to really find anything.Does anyone out there have a good tutorial?
View 5 Repliescurrently using the source files on the tutorials page, combining the stuff in this tutorial with the stuff in the Sliding Menu tutorial (http:url...) with each Interactive Pan image being one of the content pages. Trying to go for a touch screen ipad type feel to the site.
The 'image' for the panning is basically text based and I've managed to switch around the code to make it scroll on the y axis instead of the x axis. The problem I've got is that the content is using the "Stage.height" as its border, and I want to contain it within the height of the MC clip (690x580).
I modified a version of the xml photo gallery tutorial featured on this website, and am using that. But when my images pop up the quality is horrible. I've gone through and checked everything I know to look at. Then I decided to build my flash site twice as big, and use pictures that were twice as big to get some quality. This didn't work either..
View 4 RepliesI'm designing a portfolio website that will showcase artwork that could potentially take awhile to load, so I'm using the code from that tutorial:
[Code]...
I'm using one of these, one image, per frame. I'll be adding more and more in the future. I'm still a newbie to as3 and I haven't completely understood the basics yet, so my question is this: how do I reuse the above code for a different frame without having to paste the entire thing with different names? I tried this:
[Code]...
I sent an email to pom regarding a tutorial that he wrote, but the email was bounced and he hasn't replied to my PM. I have followed both of pom's tutorials that involve experiments with perspective in Flash, but I have encountered a problem while attempting to duplicate a movie clip symbol in the second tutorial ([URL]). I have a single instance of the "ball" movie clip symbol appearing at random positions. However, I cannot seem to successfully duplicate the symbol instance at random positions using the loop that pom provided:
[Code]....
I have built a catalog in flash that was orginally built in InDesign and exported but it has some small content that is hard to read for the elderly users viewing it and I would like to add a zoom feature or some type of magnifying glass.
View 1 RepliesI am trying to add a image to the container but am having problems. The image variable is loading fine but not attinching itself to the empty MC I have on the container.
[Code]...
i want each image that opens up from the scrolling thumbnails below to have another set buttons relating to the main image. for instance:
[Code]...
numbers = buttons linked to another set of external images that are related to the big image. the problem is i don't know what controls the thumbnail/main image when i click on the scroller (i'm kinda lost in the code). so right now i have only one set of numbers regardless of which big image opens up.
Interactive Image Panning [URL]...Tutorial and the
Easing on Mouseclick [URL]... Now i tried to combine these 2 together and nothing happens , either 1 works or the other one works but never the 2 together.... [URL]...
I am looking for a tutorial called Senocular's 3D car race tutorial
View 1 Repliesoriginal: I really just need to figure out how to center the pictures. here is what I did I have modified the tutorial that I finished to have a bigger stage for bigger pictures. Everything is working properly but the pictures are displayed on the left side, I want to have them centered in the stage for the images, after clicking on the thumbnails, plus my images are different sizes as well. ranging from 200x410 to 744x410 but all are the same height of 410. i will post up what I am talking about at the end. I believe it is something within either the action script or the xml coding that allows the position of the image to be differently? please help here is what i am talking about[URL] Continued: Here is my coding in action script:
[Code]....
I want to buy Flash Builder Video Tutoria, Can any one tell me from where i can get it ?
View 4 RepliesI'm looking for a tutorial of a "simons says" game.
View 1 RepliesIm trying to follow a tutorial which i believe requires you to use the document class to generate a flickr gallery in flash. the problem is it give you the code but does show you what to do with it. Ive looked into document classes but looks like you can only use one? and the tutorial has two (Flickr_viewer.as) and (Load_image.as)ive done all the tutorial says, like changing the API key and NSID, but dont have a clue what to do now.url...
View 1 Replieshow to create a scrolling menu. Can't find one that works though! Tried these:[url].....Running the CS4 trial.
View 1 RepliesVery basic xml for loop question. this is the xml
[Code]...
NOw in the Fla there is two dynamic text field with instance name "name_txt"and "comment_txt" and some thumbnail images as button representing different persons "1", "2", "3" and so on. What I want when the user click the buttons the name and the comment will change accordingly. I think for loop is best for this one. Shall be glad if any one give me some good and effective tutorial on this.
I am sure many of you have heard already about a banner rotator Piecemaker.Very good job from the guy.All I want to ask is if there is a tutorial somewhere to do something close to this.Not with so many effects,files and details.I am looking to create something more more simple but with the same use. A banner rotator with images from xml.
View 1 Replies[URL] Comes in handy with jpg and gif elements in html.
View 1 RepliesI am trying to use the External SWF Preloading Tutorial. Its a great tutorial, but when i try and load the swfs inside the holder it loses some of its functionality. The rollover states of the buttons work but when one clicks on the calender it does not work and some other things dont work also.
View 2 RepliesI am trying to follow and create a tutorial which explains how to make a bouncing ball.I am really struggling with the Action Script 3.0 even though the teacher types it in.I am inserting the code so that you can view it.[code]
View 3 RepliesI need to make a movie whereby the user drags four items onto 4 targets and achieves a result as each object lands on the target, such as a sound. and then a well done statement at the end.
Can anyone recommend me a place where I can download such a file so I can manipulate it?
I just read a good tutorial at [URL] about creating simple apps with AIR/FLEX. What are some similar pages and/or good books that I can read to move from "beginner" to "novice"?
View 2 RepliesI am a programmer with a relatively good background programming in ActionScript using Flash Builder. However, I have been handed a FLA file meant to be opened in Flash CS 4, and I have to add some code to it, but this is the first time I've ever used this software in my life.After I opened the file, I was greeted by a quite unhelpful interface (maybe it's friendly for artists?), and I immediately had questions such as:
-How can I edit the source code?
-How do I run the program?
-How is the source code organized?
-Where is the entry point of the program?
-How can I do source control of these files?
I've been looking at flash tutorials online, but every tutorial starts with drawing shapes, tweening, the timeline, etc. Honestly, I don't care about any of those things (they've already been done by people at the design team).I already know how to code in ActionScript, so what I need is a tutorial to give me a kickstart in coding -already designed- flash files using Flash (not Flash Builder).I have been fighting against flash cs4 all day and I am very very disappointed with it. I thought I was good with technology, but it has been a really long time since I last found a tool so difficult to use and understand.
can anyone help direct me towards a tutorial for creating a new class? if anyone knows c++ it would be the equivalent for typedefs.
View 2 Replies