Actionscript :: Setting Minimum Size Of A Creative Suite Extension
Oct 21, 2011
I'm trying to set the minimum size of the window of a creative suite extension. I don't want the user to be able to resize the window to a smaller size than the one I define.
Here is what I've tried to do:
var instance:CSXSInterface = CSXSInterface.getInstance();
var extension:Extension = instance.getExtensions([instance.getExtensionId()]).data[0] as Extension;
extension.minHeight = 350;
[Code].....
View 1 Replies
Similar Posts:
Mar 2, 2011
I have the Creative Suite CS5 and Flash CS5 does not have the Quiz Templates option.
Yet, if you purchase the Elearning Suite 2, that version of Flash CS5 does have the Quiz Templates.
Is there anyway to get the Quiz Templates for my version of Flash CS5?
View 2 Replies
Feb 13, 2011
On my old computer (Windows XP) I was using Flashpaper to convert jpg files to swf files that can be panned and zoomed. It worked great for my website. Here is an example. [URL] I just purchased Adobe Creative Suite 5 Design Premium for my new computer (Windows 7). I was told that it included the ability of Flashpaper to create the pan/zoom swf files. I can't find this ability. Please tell me where it is located or that I need to purchase Flashpaper for my new computer. Please note, I use Photoshop, Illustrator and Dreamweaver, but the only Flash I use is the swf to pan and zoom via Flashpaper. Please keep this in mind when answering my question, i.e. I probably need specifics if the functionality is located in Flash.
View 1 Replies
Jun 30, 2010
How do you set a max and min value for a variable? I have defined a variable, myVar, to have a default value of 10 at run time. The user can then use buttons to increase and decrease the amount. How do I set the limits?
View 1 Replies
May 12, 2011
I need to change the starting and ending dates, so that the earliest date that can be chosen is January 1, 2011 and the latest date that can be chosen is April 30, 2011. Also, the user should only be able to select 30 days at a time.
View 1 Replies
Mar 21, 2011
I was wondering if by using AS3 a browsers window can have a minimum size lets say 700px x 550px and that it cant be made any smaller?
View 4 Replies
Aug 9, 2011
I'm building a photographer's gallery website and I need it to resize to fit in browser window. So far so easy...What I would really like to achieve is a maximum and minimum size that the gallery will go to.
So, if the images I am using are 1400x1000 (for example) when this size is reached by the user expanding the browser window i don't want the gallery to expand any more, just sit in the middle of the page.
Similarly I don't want the gallery to go below say 800x600... how to set a max/min?
View 1 Replies
Jun 13, 2008
I'm using a typical full size website that proportionally scales on browser resize.
I would like to set a minimum dimensions so the user cannot squeeze the website more than 600x420 for example. The page will then start to crop if you go beyond these dimensions.
View 3 Replies
Jan 15, 2009
I am attaching a swf. to to main document using AS3 to import the .swf and it is coming out a bit distorted. I think the default size is stretching it out and it is a logo, so it looks funny. I was wondering if and how I could set the size of the swf in the code, so that it doesn't appear at the default size.
View 3 Replies
Mar 18, 2010
I'm using Loader to load an external swf into my swf and adding that loaded swf to the stage using event.target.content.If i set the width and height of the loaded swf I actually resize the movieclip inside my loaded swf. What I wanna do is change the stage size of the loaded swf.
View 1 Replies
Aug 10, 2009
I'm trying to create a flash file in which my handwritten name transforms/morphs into its creative 'tag' - like something a graffiti artist might put on a wall (not that i would do that though. I can't work out why the shape tweening doesn't want to work with me and I've been trying shape hints etc. I've just tried to attach a picture of what IO want the handwritten word 'charlie' to look like at the end of its flash morph but I can't even do that!
View 2 Replies
Aug 21, 2006
build a links page on my flash site to my friend's sites. This seems like it would be easy, but I can't seem to figure it out...Basically the problem is with the popup window size. I don't want their website browser window to cover my site, so I need some sort of script within my flash site to control how big the window size of their site pops up.I found this line of code in my searches, but it doesn't do anything when the button is clicked:
on (release) {
getURL("javascript:openwin('http://www.technofisch.com', 600, 400)");
}
So I'm stuck. I'm also having the same problem with a PDF file. I have my resume as a PDF the pops up when the link is clicked, but I don't know how to control how big this window is, as it is a direct link to the file and no html.
View 3 Replies
Aug 1, 2008
is it possible to set the stage (the actual flash movie as it appears on the screen to the user) size in as2.0? i have a photo gallery that i plan on reusing on several sites and i need it to be different sizes on each site and i'd rather standardize it so that i never have to open the .fla file, just open the XML file that it pulls all of the images from and have an attribute for the stage size. my xml file is as follows where movie_width and movie_height would be the dimensions of the flash file as it appears on the site.
[Code]....
View 1 Replies
Oct 26, 2010
I tried to create some, such as "Drag and Drop" or "True and False." However, the instructions weren't adequate. I couldn't figure out what Adobe was telling me to do. I went online to Adobe, and tried to find tutorials.It seems, to me, that there Quiz Learning Interactions are included only in the version of Flash CS5 that comes with the e-Learning suite.
View 27 Replies
Sep 20, 2009
On the creative pro website [URL].. they have a block at the top with images that change. It is titled 'today on creative pro' Does anyone know how they created it? Was it with Flash?
View 3 Replies
Apr 5, 2011
I have a dynamic text box in which I am embedding an image. Here is the code that fills in the text box
infoBox.informationText.htmlText=
"<font size='16' color='#FFFAF0'>"+calledMarkerIndex+
"
<font size='14' color='#FFFAF0'>"+calledMarkerDate+
[Code]....
How can a set the image size in the above code. I've tried inserting width and height parameters just after the image's path but an error is thrown. I would like for the image's width to be as wide as the dynmic text infoBox.informationText
Also the path to each image equals a variable called calledMarkerContent How could I set the img src equal to the variable called calledMarkerContent?
View 6 Replies
Dec 7, 2010
What are the steps to change your default suite when running unit tests in Flash Builder 4 with PureMVC?
View 2 Replies
Aug 16, 2009
As an experienced programmer in various environments (Linux,server side web development,etc), I was recently approached with an offer to do some Actionscript development.Somehow, it seems to me that unless one is artistically or visually creative or at least has some visual talent, one's Actionscript programming skills alone will not get you very far in flash development.Can one be a superb flash developer without having to make any artistic decisions, relying on graphic artists to tell you what to do? Or, should I stick to server side coding where I know I can add real value, even excel.
View 1 Replies
Nov 28, 2008
Would everyone please mention how they have used video fortheir clients; I would like to hear some really good creative andunusual usage of Flash video on websites etc...Maybe, you could provide some code samples ;) Anyone got anystories to tell al
View 6 Replies
May 15, 2009
I am loading the SWF just fine, but I want the SWF to fit the root stage exactly. What happens instead is that the external SWF seems to include white space from around itself.
For example, the author-set width of the Tanks game (an example file I was using) is 550px, but when I set the width of loadEvent.currentTarget.content.width to 550px, the game is resized to maybe 350px width. I have to set the value of loadEvent.currentTarget.content.width to something like 640 in order to get the game itself to make full use of those 550 pixels.
Code:
package {
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
[Code].....
I have CS4 with AS3. I hard-coded values for cWidth and cHeight instead of getting them from flashvars because I am just testing in the IDE right now. Normally I would get those vars from flashvars.
View 1 Replies
Mar 7, 2011
How can I set font size of title property (header) in TitleWindow component? If I use fontSize property, it sets the font size for all components in TitleWindow, which is not what I want. I only want to set it for the title. I'm using Flex 3.
View 1 Replies
Jul 25, 2011
Is it possible to set the frame count of a video manually in Flash BUilder 4? How is the frame length of a video determined in Flash Builder 4? I need to do this in order to trick video format converters into thinking that my video is actually x frames long instead of just 1 (my swf video is controlled completely through as3 code and thus resided on just the 1st frame). This way, the video format converters will be able to automatically (and correctly) convert my videos to another format (flv is desired). Another solution to this would be a converter that actually automatically converts based on video length rather than frame count, but I have already thoroughly searched for one and one doesn't seem to exist.
View 1 Replies
Jun 5, 2009
I have created a fla file in adobe flash cs3. This contains a mainstage with a menu (is a movieclip) and a background (actionscript gradient). I have set the movie to scale so that when it is viewed in a browser it will be adjusted to the size of that window.
My problem or what I want is the following :
- The menu and text of that menu must stay the same size, as created in the fla file, when a scale is done.
- The content of the movie(not the menu) must stay in proportion.
An example site that I found, that demonstrates what I want is [URL]. You can change the browser window size and the menu text size stays the same but the content goes in proportion of the window size.
View 1 Replies
Jan 1, 2010
I'm playing around with the scaleX/Y in the canvas tag and have noticed some strange behaviour. When I set scale in in mxml the width and height of the canvas are adjusted accordingly. For example if I have a canvas like this: <mx:Canvas width="1000" height="1000" scaleX="0.1" scaleY="0.1" />
The canvas now appears on screen to have a width and height of 100 and if inside my creationComplete callback I check the width and height property they are indeed 100. But if I do exactly the same thing except I set the scaleX/Y property from actionscript the canvas on screen appears to have a width and height of 100 as expected, but when I check the width and height property of the canvas they are still at the previous values of 1000.
View 1 Replies
Aug 23, 2011
I seem to have trouble setting the font size of the text of a legend item when the font family is set to Courier.
legendItem.setStyle("fontFamily", "Courier");
legendItem.setStyle("fontSize", 7);
doesn't work.
[code]......
View 1 Replies
May 26, 2009
This information must be on the Adobe site, but I've not had any luck tracking down the information... When creating a Mac and Windows projector in CS4, what are the minimum system requirements to open the created files on a Mac or in Windows?
View 5 Replies
Jan 16, 2010
how can I output the lower value inside an array of numbers? I have this but it is not doing the work, it is always returning the very first number in the array.
[Code].....
View 2 Replies
Nov 8, 2009
I have a string in XML format and I want to use this string as flex XML type as following : This is my string :
<Graph>
<Node id="1" name="1" nodeColor="0x333333" nodeIcon="center" x="10" y="10" />
<Node id="2" name="2" nodeColor="0x333333" nodeIcon="center" x="10" y="10" />[code].....
I cant pass this to an API, it complains that this is string and it expects an XML type. How can i convert this string to XML with minimum effort, ie: without iterating the string and the nodes etc. Is there such method as : var data:XML = new XML(str:String);
View 2 Replies
Jan 27, 2011
I'm puzzled I can't find a constant for the minimum value of int in actionscript.
There's Number.MIN_VALUE, but, as the name implies, that's for Number, not for int.
View 1 Replies
Jun 2, 2002
Does anyone know a fast and simple algorithm to find the minimum of X values?
View 4 Replies