ActionScript 2.0 :: Carousel Navigation Item For Site Built?
Dec 15, 2010
I have a tutorial-based carousel navigation item for my site built, and now new XML content (CDATA) for the carousel can be loaded dynamically into the carousel depending on pressing different language buttons (example attached). After a few fails and tries, all good!
What I am trying to do is apply a preloader for the whole thing. Attached are 3 FLAs:1) 'working' shows the different language buttons working as I have them - the tooltips and expanded icons will show different XML content depending on the language button selected (English, Polish, German, Dutch - haven't created content or translated yet, but you can see different identifiers!)
2) 'preloader' shows the preloader I would like to apply to the carousel item. The layers are moved to frame ten mostly, 'Export in Frame 1' has been un-checked in properties for the 'item' and 'tooltip' library items, and a new layer containing dummy 'item' and 'tooltip' instances in keyframe 5 have been added. The AS has also been changed, but it doesn't take into account the multi-XML change as in 1 above
3) 'bridging' is my sorry attempt to bridge the gap between 1 and 2 above. I think that a separate array will be needed - one for the multi-XML and another for the way in which the preloader works, but nothing that I have done so far can get this to work. I have been banging my head on this since Saturday, the 'bridging' actions layer only contains a slight variation on some of the bonkers theories I have been trying, I've rolled back most of the changes - all to no avail though....
Can anybody please have a look at what I am trying to do and let me know what it is that I am doing wrong, or give me some pointers? The 'problem' AS sits in the keyframe in frame 10 of the 'actions' layer.
View 5 Replies
Similar Posts:
Dec 15, 2009
I am trying make a preloader for a site I've bulit.I did this site via the displaylist the whole thing and I have every pages linked togther as actionscript files
View 0 Replies
Sep 16, 2006
I need the tooltip above each item to always show the tootip. I tried changing the alfa from 0 to 100 which doesnt work, and also I saw where the depth is set way up so not sure if that will affect them as it turns or not.
View 1 Replies
Aug 8, 2011
I need to build a memory managed carousel type navigation. Like scrollviews on iOS. What's the best framework to use and are there any good tutorials on this?It's for various mobile devices and perhaps the web aswell.
View 1 Replies
May 11, 2009
I've been trying yo convert Lee 3D carousel tut to AS3 and it pretty much there apart from one thing. I took Lee's as2 carousel 2 and applied what I know to convert it to AS3. I couldn't work out how to re-index each item properly. When the last item in the XML should appear under an item to it's left or right it does not due to numbers being rounded from the scaleX value being too close and causing the same number to be generated from more than one item therefore last item to be processed ending up on top. I've tried a few alternatives, but nothing has worked so far. Hopefully that makes to sense to someone.
If you download the files from Lee's tutorial http:[url].... open the fla, change the publish settings to Flash Player 9+ and AS3, remove all existing AS code, check the library item linkage as I've capitalized everything and add the following to the root timeline.The code causing the problem is this in the function mover:
Code: Select allvar index:int = Math.floor(mc.scaleX*10);
Code: Select allvar loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onLoaded);[code].............
View 3 Replies
Mar 12, 2011
Im trying to load up images as well as text when an item is clicked on the 3D carousel. How do i go about doing this?
View 1 Replies
Nov 25, 2004
Have been incorporating XML data into applications for a while now... have now begun using it for medium to large navigation lists.
While I can do any method of horizontal, clamshell, expandable, motion-based navigation etc I have a strange problem overall... I cannot, for the life of me, figure out how to code a smart function that will check which nav item was clicked and keep it highlighted until another one is clicked... then that one would highlight and all of the others would be un-highlighted.
I can do rollOvers using references to XML array generated items. BUT-- the smart checker is something I cannot figure out..
View 1 Replies
Sep 5, 2010
im trying to make a navigation bar for my flash site. The idea is that all the content is displayed in small vertical lines, like this - and when you scroll over a line it opens out to a thumbnail. At the same time the other lines move outwards to accommodate the space taken up by the thumbnail. I wanted only the line your scrolling over to show but its kinda similar to the mac osx dock. Ive tried using examples of mac docks and none seem to do what i want them too.
View 0 Replies
Aug 30, 2005
New to this forum, but was wondering if the moving background on this site [URL] is actionscript or just an animation. It looks very cool. I wanted to use the same effect for a school project I'm working on, I am using MX 2004.
View 4 Replies
May 26, 2011
This is a snippet of code in our custom item renderer which is in actionscript:
textCustomItemRendererTempForTab.tabEnabled=true;
textCustomItemRendererTempForTab.focusEnabled=true;
textCustomItemRendererTempForTab.setFocus();
Alert.show( "Without this alert focus goes to next grid " );
keyboardEvent.preventDefault();
keyboardEvent.stopImmediatePropagation();
keyboardEvent.stopPropagation();
Right now tab navigation works (on tab, focus goes to next editable cell) with the alert inserted in the code but I'm not sure why because I believe the alert in the code breaks the flow of event bubbling. However without the alert (which is what we are going for) the focus goes to the next grid in our UI.
You can see the attempts of trying to stop the event from going to other components. I have also tried to call preventDefault() and stopPropagation() on the datagrid when it receives a tab key event.
how to allow proper tab key navigation without an alert?
View 1 Replies
Mar 16, 2004
[URL] how the navigation/drop down menu on this site was created--from a technical stand point? I'd like to try something similar, but don't know where to start i.e. how are the elements of the menu situated on the timeline? What sort of actions are behind the buttons? Etc...
View 14 Replies
Jan 18, 2005
Not sure if it is just me, but I cannot seem to find any other menu out there that functions like the macromedia menu. I am building a navigation for ford.ca and the client wishes the navigation to behave like the macromedia site. MM site nav has some sort of delay that is triggerred before the rollover function fires, as well it detects when the mouse stops moving before firing. Take a close examination and you will see this.
View 1 Replies
Feb 11, 2011
Client has a flash navigation menu on his website. When the site is accessed via [URL] the hardcoded links in the flash nav load pages properly. When accessing the website via the [url] the site navigation links can not load the proper pages and instead just redirect the user to the root domain.
I assume this can be fixed with a change to the .htaccess but I do not know how flash handles these links.
.htaccess:
Options +FollowSymLinks
RewriteEngine on
[Code].....
View 1 Replies
Feb 2, 2011
I have a feeling I will be a frequent visitor.creating a site for a client. The entire site will be in AS3, we're doing one long page with navigation that will always sit in a box to the left. When you click on a button in the nav, we want the site to scroll down to a certain section.
View 2 Replies
Sep 26, 2010
now we all used to disable the menu until new section of our site gets animation but how do you handle user repeatedly abusing for example back button on the browser when moving though your website?
View 1 Replies
Dec 16, 2007
i build a carousel gallery and put it into my HTML page in a hybrid site but the problem is that it starts spinning as soon as the HTML page is loaded because it works with cursor distance from the center of the stage. Is there a way of deactivating it and ONLY onRollOver is it activated and when i roll off it is deactivated again. my second problem is that I've made a flash navigation for the same HTML site. This is the code I've used for the button states:
[Code]...
View 8 Replies
Jun 15, 2010
We are creating an ecommerce site for my business and am trying to create a flash file that will allow the end user to select a color from a palette of 64 different swatches that they would like their item to be so it processed it into the order. I only need to create the flash file so they can select the color.
View 4 Replies
Feb 15, 2011
I have this datagrid:
<mx:DataGrid id="dgCompetenteN" includeIn="Test" left="10" right="472" top="69" bottom="149"
dataProvider="{colCompetente}" editable="false">
<mx:columns>
[Code]....
What I want to do is, when I select an item in the datagrid, the selected item of the dropdown should be the correct one (the one which has the field idCompSuperioara equal to the third element in the selected datagrid row).
View 1 Replies
Jun 10, 2011
I'm creating a mobile app in which I need to show a calendar with months at the top. The months are part of a component that extends from SkinnableDataContainer (and has some custom scrolling/behaviour - which is why I did'nt use a spark list). I need the months to be shown as a 'trapezium' shaped tab and so I'm using a png image as a mask in the item renderer for the component.
When the mask is not applied, it all works well - the months render, the list/data container selection works when I click on a month and so on.When the mask is applied, it renders well, scrolling and everything else seems to work well - but when I click on a month, nothing happens visually. And from the trace statements in my code, it appears list item selection is not changing. Looks like mouse clicks are not working.
Code:
public class TopCalendarMonthRenderer extends LabelItemRenderer {
[Embed(source="/assets/trapezium_alpha.png")]
private static var TrapeziumMask:Class;
private static var trapeziumMaskInstance:BitmapAsset;
[code]...
View 1 Replies
Jul 20, 2010
I am in search of finding a way to display shopping cart items in a flash 8 datagrid in the order it was chosen by the user & also to ability to delete an item if the user choses. Currently I have the items displaying however they are displaying in a position as it is stored and called in the array. [code]
View 5 Replies
Jul 22, 2011
I have made a drop down menu with 7 items but as the invisible bottun around each item interferes with the item besid it, when i try to roll the mouse from one item to another, the invisible bottum dont work and the dropdown remains open.
View 1 Replies
Mar 4, 2011
<mx:itemRenderer>
<mx:Component>
<mx:Canvas>
[code]......
View 2 Replies
Apr 26, 2011
I have used states in my application.The thing is I have made the first item in my list to be selected. so I gave like this,
if(itemIndex == 0)
this.currentState="selected";
this works fine.The problem is when other item is selected the first item does not change its state,it remains in the selected state until its clicked.My code looks like this,
<s:BorderContainer id="outerCont" width="275" height="100" borderVisible="false"
backgroundColor.normal="#3D3C3C" backgroundAlpha.selected="0.1"
backgroundColor.selected="{data.color}">
My states are like this,
<s:states>
<s:State name="normal" />
<s:State name="hovered" />[code]........
View 1 Replies
Nov 4, 2011
Is it possible to trigger Flex Piechart Item click event when a Datagrid Item is clicked.If so can anyone give some example.
View 3 Replies
Jul 13, 2009
I want to be able to select an item from my list component and fire a function directly related to selecting that item. list is called "tidlist" function is "selecttid(n)" the "n" needs to be replaced with the index number... so if run my swf and the list component displays my items... when i select one (the third one for example)... i want to fire "selectTid(3)".... cant seem to grasp.
View 1 Replies
Jul 13, 2009
I want to be able to select an item from my list component and fire a function directly related to selecting that item.
list is called "tidlist"
function is "selecttid(n)"
the "n" needs to be replaced with the index number... so if run my swf and the list component displays my items... when i select an item (the third one for example)... i want to fire "selectTid(3)".... cant seem to grasp.
View 1 Replies
Oct 30, 2005
Im doing my platform game and I want to know in ActionScript how to get a character to pick up an item and throw the same item.
how do I do that? whats the code?
View 1 Replies
Mar 10, 2011
How to show the item index in my item renderer.Owner of the item renderer is TileList. [url],..
View 2 Replies
Feb 25, 2012
i have made a site in flash. stage size 955x600 i have exported it as fullscreen with no scale. the problem is that if i browse the site with a resolution of 800x600 (760x420 if i'm not wrong), the browser dont' add scrolls and its impossible to see the complete site. How can i fix this without resizing the site. i want the users to see with the proportions that i have now.. ijust want a scroll on the browser.
View 2 Replies
Nov 4, 2009
the flash4 published set of files, with a variety of skins tried, works well on the local drive, even when moved to a different folder structure. when index.html is opened on the remote web site, the browser (firefox3 and ie7) displays the player conrols and a rotating horizontal barber pole, green and black, but no flash video.some of the skins i've used are: SkinOverPlaySeekFullscreen.swf, nOverPlayStopSeekCaptionVol.swf and SkinUnderPlay.swf. all work locally but do not play the .flv file on the web site. no problem playing flv movies on the remote web site if the file set is created by dreamweaver.
View 8 Replies