ActionScript 3.0 :: Background Adn Components Strecthed?
Aug 6, 2009I have a 20" wide screen monitor and all my background and components get streched on it is there a way to resize stuff based on screen resolution or monitor size?
View 1 RepliesI have a 20" wide screen monitor and all my background and components get streched on it is there a way to resize stuff based on screen resolution or monitor size?
View 1 Replieshow I can set the background color of button components?I always have transparent buttons.I mean: they display the color of the main background and, therefore, they lack some enhancement.
View 5 RepliesI have an .fla file as part of Ray Media, I open the .fla to make some cosmetic changes and all of the components are in the library but nothing is on the stage. (except a pink background) File has one layer, one frame
View 9 RepliesMake a custom preloader for the whole project, in a class, is that possible? Is that a good idea to creat a custom class for the Menu or other components like Background, etc?As I read in the book "Essential ActionScript" it's ok to make custom classes and organize everything, catching the errors in isolated form , turns it easy to manage and update..How to organize the classes?
View 5 RepliesDo you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.
View 1 RepliesI am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....
[Code]...
Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?
<com:MyComp1>
<com:MyComp2>
<com:MyComp3>
[code]....
how i can use actionscript component code in mmxl components,as in actionscript components we use classes ,but in mmxl component we can not use classes function, so how i can use actionscript component code in mmxl component
[Code]...
but i cant use this code in mmxl components how i can use public class DialogTitle extends HBox implements IBindingClient in mmxl component code,what are the way to use it,sorry i am newbie if it is silly question
I want to embed some video into my HTML page. As background I want to use big picture. And above it I want to insert loop video with (i.e.) walking man.So, can I embed video (without flash and any player controls) in page?Can I decode video with transparent background? Is there any codecs which support transparent background (alpha-channel)?
View 1 RepliesAs the title already states i have a (big) problem importing a PNG in a Flex 4 application.Created a PNG file in Photoshop with transparent background. Loaded in Flex application using this code:[code]So when the complete event fires the data has been loaded and it is possible to assign the data loaded to the image component named Thumbnail:[code]Unitls now everything works as expected!But when i try to send the Thumbnail component's data to a WCF service i receive a photo with white background:[code]
View 2 RepliesI've designed a Flash site in CS3 using Action Script 2.0 that has a main flash movie sorta floating in space over a gradient background. I want the gradient background to re-size with the browser, so I thought that the easiest way to do this would be to delete the gradient background in Flash and instead recreate the background in Dreamweaver using the repeat background option and then make the Flash movie's background transparent. (I hope I'm making some amount of sense here).
I've found a few tutorials on how to do this, but so far I just get a white background instead of transparent. I've tried choosing "Transparent - Windowless" under Window Mode on the HTML tab in Publish Settings. And I've tried selecting the movie from within DW and clicking the parameter button and adding a "wmode" parameter with "transparent" as its value.
trying to print a movieclip with a white backgroundwhile keeping the stage background black.The movieclip,printResults_mc has a white rectangle in the bottom layer, 850pixels x 1100 pixels. The following function scales printResults_mcto the printers printable area but because isimpossible to predict the aspect ratio of the printable area someblack background always leaks out. I tried making the whitebackground 20 pixels larger than I need (870 x 1120) and thensetting a crop rectangle in addPage of (10,10,850,1100), no luck,the black stage background just fills in the area outside the crop.A simple solution would be to temporarily set the stage backgroundcolor property to white, print, then set it back to black, but I
View 1 RepliesWhen I click on the next button that loads a another swf the background from the previous swf flicks on the screen.click on the attached link URL..[code]I would like the "current_ plan.swf" to load so that the over lays (no so much on the views but more in the LIVING MASTER.We are creating this for both touchscreen and web(the link is the working touchscreen version hence the files being large).[code]
View 7 RepliesI have converted a large background image (much larger than the stage) into a Movie Clip. I did this so I can make it scroll as the player traverses to the edge of the scene.This appears to make the player free to roam the entire background image.I have a tree symbol with a class attached to it that blocks player movement.Here is my problem:
When I drag and drop instances of the tree symbol onto the background, the trees are stationary and do not scroll with the background.I do not want to have to implement code to make the trees scroll when the background does.I was wondering if there was a way to simply attach the trees to the background so that if the background moves, the trees move with it and appear to be part of the background as if they were drawn into it.It is convenient for me to be able to drag and drop as many trees as i need to block certain routes on the background from the player.I tried writing code to make the trees move but it was only working for the very last tree that I added to the scene.
I really don't know much about flash or swf files but in updating my portfolio I came across Polaroid gallery. I have managed to update the background jpeg with my own picture and remove the fade effect. However in the original program the background was tileable so when seen in a full screen browser looked fine. As my picture is not tileable I would like to know if it is possible to scale the background or the whole swf object without tiling the background.
View 1 RepliesI am relatively new to Flash CS3 and i have been learning Action-script 3 over the past week. I have come quite a long way and i have made a site in flash but i just have a question.I have been using an image as my background and i am happy with the way flash automatically scales all the objects in my file but the background image does not scale. Is there a way to do this? I have found out things online which show me how to add auto-resizing to the background but this knocks off the flash auto scaling/resizing for everything else.
View 4 Repliescreate an effect that loads a fullscreen background image that changes according to the navigation selection. The background will be replaced everytime the navigation is activated
View 1 RepliesI have a series of background MCs, all different coloured gradients (pretty!), and a series of corresponding buttons elsewhere on the stage. On a press of each button I would like the corresponding background MC to come to the top of the pile of backgrounds, then fade in above the previous background. The background that was previously on top, needs to stay next-to-top.If the corresponding background is already at the top of the pile, then nothing needs to happen.
At the moment I am using swapDepths(1) which brings the target to the top no problem, but it may also send the previous top layer MC way down the pile.This is what I'm doing at the moment:
on (release) {
if (_root.BG.colour2.getDepth()<=0) {
_root.BG.colour2._alpha = 0;[code].....
how to use independent components(for example: just radio button or just checkbox)?I only now how to use the Alert components, while the others I only know when I use them on "Learning Interaction" movie clips
View 2 RepliesProject. To create a flash box that allows a visitor to enter 1) email 2) phone number 3) preferred method of contact. Then they can hit submit. That information is sent to a php which sends an email to the administrator letting them know to contact someone. Reason it is done in flash. I have a "tab" graphic appear and in the tab is the entry form. When they hit submit the information is sent and the tab lowers out of site then raises back up with a confirmation message that the message was sent.
Problem: The tabs work in annimation. I know that the code works to send information to php and that the php works to send the email. But, my issue is with the GUI. When the flash is rendered, the field boxes do not show up. See image below. Setup: To get the fields to move with the tab I have them as separate objects within the symbol of the tab that moves.
[Code]....
why are the components in my FLA disabled? nothing happens when i click on them.
if you cant open the attachments, change thier extensions from .zip to .rar
how to get this to work, but I've finally gotten Loadvars working dynamically. However, now I need to take the "avatar" variable and use it to populate a list component. I keep reading dozens of different ways to do it - turn your variable into an array in Flash, etc. What is the best method?
View 6 Repliesthe problem is that when i want to put the secound checkbox i get 5 as the width of the first checkbox, and then i cann't know where to put the secound one.how can i create a row without checkbox running each other?
Code:
// here i create the first checkbox
this.createClassObject(mx.controls.CheckBox, "filter_0", 10,
[code]......
I have bought some flash components that used to work in Flash 8 and CS3, but suddenly they do not appear in my components list within Flash CS4 ! I have reinstelled them with components exchange and apparently they are successfully installed , but once I enter Flash CS4 there are not.
View 3 RepliesThis might seem a silly question but I am sitting here for a few hours wondering how I could change the text color for my components.
For example I have a DropDown Component and I change its skin (all the states) and put in a dark skin (I dragged the component on the stage and edited it). The text on the component, however is black and cannot be read. How could I change the component's text to white.
why are those "values" input and component windows so badly designed, not resizable (well kind of albeit terribly badly) etc... This is an eyesore and a practical pain in the a**. Seriously Adobe... all these talks about "accessibility" etc... shouldn't it start in your own software ?!? You can fix this it's 2010.
View 1 Repliesif I drag a component out on the stage, and run, it will work. I can drag the sliders for example. But if I change the settings for the slider,and then run the movie, I will not be able to drag it.
View 9 RepliesI've got some dynamic text fields that have tabindex properties on stage.
There are some V2 components in the swf as well, so there is an instance of the FocusManager running.
I've got a pause button that I use to pause the playback of some other animations that are playing.
When I click the pause button I would like to have the focus go away from text entry fields (if they have it).
Is there a way to tell the FocusManager that nothing should have focus?
Selection.setFocus(null)
FocusManger.setFocus(null)
None of those work.
There is also an off-stage dummy text field that is used to capture focus for some other stuff in this file, but that doesn't work either.
The content that gets paused is variable and could have all kinds of designs and layouts, so having it respond to some kind of pause event is out. I need it not to be aware of the pause state. I just need the pause state to grab focus.
I have a dozen different custom components in my flex app. I want to use an external xml config file to load the components at run-tine. Can someone tell me whats the best way to architect this? I want to load these components and add dataProviders and event liseners to them at runtime.
View 1 RepliesI am mostly intersted in modyfing the components appearance in Flash (CS4) than pulling an swf file which I could include in swf-lib. Right now I am kind of forced to make it via movie clip export it, and build functionality in Haxe.Which as you imagine is not handy and timeconsuming (especially that fl.controls used to work for me very well, I barely had to modify any mechanics, sometimes was just adding functionality).
View 1 Replies