I'm creating a view of isometric tiles using this simple nested loop:
const TILE_WIDTH:Number = 180;
const TILE_HEIGHT:Number = 90;
for( var i:Number = 0; i < 10; i++ ){
for( var j:Number = 0; j < 10; j++ ){
[Code].....
This arranges the tiles nicely but I need to rotate the map at 90 degree intervals. I don't need to move any tile's x,y positions (As that would screw up depth sorting), rather just select a different frame using the 2d array of label strings.
I'm about to have to write a web page/app that will serve the agenda for circa 100 people on a page. One line per person, one column per day with 3 clickable zones in each cell. In HTML, the page is way complex for the browser to load quick and there is no possibility to click on a border between 2 cells to for example split an event that spreads among several cells. So I search an not too overkilling technology to render this kind of view. I begun with a PHP generated HTML page but the number of elements in the page make the mouse move jerky.
Moving to JAVA would give me better performances regarding the reuse of the generator of the view but it will still be an HTML page. So, here is my question: do you think that going forward with JAVA and its graphical capability is the simple solution or is Flash a better option for this part of a Web App? I'm afraid of the code I'll have to write in JAVA to handle the GUI presentation as well as the events generated by the 1000's cells plus borders of the page. In Flash, the graphical part seems simpler even if the actions handling is still huge.
I'm currently using RobotLegs with the Presentation Model pattern to develop a Flex 4 project. I understand that all business logic related to a View resides in the Presentation Model associated with that view, however, I am confused when it comes to View specific logic.For example, I have an indicator that needs to be positioned relatively to list items depending on which list item is selected. Is it acceptable in the Presentation pattern to put the logic that will position the indicator in the View and simply have that logic run in reaction to a selectedIndex property changing in the presentation model?The reason I am considering this is that since the Presentation Model does not have a reference to the view it is difficult to come up with an ideal solution for manipulating view components.
I am wondering how to make a 360º view bubble, like they use for Google Street View, but have no idea how to go at accomplishing this task... i have the string of photos that i attached in photoshop(so that if you connected the left to the right it would be a full 360º view).
I am using Flash CS4 AS3.. When I open my browser "Internet Explorer 7" it opens normal. But When I open a link using the following Flash code it opens half in length and half in width. I need to click on "Maximise" button to view in full. How to solve the problem? It is our Intranet link.
I have one .mxml file (the Application) with a ViewStack (with 4 views) and a ControlBard, obviously I can change the views with it, but what I want to do is: in view #1 I have an image which I want to convert to a "hyperlink", so when I click it I go to View #2, is this doable? Also I would like to pass somehow some data (like a String) to that View #2 (lets say the it's a user avatar I click so I want to go to the second view which will show me his profile, that's why I need his name/id).
My problem is that when I try to pass an object from the navigator.pushView(view, dataobject), I can't figure out how to access the dataobject from actionscript. I can access {dataobject.property} from MXML easily, but I want to set a variable in the new view to the passed dataobjects property.
in flash, I encounted a source file that is cropped and I cannot move it, is there some sort of cropped view in flash I dont know about? I cannot find anyinformation about it, it has rulers displayed as far as I remember.
Basically you cannot move in the file to edit anything viewpoint wise, everything outside of the movie area is invisible and not there? As if cropped.
I am having some dificulty making a path for this enemy i'm trying to create... cause i want him to rotate + move, then stop, then shoot, then rotate back and move off screen... Its easier if you see it.. you can download the swf file in the zipped archive to demonstrate what i mean. I did it there with tweens. Anyway.. i tried and make it but i'm a little stuck on the stopping part... you can also see what i did in the fla file attatched...
I'm trying to do something that I thought was standard/easy in flash. I would like to rotate photos on my Dreamweaver website homepage (dissolve from one photo the next) - like a slideshow. How do I do this and then incorporate into Dreamweaver?
Is it using Flash animation, or Flash slideshow/photo gallery? Can I embed that right into my homepage?
I wanted to write a simple 3d image rotating around the y-axis as the Image carousel. I can place all the photo around the axis but I can't get the main image facing towards the screen. I mean the z-axis isn't pointing towards the screen. Instead, the z-axis is towards the top left corner. How do I make the z-axis pointing perpendicular to the screen?
i have a webpage created at http:[url]... and i can see the scrolling text on the right but someelse has viewed it and they cannot see the scrolling text does anyone know why.
How do I view code in Flash CS4? I am wondering if it's even possible but I am new to Flash so I guess anything is possible, haha. I need to fix my actionscript and this is one of the ways I was told to do it was to look at the code first.
I have a client who wants to launch pdf's in a flash site. I've looked at the now unsupported FlashPaper and it or something like it would probably do the trick.
I've tried loading the FlashPaper swf externally into a MovieClip container on the stage but I can't figure out how to adjust the size of the FlashPaper swf to properly fill container (I know there's instructions on how to do this in AS2 but I'm working in AS3).
If I change the size of the loader before adding it to the stage it just stretches the swf. Does anyone know how to manipulate FlashPaper swfs?I looked at iPaper but I can't see anywhere that it creates swfs that I can load into my MovieClip container.
A client wants a page with a dynamic pdf gallery. No problem, but can I show pdf files swf documents? Can't find an answer in official docs and googling..
Flash Builder's design view is worse than 3's (which at least was usable if you ignore some quirks), so WHAT do Flex UI designers (those who don't have paid design teams...) do to design a complex UI? Because Design View (also based on what a lot of people say about it..) gets more useless with every release.See image for some differences in design view vs.Flash. WHAT is causing this? css also posted..("Duration", "hr", "min" are mx Labels, the image size text is an mx Text comp.Project is an "mx only" SDK 4.1 project.) I don't even care that the spinners look different, I just need it to show me correctly sized stuff so I can position things via Canvas, or properly size containers.
THere are 3d carousels in Web Sites for displaying image galleries which require that images are rotated in the z axis. My requirement is to do the same but for a complete flash animation so that the flash animation is displayed slightly tilted in the z-axis
The kind of tilt I am talking about is similar to the tilted images in [url]...
My requirement is to play a flash animation inside the image of a mobile phone which is tilted hence to fit the animation inside the screen of the mobile phone image, the animation also needs to be tilted
I`m making a game where the player follows the mouse and shoots towards it. But I realized the laser-thing didn`t seem to be coming straight from the player. So I added a line going strait up and down on the player movie clip, and it seems that the rotate code is slightly offset.
I would like to have a box or frame in my Flash to view other websites. There will be a few hyper links on my flash and once i click, i want the website to be shown within the flash.
I created a flash project using flash 10, action script 3 for a widget on my site:URL...I have a counter on the front page and a count generated when the flash project calls it's xml file.I am seeing that for every 10 people that visit my site, only 1 person is loading the widget.What would you suggest for maximum visibility for my widget? Or which version of flash should I have written for.
I want to create a movie that is 500x2000 pix in dimension. i want start the movie at the top and as the motion and animation goes i want the camera to pan down the image as the movie goes until reaching the bottom of my movie then fade out.
how to view macromedia flash sites i have vista firefox and adobe flash player 10 but i still cant use the site [URL] can i install macromedia flash player over my adobe flash player without errors
I have a flash file that I am trying to debug. It loads a second flash file which it passes data to, and then that data is sent to a server. Unfortunately the data isnt coming out how it should.
I would like to know if anyone knows of a way to see what data is being passed to the embeded flash file from the original flash file. I need to make sure the data going to it is correct.
I would like to know if it is possible to view a PDF document WITHIN an offline Flash Projector.exe? Just like when you have the ability to access the Acrobat toolbar within a web browser.
I have 45 PDF booklets that I can already open from a Flash Projector into Acrobat Reader for printing, but I would prefer not to leave the Flash Projector at all.
I want to create log file for my flex application. That is the file should contain all the trace prints in it when I run my flex application. How can I configure flex to do this?
I want to get some images from a flash webpage and I got the .swf files. Is there a way to open the .swf and grab the contents of that file. I am not asking how to play the file or view the file. I actually want to open up the file and view its contents, if possible. I don't know anything about flash and tried searching already. It probably isn't possible since i didn't find any answers via search, but I wanted to try here first.
I have a Collada (.dae) file that I found on Google's 3d Warehouse. Using Away3d, I'm able to load the file and display it on my view using the following code:
The problem is that it's just floating out in space and no matter how I adjust the position via .x, .y, or .z, it never moves from its spot. I'm using Flash cs4 and the latest stable release from Away3d.