Creative Flash Scroller Forum


box Creative Flash Scroller
With Creative Flash Scroller you can scroll any kind of Flash Content: static text, dynamic text, pictures, animations, movies. It comes with multiple scroll behaviors: touch scroll, mouse gesture scroll, scrollbar scroll and even supports mouse wheel behavior. You can add smooth scrolling or motion blur effects and customize it to suit your design, from an easy to use interface.

Find out more about Creative Flash Scroller

Thread: Dynamic News Nugget

title left
User Details
message
title right

post date:
2010-05-06 06:01:59
Hello ,
I'm french guy with bad english sorry ...

I dont understand your tutorial about the xml file ( i can t see the structure because the link doesn't work )
and i don't know if i had to convert the custom element in symbol and export them for action script ..

thank you fo your help
Andrei Rinciog [Extend Studio]

post date:
2010-05-06 06:19:27
Hello,

Thank you for pointing the bad link to the sample XML. We will fix that immediately.

The "Article" element that will hold each "news feed" needs to be exported for Actionscript. This way you can instantiate it from code.

Regards,
Andrei Rinciog
Jan Petter

post date:
2011-07-25 22:56:07
Hi!
Creative Flash Scroller is one of your extensions that I use, and I wanted to go through the tutorial "How To Build A Dynamic News Nugget". I'm not a complete newbie to Flash - I also use the MovieFX and the TextFX extensions - but the actionscript coding in Flash is something that I'm not
that good at. That is of course why I bought the Flash Scroller. I've done all the other tutorials for the Flash Scroller and they all worked fine. But the News Nugget tutorial will not. So now I have gone through the tutorial three times, and I get the same errors every time. There are some inaccuracies in the tutorial - like on which layer the container for the single newsfeed
should be placed. I placed it on the scroller layer because it made most sense. If I place that container with the X- and Y-coordinates that is in the tutorial, the container will hide the title on the nugget. But this is not the main problem: when I run the "test movie" I get 8 different errors. In the compiler errors window it shows:

Scene 1, Layer 'actions', Frame 1, Line 11,1046: Type was not found or was not a compile-time constant: event.
Scene 1, Layer 'actions', Frame 1, Line 29,1046: Type was not found or was not a compile-time constant: string.
Scene 1, Layer 'actions', Frame 1, Line 29,1046: Type was not found or was not a compile-time constant: string.
Scene 1, Layer 'actions', Frame 1, Line 29,1046: Type was not found or was not a compile-time constant: number.
Scene 1, Layer 'actions', Frame 1, Line 52,1046: Type was not found or was not a compile-time constant: timerevent.
Scene 1, Layer 'actions', Frame 1, Line 65,1046: Type was not found or was not a compile-time constant: mouseevent.
Scene 1, Layer 'actions', Frame 1, Line 79,1046: Type was not found or was not a compile-time constant: mouseevent.
Scene 1, Layer 'actions', Frame 1, Line 93,1046: Type was not found or was not a compile-time constant: event.

I have copied the xml-file to the same directory as the flashfile. When I run "test movie" the only text that is showing is the text I copied to the single news feed container called "Article". (I have exported the Article-element for Actionscript). And that text should not show at all. Could there be a problem with the code, when the xml-file will not load inside the scroller?
It would be nice to have the newsscroller working. But maybe I should use the DW jQuery Powerslider instead, because what I am really after is the scrolling of content with a timer delay. I believe that the Powerslider are doing this completely without any coding?
I also have som issues with the FlexiLayout that I bought with the Deamweaver CSSPack. It has to do with the overflow;hidden problem when a menu with a sublevel is inserted into a div. Earlier Andrei Rinciog adviced me to put the menu in an outside div with position;absolute. But what about
when resizing the browserwindow? Then the menu will not float together with the rest of the div's. So that is not a good enough solution. I tried to change the overflow;hidden to overflow;visible, but every
time the FlexiLayout is updated it goes back to hidden again. And I also have some problems with a FlexiMenu inside a div made with FlexiLayout. The menu will not fill the container div it's in, even when I set the Fleximenu's horizontal sizing to "Fit to container". If I go inside the FlexiLayout gui - selects the menu container-div and click the right
box in the "Children Align" then sometimes ( ! ) the menu will fill the container. And when it does not, the right box selected in the "Children Align" has gone back to the left box which is the default. Why is it not saved with the right box selected? When I see all those CSS-rules the FlexiLayout is generating, I can not understand why all of them are necessary? It just creates a lot of confusion when you have to change something in the code. In fact, the FlexiLayout extension gave me so much
problems that I have stopped using it and gone back to using tables instead. And that was not the intension when I bought the program.
I hope you can give me some help with the FlashScroller, that one is the most important. The FlexiLayout could have been a great extension for me, but when it is so much problems with it I will rather use tables instead.

Jan Petter
Andrei Rinciog [Extend Studio]

post date:
2011-07-28 04:26:19
Hello Jan,

The errors that you receive when you test the movie are caused by the fact that all classes are in small caps in the AS code of the tutorial. Somehow the formatting of the tutorial page messed the code. There is a "text-transform:lowercase" CSS rule that affects the way the code is displayed.
I will send you the correct code by email.

You place the menu outside of the layout in a totally different div or inside the layout?
Theoretically, the menu should position itself absolute of the first relative ancestor. So, if the parent has position relative the menu should be placed absolutely inside it. If the parent grows with the layout, the menu should maintain it's position inside the parent and practically move if needed.

That children align setting is available only when you have child divs inside. If you don't, use text-align instead.

The extension generates so many code to keep all split up nicely and editable. We are currently working on significantly improving the generated code so it will be much more intelligible.

Regards,
Andrei Rinciog

Jan Petter

post date:
2011-08-07 19:22:18
Sorry for the wait, Andrei!
Thnx for the code, but it did not do the trick, though. I get a lot of errors even now. The compiler errors windows now shows:

Scene 1, Layer 'actions', Frame 1, Line 22 1120: Access of undefined property num_holder.

Scene 1, Layer 'actions', Frame 1, Line 40 1180: Call to a possibly undefined method WhiteSep.

Scene 1, Layer 'actions', Frame 1, Line 57 1120: Access of undefined property num_holder.

Scene 1, Layer 'actions', Frame 1, Line 61 1120: Access of undefined property num_holder.

Scene 1, Layer 'actions', Frame 1, Line 70 1120: Access of undefined property num_holder.

Scene 1, Layer 'actions', Frame 1, Line 74 1120: Access of undefined property num_holder.

Scene 1, Layer 'actions', Frame 1, Line 84 1120: Access of undefined property num_holder.

Scene 1, Layer 'actions', Frame 1, Line 88 1120: Access of undefined property num_holder.

It's very frustrating, because I'm sure I follow the text to the letter. And about the Flashscroller newsnugget tutorial: some things in it are not so easy to understand. Like the background elements. In the tutorial it says nothing about making them into movie symbols. But when I look at the picture of the library in the tutorial text, I can see that all the background elements - top, contentback, bottom and the white-sep - they are all converted into movie clips? The text only say you have to convert the buttons, the article text and the article holder into movie clips. So, according to the tutorial: when finished converting those elements into movie clips (buttons, article and article_holder), by now you should have in your library something like in the picture below: and the picture show among other things all the background elements converted into movie clips.
So what should I do? Am I gonna use a movie-instance for all of the background elements as well? There is also a folder there called ExtendComponentsConfig that I don't have in my library. I don't know what that folder was generated from, and it says nothing about it in the tutorial. I got all the other elements in the library.

And I have ran into another issue with the FlexiLayout: I wanted to insert a Spry accordion into one of the containers. But the accordion will not show in the browser. It shows in the Dreamveawer CS5 Live View window, but not in any of the browsers. Is this also a CSS-rule that prevents it from being visible? And I have also tried to insert a Spry accordion inside a Flexipanel. But the content-panel where I inserted the accordion will not stretch or repeat the background when the accordion is opened. (I ticked the "Fit to content"-box for the content dimensions and also tried with a fixed height for the panel). Is there a way to get this done?
These two issues with the FlexiLayout og Flexipanels should really go under other threads, But since I have problems with multiple extensions and several of them are related, I take my chances and posting them here for now.

About the problem with the JSmenu in the outer div: as I understood your answer before you wanted me to insert the div outside the FlexiLayout structure. I also tried to insert it inside, but then I got an error in the FlexiLayout, and it would not update with the div inside the structure.

I also have a question about my profile on your site: when I bought my three first extensions from you I used a different email-adress than I am registered with now. I was wondering if you could add the first profile to this one I am now using? I'll send you the info in a mail to your personal extendstudio email adress.

Thnx
Jan Petter
Jan Petter

post date:
2011-08-15 04:41:07
Anyone here?
Elena Tepardea [Extend Studio]

post date:
2011-08-16 04:40:00
Hello,

We are considering this issue and we are trying to solve it.

Regards,
Elena Tepardea
Jan Petter

post date:
2011-09-18 17:06:24
Hello again!
So now more than a month has gone by, and I hope you have a solution for one or more of the problems, do you?

Jan Petter
Andrei Rinciog [Extend Studio]

post date:
2011-09-20 22:58:22
Hello Jan,

First of all, sorry for the late reply and thank you for your patience. We have been a little overwhelmed with work and we also had some vacation periods.

The errors that you receive when you export the newsnuggets FLA are caused by some missing instance names in your file. The "num_holder" element that is shown as missing is the instance name of the text-field that holds the pagination numbers from the example. So, if you have that text-field already, make it dynamic (if not done already) and give it the instance name "num_holder".

The "WhiteSep" class that is used should be an actionscript reference to the "white-separator" object from the library. Select the "white-separator" element and go into it's properties, select "advanced" then check the "export for actionscript box". A class name box will appear and you have to include "WhiteSep" in it.

These changes should get you rid of the errors.

We will post later today about the problems you are having with Spry accordion inside Flexi CSS Layouts or Flexi CSS Panels.

Regards,
Andrei Rinciog
Andrei Rinciog [Extend Studio]

post date:
2011-09-20 22:58:23
Hello Jan,

First of all, sorry for the late reply and thank you for your patience. We have been a little overwhelmed with work and we also had some vacation periods.

The errors that you receive when you export the newsnuggets FLA are caused by some missing instance names in your file. The "num_holder" element that is shown as missing is the instance name of the text-field that holds the pagination numbers from the example. So, if you have that text-field already, make it dynamic (if not done already) and give it the instance name "num_holder".

The "WhiteSep" class that is used should be an actionscript reference to the "white-separator" object from the library. Select the "white-separator" element and go into it's properties, select "advanced" then check the "export for actionscript box". A class name box will appear and you have to include "WhiteSep" in it.

These changes should get you rid of the errors.

We will post later today about the problems you are having with Spry accordion inside Flexi CSS Layouts or Flexi CSS Panels.

Regards,
Andrei Rinciog
Jan Petter

post date:
2011-10-05 04:59:04
Hi! I'm going through the tutorial again hoping that I get it right this time. But I have a problem with your Flash extensions (Scroller, MovieFX and TextFX). I wanted to be able to work with Flash at my office, so I installed the extensions on my laptop. But the extensions will not show in the components panel at all. The only elements there are Flex, User Interface and Video.
Any idea?

Jan Petter
Jan Petter

post date:
2011-10-05 06:12:43
Please ignore the last post. It was fixed by installing the extensions through Flash.
Jan Petter

post date:
2011-10-07 15:11:37
Hello!
I've been going through the newsnugget tutorial several times now, and I'm sorry, but I can't find anything about the textfield "num_holder" that you are mentioning. I do not know what you mean by the "textfield that holds the pagination numbers", and I find no reference to it in the tutorial either. As far as I can understand there are several problems with the tutorial, and some elements are also missing. So I will drop the tutorial for now and wait until you publish a new one that is correct. I assume you will do that in the near future? I really like that newsnugget, and I would be able to use it in several sites. It would be very nice to learn how to make it.
About the other questions I asked: I have teached myself to use div's instead of tables for creating advanced websites with columns and rows, so I will not use the FlexiLayout anymore because of the problems it gives me. The other question about the Spry accordion in the FlexiLayout and inside a Flexipanel - you can drop them. I'll try to fix this by myself.
I have to say that I'm a little disappointed with your answers and the time you use to post them. Now it is over two weeks since you wrote that you should post later that day about the problems I had with the FlexiLayout and FlexiPanels. And I haven't heard a word about my two profiles and if they could be merged into one. As I wrote above in the post 07.08 I would send the info about this in two seperate emails - one from each email-account - to your personal extendstudio mailadress. I did this on 08.08.2011. And I've sendt them one more time today.

Jan Petter
Jan Petter

post date:
2011-12-12 06:31:38
Thank you for nothing !!
Andrei Rinciog [Extend Studio]

post date:
2011-12-13 10:50:02
Hello Jan,

I sincerely apologize for the late reply.

I just made the account merger that you requested.

If there is anything else I can assist you from the problems above just let me know and I promise to reply with top priority.

I don't think there will be a new tutorial version for the news nugget as we do not focus on Flash components anymore. However, we are thinking about an use case tutorial for jQuery PowerSlider extension that will show how to make a news nugget using it.

Kind regards,
Andrei Rinciog