Flash :: ScrollPanel With Movieclips Does Not Show Up?
Mar 30, 2011I'm trying to get a scrollpane going with some movieclips, but as soon as i set the source of the sP, the content vanishes.
[Code]...
I'm trying to get a scrollpane going with some movieclips, but as soon as i set the source of the sP, the content vanishes.
[Code]...
I have placed 3 movieclips named mcParent, mcChild1, mcChild2 and 1 textbox in flash. child are childrens of parent movie clip. child1 and child2 both are of sizes 300 whereas parent movieclip is 600px, textbox is placed inside child2 movie clip .
I have made the flash to auto resize according to the screen area. Everything works well, but after resize it resizes parent and all childrens and textbox which is correct. The problem is with the correct placement of textbox on mcChild2. I have seen that after resize, mcParent width and scalex both changes but the child clips doesn't changed its sizes even they are stretched but there sizes are not updated due to which I am unable to get the exact location of where to place the textbox.
Is there a way to create an automatic slideshow gallery that is controlled by the thumb position on a scrollbar?
I'm a FLash AS3 noob and I'd like to place an article or story inside a scrollpanel. At certain points of the story, I'd like the thumb (on the scrollbar) to trigger an event that transitions to a new image inside the slideshow gallery.
[Code]...
Im trying to get rid of the track that is used in scroll panel. It seems that I have no way to remove it.I tried checking visible to false,alpha=0,and color to white. It wont affect the skin track at all in the scroll panel.
View 1 RepliesI have this scrollpanel that gets its source from another container that builds content dynamically from an xml. So the content is in the scrollpanel with scroll. No i want to auto-scroll the content depending on the mouse position within that scrollpanel
[Code]...
the result of this is a flickering of the content.
I'm very novice at actionscript 3.0 so I can't handle custom components so I just use components given to me through flash professional. I want to scroll through a list by clicking down and moving mouse up and down (Almost like touchscreen model scrolling eg. iphone, andorid, ipad). I've tried startDrag() after adding EventhandlerI(ListEvent.ITEM_CLICK) to the list but it would start dragging the WHOLE list not through the data in the list. If my explanation isn't clear enough I'll be gladly be able to answer your question! So basically I dont want to see the scrollpanel skin on the right. If there is a way create this scrolling effect any way possible.
View 4 RepliesI have a ScrollPane component instance that I expect to throw an IOErrorEvent as it tries to load a file. Essentially, I want to set it up to look for one file, and if it doesn't find it, it throws an errorEvent and then I handle that by looking for a different file. I understand that the ScrollPane doesn't throw a standard IOError when this happens because the load is asynchronous, and that I need to listen for an IOErrorEvent.IO_ERROR event instead. I've attached a listener for this on my ScrollPane, but it doesn't seem to ever catch the event. Here's my code:
[Code]...
I try to clear how i can show movieclip from library on the stage using as3. And how i can show some movieclips.On library i have some movieClips like box1, box2 ..boxn.How i can show all this box on stage using array?
View 2 RepliesHow do I get my movieClips to show up on top of everything on the stage. Including the other animated movie clips that have buttons nested inside.
View 6 RepliesI'd like to be able to have an array of movieclips where i'm able to toggle their visibility depending on what button has been pressed. I would need to have a default movieclip that is visible and all the others are hidden, but then when I click a button to make one of the other movieclips visible the default one is hidden etc.You can see an example of what i'm trying to achieve at http:[url]........I'm experienced in PHP and HTML but have not used flash for several years so i'm pretty rusty. Can anyone point me in the right direction?
View 5 RepliesI want to make an array that loads movie clips, kinda like a tile game.. I'm making this "Badges" kinda thing on my game, and I want to add them with an array, so that it makes it much easier then adding each one.
I want it so that it shows 6 at a time, then you press a button, and it shows the next 6. How can I start out making this?
I created a slideshow of movieclips to auto show not in order. Now I need to create the same slideshow of movieclips but this time in order.
[Code]...
how I embed a html5 video player only if there's flash in the browser? If there is flash in the browser I want to use it instead.
View 2 RepliesI am starting with AS3 programming icm with Flash Builder 4.I have created a "Main" class which is the initial stage.On this stage there is a movieclip called mcMain.In this mcMain is 4 other movieclips: mcStats1 mcStats2 mcStats3 mcStats4 .How can I access these mcStats1-4 from the code to make them go to another frame?I tried:
var t:MovieClip = MovieClip(getChildByName("mcMain"));
t.getChildByName("mcStats1").gotoAndPlay(3);
But that just keeps giving me null reference errors:TypeError: Error #1009: Cannot access a property or method of a null object reference.
In my flex datagird i have a checkbox and a datgrid with seven columns. im populating values in first five column(remaining two column no values) of datgrid by an Arraycollection. now,By clicking the checkbox i want to show all seven column values and if i uncheck five columns has to show... how its possible?? heres my code
[Code]...
I'm fairly new to ActionScript and was wondering if anyone had an idea how this effect was done:[URL]..Click on a show date and the link zooms up and fills the screen giving show info. Then when you click the back button it shrinks back to where it was on the calendar.
View 3 RepliesIn my asp.net application,I want to show the .ppt file using the slide show manner.
That's to say,user can upload .ppt file to my server side,then other people can browser these ppts in the page ..
Since I have googled "embed powerpoint in web page" ,it seems that there is not a good idea to implement this and support the cross browser,so I thought the flash.
This is a slide show using the flash: [URL]
What I want is show the contents of the .ppt in this manner(it would be better if it support the animations in the ppt)?
I have one MC that he has an gray color, when I compel it, it is gray, everything is fine so far. I had to create one param in the HTML pra to be able to change at any time of the MC color ex:"meuFlash.swf?&cf1=ff3300>...", any time that I change this MC color , my MC change too. I create this. [AS]new Color (fundo_mc.fundos_mc).setRGB (parseInt (cf1, 16));[/AS] My problem is the following one, when I speak in the HTML that I do not want to use this color "ff3300", I only want to use "meuFlash.swf?...", mine MC are all black, it are not of the gray color that I already had left, I do not know because it is all black.
View 2 RepliesI m trying to make sense of how to load a swf into a parent MovieClip and allow them to communicate.I ve attached two zip files � one which works fine and the other doesn�t. Unfortunately (for me), the one which doesn�t work is closer to my current project.I need to load movieclips into the parent movieclip. The parent movieclip has controls which rely on values parsed from the child movieclip.In the parent movieclips I wait until the loading is complete and so the values should be passed. However, the values aren�t passed unless I use a button (or timer), to pass the values (see the working exampes).The code which doesn�t work is:
Parent movieclip:
ActionScript Code:
stop();
var myLoader:Loader = new Loader();[code].............
I have two SWF-Movies. One is exported into eht other as Child.Can I instance the Objects of the two libraries in all places, where ActionScript is possible? (In Keyframes of the MovieClips and in external class definitions.)
View 3 RepliesLooking for a way to stop all movieclips both are the stage and that are children of the ones on the stage.
I toyed with looping thru stage's children so I can first target clips on the stage. But I am getting error.
for (var i:int = 0; i < this.numChildren; i++) if (this.getChildAt(i) is MovieClip)
{
this.getChildAt(i).stop
}}
I am using Flash CS3 on Windows and using Dreamweaver CS3 to embed my flash content. I have a Flash banner/animation on my main index.html page that I cannot get to show up. I have provided all relative info/files below. It works find on my local hard drive, but when I upload it (from several different FTP clients) it won't show up on several different computers browsers. It's not my FTP, other items are uploading fine, and I don't think it is browser issues.
I checked the source code of the uploaded site against my Dreamweaver code, and it seems to be the same. So I can't understand what's going on.I tried resaving the file under a new name. The weird part is, I embedded a .swf file initially and it worked. I was asked to make edits to the movie, and I renamed it, replaced old files and now it won't work. I made sure and tried to check all the links to make sure it wasn't trying to link back to my old document, resaved my index.html page etc. [URL]
((Code))
</div>
<div id="apDiv44"><a href="quiz.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('burst','','Images/red_circle_badge_rollover.png',1)"><img src="Images/red_circle_badge.png" name="burst" width="137" height="133" border="0" id="burst" /></a></div>
[code]....
I am using Flash CS3 on Windows and using Dreamweaver CS3 to embed my flash content. I have a Flash banner/animation on my main index.html page that I cannot get to show up. I have provided all relative info/files below.
It works find on my local hard drive, but when I upload it (from several different FTP clients) it won't show up on several different computers browsers. It's not my FTP, other items are uploading fine, and I don't think it is browser issues.
I checked the source code of the uploaded site against my Dreamweaver code, and it seems to be the same. So I can't understand what's going on.
I tried resaving the file under a new name. The weird part is, I embedded a .swf file initially and it worked. I was asked to make edits to the movie, and I renamed it, replaced old files and now it won't work. I made sure and tried to check all the links to make sure it wasn't trying to link back to my old document, resaved my index.html page etc.
Here is my flash animation cs3 document for download from Dropbox. [URL]
Here is my Source Code for the Flash area of my page. The page is also at: [URL]
((Code))
</div>
<div id="apDiv44"><a href="quiz.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('burst','','Images/red_circle_badge_rollover.png',1)"><img src="Images/red_circle_badge.png" name="burst" width="137" height="133"
[Code].....
Flash won't show on this site I just uploaded, can't figure it out, here's the code as pertaining to it on the homepage
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script></head><body><div id="apDiv1"><img src="Phantom homepage.png" width="766" height="740" /></div><div id="apDiv2"> <script type="text/javascript">AC_FL_RunContent(
[code].....
I have flash animation on my web site, in all other browsers except IE shows. Header is same size as object.
<div id="header">
<object style="width: 760px; height: 128px; margin-top: 3px" codebase="[URL]">
<param name="movie" value="[URL]" />
<embed src="[URL]" quality="high" width="760" height="128" name="myMovieName" type="application/x-shockwave-flash" pluginpage="[URL]">
</embed></object></div>
I have a question that I cant quite start.I have a web site that record some cookies: name, age, sex, etc.
I would like to know if it is possible to create a flash banner that display this information, like: hello [name], how are you doing today?
I was searching online and everything that I found needs something outside flash to work.
Is that a way to create a flash that can read cookie's values and show then?
how to show a static image if the user does not have installed the Flash plugin? I have a banner that will use Flash, but if the user does not have the plugin I would like the page to show a JPG version of the banner.
View 4 RepliesI am trying to make an application that automatically picks a picture from a folder, example for it to grab a jpeg called "pic1.jpg" and display it on the animation?
I am trying to make a slide show, but I want the slide show to have at least 10 different pictures that it goes through (pic1.jpg, pic2.jpg, pic3.jpg (and so forth)) on the screen. Transformations are a plus.
I also own a Flash CS3, so if this is impossible to be done with Flash 8, tell me the instructions for Flash CS3
I have created 25 MovieClips on the stage in 5 X 5 matrix.How can I treat 5 movieclips in each row as a group of movieclips so that I can apply same set action to them?(Similar to RadioButton functionality. )
View 6 RepliesPrinting an MC is easy enough. But I am having trouble printing an MC which has multiple MCs inside of it. They just don't get printed.
I am trying to avoid printAsBitmap.