ActionScript 3.0 :: Access The Product Of DrawGraphicsData()?
Feb 21, 2010
If I use the code below I end up with a square. Good. But how do I access that square? say to change its x and y values, or even just to make it a child of a sprite?
Code:
// establish the fill properties
var myFill:GraphicsGradientFill = new GraphicsGradientFill();
[code].....
View 4 Replies
Similar Posts:
Mar 15, 2011
The fills behave as expected but I can't get the stroke to break. For some reason it ends up connecting back to it's first coordinate. I've attached an image illustrating the problem.Here's the code:
ActionScript Code:
import flash.display.GraphicsPath;
import flash.display.GraphicsPathCommand;
[code]......
View 0 Replies
Jul 3, 2011
I'm projecting some vectors using the Utils3D.projectVectors() method. This gives me the (x,y) screen points. Then I'm using graphics.drawGraphicsData(); to draw a GraphicsTrianglePath containing these points.
The points are drawn at the top left (0,0) of the stage, but I want them to be at the middle (275,200). I know there are several ways of doing this, like for instance, adding 275 to all the screen points x values, and adding 200 to the y values, but I think that would be a massive operation.I can also set the sprite containers x and y, but I want its position to stay in the top left.
Simple way of drawing it in the middle?
View 1 Replies
Mar 6, 2008
See attached file. I need to display the attributes under the price in the descrip text field. The only xml work I have done is where the nodes are all the same lengths. So it's easy to access the data using your basic for loop. However, the attributes in this xml file may have different lengths. So far I have pushed all the data to Arrays, but now I have no idea how to access the attributes "name" and "value" and associate it to the product. It should make since after looking at the fla.
Code:
var cArray = new Array();
var iArray = new Array();
var dArray = new Array();[code
View 4 Replies
Apr 11, 2007
I have a client that wants a product to rotate around its axis for a full 360 degree view of the product. The final view needs to be draggable - so a user can use their mouse to turn it left or right. I took photos of the product in 10 degree increments and created a movie clip - but I can't figure out how to get it so a user can control the view: turning the product left or right.
View 3 Replies
Nov 1, 2007
Wanting to spin a product 360 degrees.
View 1 Replies
Apr 2, 2009
I'm having a hard time wading through all the different types of flash and actonscript that is posted here. I've seen some of the senior members spend extra time trying to determine which Flash product was being used and which action script. Some of us are limited to F7, F8 etc. It would be nice to be able to search for entries that apply to what we're looking for. I see two possible solutions, maybe you have others.
1. Create a new entry item for the new forum that includes Flash type and Actionscript being used. 2. Each of us can identify what products and actionscript we are using or asking about in the Topic Summary.
Question: Would it be beneficial for seperate input fields to be added to the new forum site to include Product version and the actonscript being used?I know all you rich folks use the CS products and that's all
as3. What happens when as4 shows up?
View 1 Replies
Jun 8, 2009
on my stage are 5 buttons, each with the name of a product. i want to be able to hover over each product and see a Description of the product with a "learn more" link at the bottom of the description. the problem is that i want the Descriptions for each product to appear in the exact same place.
if the hit area of each button covers only the button itself, you can't click the "learn more" link because it disappears when you move off the buttonif the hit area of each button covers the Description area, the hit areas overlap each other. this causes the Description to always show the same thing (i think it is the Description of the last button i added) if you are hovering over anything besides an actual button.
View 6 Replies
Aug 3, 2011
I'm trying to put together a Product Features Application, which allows visitors to our Website to view what their product will look like with add-on products via a simple checklist, and image layering platform. So essentially:
- Visitor see's the main Product (Fireplace) on Website Page- Visitor sees three Lists containing Checkboxes below the main image- Visitor clicks one checkbox from each list, and sees that ADD-ON product added to the main image above (so that they can view what the product will look like). I'm using CS4, and I'm slightly new to Flash.
View 1 Replies
Oct 5, 2009
I'm searching a 2D product carousel tutorial using AS3! At this time i can't find it. This carousel have two navigation selectors (on left and right). Actually I'm using JQuery to make it but, I want to find how to make this using AS3 and XML.
View 1 Replies
Nov 4, 2010
Is there any flash tutorial explaining how to do a product 360 spin with callouts (I already have the photos).
View 0 Replies
Oct 18, 2006
I have to make a productconfigurator for a client, something like a car configurator you see on their sites.Is there anyone with experience in this area? Wich is the best approach? Put every possibility in a database?
View 2 Replies
May 27, 2009
I need to create a web product catalog for about 200 items. I am doing this as part of subsite for a large company and long-story short, I need to make this site self contained, without relying on any assistance from their IT department (so no MYSQL, etc.).They already have a catalog of thousands of products, but the purpose of this subsite is to highlight products to a particular market.The catalog would need to have the ability to create a hierarchy, and basic product information (name, description, image, sku number) and an interface for easy updates. No ordering.
View 1 Replies
Aug 5, 2009
I have taken about 12 images of a product from different angles.Does anyone know a tutorial/code-example etc. of how I can make a little movie where I can use the mouse to rotate the product (switching between images) by clicking with the mouse and then drag towards left or right?
View 1 Replies
Jan 25, 2011
I am working on a project that need to countdown what is in stock.
Right Now I have the banner counting down but how do I get it to count in different intervals?
Right now I have an interval setIt = setInterval(this, "counter", 8000);
But I want it to go form 8 sec. to 1 sec. to 8 sec.
View 3 Replies
Oct 1, 2011
I am looking for a tutorial on how to build a product color changer for my e commerce site. I am selling different colors of tee shirts and would like to build a slideshow where when you hover over the color block the shirt changes to that color so the customer can see what the shirt will look like at that particular color.
View 1 Replies
Feb 27, 2009
I made a sequence of images and make the code the rotate around it but I have a little problem with the loop ( from frame 100 to 1 || 1 to 100 ).How can I avoid the little stick problem. I know what's the problem but I dont know how to solve it. It's with the frame tweening. Anyway, here's the code :
import flash.events.Event;
import com.greensock.*;
import com.greensock.easing.*;
[code].....
View 1 Replies
Oct 24, 2006
I am trying to develop a simple product catalog using flash and xml. The xml file only has a list of catagories and under each a few products. I have a combobox wich list the catagories and another which
list the products in that catagory. Each works fine but the products don't change according to the catagory that is selected in the catagory combobox. How do I change this. I use xmlConnector to bind the data to both.
2. When I browse through the products using a loader component sometimes there is flicker and you can see the image before it is resized. This is realy annoying. Should I use a movieclip loader? The images are not all the same size.
View 1 Replies
Nov 16, 2010
I made a sequence of images and make the code the rotate around it but I have a little problem with the loop ( from frame 100 to 1 || 1 to 100 ). You can take a look to the link here [URL].. How can I avoid the little stick problem. I know what's the problem but I dont know how to solve it. It's with the frame tweening. Anyway, here's the code :
import flash.events.Event;
import com.greensock.*;
import com.greensock.easing.*;
import flash.events.MouseEvent;
[Code]...
View 16 Replies
Jan 19, 2011
Some of the "skins" for the FLVPlayback component cannot be used as delivered in the Flash Professional CS5 package.
For instance, if you try simply to run the .swf file: MinimaSilverPlayBackSeekCounterVolMuteFull.swf in Program Files/Adobe/Adobe Flash CS5/Common/Configuration/FLVPlayback skins/ActionScript 3.0, you get the following error message:
VerifyError: Error #1014: Class fl.video::UIManager could not be found.
Such a skin cannot be used in a published application (though it will work within the Flash IDE in Test mode).
Not all the skins have this problem. However, at least all of the Minima prefixed ones do. Of course the one I wish to use is broken. Is there a way I can fix this? If I try to publish the corresponding .fla (in FLVPlayback skins/FLA/Action Script 3.0 I get "Warning: unable to load SWC FLVPlaybackAS2.swc".
View 16 Replies
Nov 9, 2010
Any resources available out there how to put such a thing together.
I see them all over the web, but have never implemented a 360 with callouts.
View 1 Replies
Dec 14, 2010
So I have spent XX hours trying to get an External Preloader to work. So I am attaching the closest thing to a finished product which is an Internal Preloader.
Can Someone please help me make it into an external one? I have tons of versions of it but I don't want to send that since they obviously don't work.
I can't seem to attach the file since it too big. You can download it here:
doubleudoubledoubleu.flashgalaxy.net/fla.zip
View 8 Replies
Jun 11, 2011
I am currently working my way through a book on Game Programming in Actionscript 3, and have gotten to a formula required for collision detection on finding the intersection point of two vectors. Im not sure if the author uses vectors in the strictest definition, but the convention he uses is e.g for a vector V1 :
V1.a is the start point of the vector V1.b is the end point of the vector V1.ln is the vector perpendicular to V1 (its 'left normal') V1.vx is the difference between the x coordinate of V1.b and V1.a V1.vy similar to vx V1.dx is the same as vx , but for V1 scaled down to a unit vector (the direction vector) Now,in the example we have V1 which is the motion vector of the ship, and V2, which is the target vector (i.e the line the ship is going to collide with at some point)
In order to calculate at what point on V2 the ship will collide travelling along motion vector V1, the book gives the following code using the "perpendicular dot product" (Which i have not come across before) and creating a third vector V3 between the start point of V1 and the start point of V2 (V1.a and V2.a):
[Code]...
View 1 Replies
Jul 27, 2011
I'm working on a product display for a lure maker that I'm hoping to get working something similar to some of the Scene 7 works. I'm using BassProShops as an example. Basically it's a small image gallery that would have 1 to 4 thumbnails, displaying the image in an image area. Then having the ability to zoom in on the product image for some sharp detail. What I'm building so far loads external images that are 1400x1400 and resizing to 350x350. I'll use a mask or something to create the magnifying effect. Where I'm at now is that I feel like I might be going about it in a bulky manner with the way I'm loading the images and my ProgressEvent only works on the initial image load. I'm looking for some input from more experienced coders before I paint myself into a corner Here's the code I have so far... Thoughts?
[Code]...
View 0 Replies
May 9, 2009
Just a general question about trace statements. As I'm building a project I put a lot of them in there so I can see where I'm at if (more accurately: when) something goes amiss. The questions is... when I finally consider the program done should I leave them in there for possible future bug tracking or wipe them out of of the finished product?
View 2 Replies
Oct 23, 2011
I am trying to create a website with a product where you can change the colors on the product similar to this url...Is this something that I can do with flash?
View 1 Replies
Dec 2, 2009
I will redesign a product page that contains products like Vase, Ceramic Plates and more, Customers can customize the colors of the product. Now I need some advice what approach would best fit, I am planning to use Flash/Flex/Actionscript in implementing this; That way I can minimize loading to many jpegs for the product and at the same time making the page more interactive.
View 1 Replies
Aug 25, 2010
i want to create product comparison site expecting good no of user hits (100 + concurrent users)
i am from dot net background(LOB Application),i haven't done much research for good programming platform for such user oriented website with some user generated content , i have following options
1: c# asp.net Ajax
2: silver light
3: php
4: flex/flash
5: ruby,python,java
6: any other language
database Sql Server/My Sql/Oracle/ any other. i want to deploy it on cloud,i want good user experience, can compromise on seo,site need to be scalable for lots of contents added later.
View 5 Replies
Jun 27, 2010
some are there on internet like product demo swfs(phone,ipods,cars)they have some feature bottom of screen has 4,5 color buttons.if we click red button product color change to red.ny one know how to do that..?is that change color of movie clip or insert another image or how..?
View 3 Replies
Mar 14, 2004
Here's my scenerio: in my product info MC, user can select from 4 categories which gotoAndStop a nested MC. Each of the 4 categories has 5 hit areas on an "imagemap". The problem that I'm running into is that on each of those hit areas (mc's), I have actionscript - so that's 5 x 4 of essentially the same actionscript. Only difference is text information and _x & _y co-ord's (code is for caption/images boxes) Could I store all that data in an array in the product info MC rather than having 20 blocks of actionscript??
View 5 Replies