ActionScript 3.0 :: Can't Make UIScrollBars Appear In Published SWF?

Nov 6, 2011

So I've thumbed around a little through Google, looking at other threads trying to figure out why I can make my UIScrollBars preview all right, but not get them to show up in teh SWF after it's published.I'm coding the whole thing. I did add the UIScrollBar component to my library and imported the UIScrollBar class, but there is nothing on the timeline. I've read stuff about linking to library components or something along those lines. I'm not sure if that's what I'm missing. Here's the code:

// There classes ar imported
// Sprite is extended
import flash.display.Sprite;

[code].....

View 3 Replies


Similar Posts:


Professional :: Make The Stage Transparent When Published?

Jan 14, 2011

I want to take a simple published animation and put it into SONY VEGAS. However, I only want the character (I've created a symbol for it) and not the big white stage. My goal is to get the animated character on top of all my sony vegas layers, but the stage is blocking all the other layers. Is there some kind of setting that can make the stage transparent when publishing as a SWF?

View 3 Replies

Two CS4's Produce Different Published .swf From The Same Fileset?

Dec 12, 2009

*Can two CS4's produce different published .swf from the same fileset?I have a flash suite written by a young man in China.When I test the .swf file in the suite it works fine.However I need to make some minor redesigns so I need to change the .fla file - but before I do I found that when I publish a new .swf from the .fla file (with all the necessary action scripts/xml etc in the right place) it doesn't produce the same outcome. Instead the navigation (next page, items per page etc) is missing.

When he does the same thing (I trust his integrity) he gets the new .swf with the navigation in tact.You can see the two outcomes at the web address below (mock data).There are no code changes, no library changes that I can find.So I thought maybe there is something about different settings or 'environments' that can affect the outcome?

View 3 Replies

Professional :: .gif Not Being Published Correctly?

Oct 30, 2011

I created an animation in Flash CS5 and tried to publish it as a .gif. For some reason,there's a dark box around the moving text, as you can see.

View 5 Replies

ActionScript 1/2 :: Key.getCode() On PC And Published .exe - .swf And .app

Nov 3, 2011

I have a kind of unusual problem... Im building a prototype for a UI wich you can navigate around in. And we use a mockup-prototype-model with a numeric keyboard built in and connected trough USB to fetch keypresses and use that as a joystick to navigate around and get a feeling how it would feel like to navigate around using a joystick in your hands. The problem is that it sends kind of unusual keypresses from the joystick. Everything works fine when I test the movie in Flash CS5 on a mac (cmd + enter). But not on a PC or in all of the published modes (.exe, .swf or .app). The codes I use in my if statements to navigate that doesnt work is:

[Code]...

View 5 Replies

ActionScript 2.0 :: Not Centered When Published?

Feb 23, 2007

I can't get my "dock" to center horizontally when i publish the movie for full browser flash(100%/no scale).It works fine when you test the movie. I don't get it. heres the code

Stage.scaleMode = 'noScale';
this.dockActions = function(label) {
switch(label) {

[code]....

View 1 Replies

IDE :: Png Loses Transparency When Published As Swf?

Dec 22, 2008

I'm working on a project where I want to use a transparent png, and when authoring in Flash CS3 (using actionscript 2.0) the png image appears transparent just as it should. However when I test it the .swf file loses the transparency entirely. The png image was saved for web from photoshop as png-24.

View 1 Replies

ActionScript 3.0 :: Changes To Code Not Being Published?

Mar 8, 2011

I'm working on a project in Flash Builder 4 and I've run into an odd situation. The changes I make to the code do not seem to be published in the swf that pops up when I build and run. I can actually delete the entire main class and (even though I get lots of compile errors), the swf will still run just fine. This is actually a project I imported after it had been setup by a previous developer. We may be using different versions of Flash/Flex Builder.

View 2 Replies

ActionScript 3.0 :: Tell When A SWF Was Published (date Modified) Via It?

Sep 24, 2009

Is it possible to tell when a SWF was published (date modified) via ActionScript?

View 3 Replies

ActionScript 3.0 :: RSS / XML Feeds Don't Display In Published Swf

Jun 24, 2010

For my class' final project, I created a little eBay search tool platform. It

1) performs a search (and the link generates affiliate coding so commissions would result if an eBay affiliate used this application on their website),

2) it shows a few eBay-related news feeds, and

3) it shows some beginner's videos showing how to buy on eBay.

Playing the swf as a movie on the desktop, within Flash, works fine.However, since I've published the swf into a webpage, the search function and one of the RSS feeds do not work. My application is at: [URL]I've read about crossdomain policy issues, but I'm stumped about that. Using FireBug, I see an error message:"NetworkError: 404 Not Found - [URL]This is the domain where I'm calling the RSS feed. Because this domain does NOT have a crossdomain.xml policy in place, does that mean that no matter what I do, I'll never be able to draw from it? I've set up a crossdomain.xml file in my website's root and it consists solely of:

Actionscript Code:
<cross-domain-policy><allow-access-from domain="www.dongarber.com"/><allow-access-from domain="dongarber.com"/></cross-domain-policy>

And, the URL I use to connect to eBay's api is:

"http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&dfsp=32&from=R6&nojs pr=y&output=RSS20&saaff=afepn&siteId=0&afepn=53358 27058&customid=flashfinalprojectRSSFeed&satitle="+searchTermBox.text+"&saprclo="+minAmt.text+"&saprchi="+maxAmt.text+"&fbfmt=1&sabfmts=0&sascs=0&fsop=33&fsoo=2";

This works when I cut and paste a sample URL into the browser, say, when I substitute a search term minAmt and maxAmt into that gobbledegook. The search never returns anything when this app lives on a published html page...

View 3 Replies

Everything Jagged When Viewing The Published Version?

Aug 24, 2010

Using FLash CS5 and everything looks jagged when I view hte published version of my movie.Back in Flash 4 there was no jagged edges so what have I missed?Here's an image to show you what I mean.See the Black outline of the movieclip is flipping out. It's a normal vector based movieclip, no image or nothing.

View 1 Replies

Button Hit Area Different In Flash Than Published?

Oct 7, 2010

I am creating a simple flash animation in Flash CS5 of a hip hop group, where when you mouseover their picture, their name pops up over their head.

I made each image a button and created the frames for up, over, down, and just a black rectangle for the hit area.

The problem I have is that in Flash when I have simple buttons enabled, it works fine and flawlessly, but when I publish it the hit area is sketchy and doesn't always react when moused over.

View 3 Replies

Published HTML Movie Won't Play

May 12, 2009

I just published a short movie from Flash CS4 and placed the entire set of files at this URL[URL] and when my web designer or me for that matter double clicks on the HTML file the movie doesn't play. We get a black screen and at the bottom of the frame in the progress bar there's a little green & white zebra like moving line. I'm pretty sure this is how I've delivered movies from CS3. I'm obviously missing something obvious here, but I haven't a clue. If I double click on the HTML file on my machine that has Flash installed it works great. The .FLV file plays correctly in media player also.

View 7 Replies

Movie Won't Play Once It's Saved Or Published?

Jun 10, 2009

I am testing Flash CS4 at the moment, but something is wrong with it. What I did hundreds of times in CS3, here it just doesn't work.I used Adobe Media Encoder to make F4V from AVI. Then I imported that file to flash (load external video with playback component). Then I previewed it (ctrl+enter) and everything was fine, but once I saved (or published) it, the movie didn't play anymore. There was just background and no movie nor playback component.I tried encoding that file to FLV, even for older flash versions (I have the newest one installed), but that didn't help.

View 5 Replies

Text Loses Style When Published?

Jul 10, 2009

I have a project that consists of 11 invisible buttons laid over a map of a building; when the user mouses over a "room," the name of the room appears. The building map is on an angle so I rotated and skewed the button text to match the map. All the text looks fine within each button symbol, but when published 4 or 5 of them lose their skew...the rotation seems to still be intact.

View 1 Replies

Published File Plays Very Slow?

Sep 7, 2009

The Flash file that I've attached plays very slow on my other, older computers.  It plays fine on mine, but these older computers play other flash files (i.e adobe.com) fine.  I want to know if I'm missing something here as to how making this play efficiently.  I understand that I am using photographs - rasterized images - but, is it really supposed to take that much power to play it?

View 1 Replies

Missing Static Test Once Published?

Sep 11, 2009

I have just switched to CS4.  When I updated some text in a movie on the site (originally built in an older version of Flash from back in the Macromedia days) things went fine until I published the document.  The movie file looks fine but random characters have disappeared and some portions that were Italics have become regular.  Everything stays good in the movie file, but the published one loses characters.  I tried publishing for flash 5 but that made no difference.  What should I be trying? 

View 3 Replies

Published App Won't Show Video Controls

Oct 2, 2009

I'm including a video with it's controls into a frame in flash.When I try it and publish it as SWF the control bar of the video shows but when I publish it as a .app for mac or a .exe for windows and run itthe video shows but not the controls

I'm using the FLVPlayBack component to show the video

View 1 Replies

Professional :: Loaders Won't Show When Published As .EXE?

Aug 25, 2010

My main project loads an external .swf ("room") depending on which button the user clicks. Once that external .swf ("room") is loaded, the viewer chooses a ("demo") .swf to view. For each button click, a loader is to appear showing the viewer that the desired room or demo is loading. All of this works fine for the web...please click the link below to view. The problem exists when I try to publish as an .EXE. We'd like to send these out to prospects on CD and thus I need an .EXE to autorun when insterted in a PC. I've publised the main .SWF (overhead map) as an .EXE and burned a cd containing all necessary files. Now when the user clicks a room and then a demo, the loader that shows up fine on the web does not appear.

View 2 Replies

Professional :: Different Browsers When Flash Is Published?

Feb 1, 2011

i am facing problem with internet explorer and google chrome, viewing my flash document. When i test my flash document on IE, it simply does not show my flash work at all. Instead this show up:
 
and on google chrome i have just click on screen for it to show otherwise nothing happens.

View 3 Replies

Professional :: Bad Quality Animation When Published?

May 23, 2011

I have imported all my images into flash using photoshop and the quality looks really good and crisp in Flash, but when it comes to exporting, testing or publishing the animation the images either appear pixeley or blurry. I have gone through all my file settings and everything

View 1 Replies

ActionScript 3.0 :: Preloader Bar Not Working When Published

Nov 18, 2009

I have a preloader bar which I get no errors on but when i publish on the web it does not work and it does not appear to work when I use the "simulate download feature" of flash cs4.
Code:
stop();
addEventListener(Event.ENTER_FRAME, preload)
function preload(e:Event):void {
[Code] .....

View 2 Replies

Dynamic Text Not Showing Up When Published?

Feb 11, 2009

Dynamic Text in Flash ActionScript 2.0 not showing when published

When published all else shows up except the dynamic text. The properties have been set on "Bitmap Text (no anti-alias)" and fonts not seemingly embedded..

View 12 Replies

Actionscript 2.0 :: Published Swf Not Working Correctly?

Apr 30, 2009

I am loading external swf files into a single container( Instance: contents). when I test the movie inside flash it works fine but when I use the generated swf outside flash one of the swf files don't unload the way it is supposed to and therefor the other swfs can't load either. The swf file that dose not unload, contains videos using xml with a list component. Actually I used the tutorial from this website (Flash Video Basics). Here is the code I am using. It is probably kind of crude but I don't understand why it works only when I test the movie.

Code: Select allstop();
aboutArtist.onRelease = function() {
waveBar.gotoAndPlay(2);

[code]...

View 1 Replies

IDE :: Centering Website In Browser When Published?

Dec 25, 2002

how i canter my website like lostinbeta.com, beck.com etc. Right now whatever i do, dreamweaver positions my flash site in the top left corner of the browser, save the small border on the top and left,

View 3 Replies

ActionScript 3.0 :: Get A Swf's Published Width And Height?

May 7, 2009

I am trying to build a component that needs to access the width and height of the swf it is loaded on to resize and reposition correctly. I could pass in these numbers to the swf but I'm trying to make implementation as easy as possible. I don't need stage.stageWidth or stage.width, i need the published dimensions.

I have tried accessing the stage's LoaderInfo.

Code:
var w:Number = stage.loaderInfo.width;

But I get this error even though the file has completely loaded. Error: Error #2099: The loading object is not sufficiently loaded to provide this information.

I have also tried this:

Code:
var stageInfo:LoaderInfo = LoaderInfo.getLoaderInfoByDefinition(stage);
var w:Number = stageInfo.width;

Which works great locally, but craps out online. "SWF_URL" is the same link by the way. This error makes absolutely no sense to me becuase the swf is trying to access itself. It's not trying to load some other content's data. SecurityError: Error #2119: Security sandbox violation: caller SWF_URL cannot access LoaderInfo.applicationDomain owned by SWF_URL.

Any thoughts on either fixing this security error or another way to introspect and grab the published dimensions?

View 4 Replies

ActionScript 3.0 :: Listeners Not Working When Published?

Jun 30, 2009

I have a project that when tested in Flash works perfect. But if I just run the .swf from my machine, or publish to an .exe various listeners do not seem to be working - specifically the MouseEvent.CLICK listeners - my rollovers work fine, using TweenLite, but I can't click some buttons... some buttons I can. I've not seen this before and it's quite frustrating at the moment.

View 6 Replies

ActionScript 3.0 :: No Sound In Published Swf On Server

Jul 2, 2009

Newbie question, can't find this specific problem in the archives... I've created an app that has lots of audio. The audio is mp3 files. When I test it (CTRL+ENTER) I hear the audio. When I publish it and view it in the .html file locally (not a local hosting environment) I hear the audio. No problems there. But now it's on an actual server and I can't hear the audio. Wondering if there is a setting I've missed. I have not changed any settings related to audio. I'm actually emailing the .swf file, the .html file, and the AC_RunActiveContent.js file to an individual who has access to the server, and he put them where they need to be. I can see all of the visual content, but no sound. I assume I don't have to send all of the audio with it, correct? What do I need to do to hear this audio?

View 2 Replies

ActionScript 3.0 :: Game Slows Down When Published

Dec 4, 2009

I recently finished a game that I was really excited about. But when I publish it and try to play the published .html file - or if I upload the .swf file to a website and play the game from there - nearly everything is slowed down to the point of the game becoming unplayable. When I test the movie in Flash CS4 itself, it works fine.It's a fairly big game, mostly due to music. However, the problem still occurs if I remove all the music and sound files. I read that a preloader could solve such problems, but it didn't. Originally I thought that the framerate was slowing, but it wasn't.

View 8 Replies

IDE :: Appearing In Published Movie, But Not In Timeline?

Apr 21, 2010

I have this flash file for a website that needs editing. However, I know next to nothing about Flash (I still have Flash 8, so that tells you alot). Anyway..I have made the edits, and as far as I can tell, the bits I have edited haven't changed where the problem occurs.

Basically, theres 2 'slides', you click 'next' and the 1 slide fades away, and the next fades in. However, if you drag the timeline thingy, this fade happens all ok, however, ctrl+enter to test the movie, or publish it and play it the swf player..one part of the first slide doesnt fade out, it stays there in the background. Its seperate from the rest of the slide in terms of not been all one image or whatever, its text, but i cant edit it (if that makes sense?).

I can delete it, by clicking and double clicking around randomly till its highlighted, but then it disappears completely from the movie.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved