You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by john dowling <Jo...@PSMN.NET> on 2014/04/18 22:13:36 UTC

Is it possible to create a apache flex vertical website which scrolls like a regular website

I have a web developer who is having some concerns in creating a flex website
which scrolls just like linkedIn or Facebook. The scroller appears but the
page only scrolls down like one inch. Does anyone know of an example of
code, or a site which actually scrolls this way?

Thank you,

John



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by john dowling <Jo...@PSMN.NET>.
No I don't think so, but I'll find out. And if so warranted of course. Thank you again. I'm sure my programmer has it under control. Probably simply an available time thing. 

Private Social Media Networks
John Dowling Jr.
Founder/CEO 
80 Fort Salonga Road Suite C
Northport, NY 11768
310-497-3203
JohnDowling@psmn.net

> On Apr 18, 2014, at 5:57 PM, "Alex Harui [via Apache Flex Users]" <ml...@n4.nabble.com> wrote:
> 
> One error is: 
> 
> TypeError: Error #1009: Cannot access a property or method of a null 
> object reference. 
>         at com.warpspeed.components.remotecontrol::VideoInfo/checkPurchaseEnable() 
>         at com.warpspeed.components::VideoPlayer/newVideoListener() 
>         at flash.events::EventDispatcher/dispatchEventFunction() 
>         at flash.events::EventDispatcher/dispatchEvent() 
>         at mx.core::UIComponent/dispatchEvent() 
>         at application.classes::CurrentVideo/setCurrentVideo() 
>         at application.classes::PlaylistAdapter/setVideoInfo() 
>         at application.classes::PlaylistAdapter/init() 
>         at application.classes::ThisApplication/bindImageNavToSQLObject() 
>         at flash.events::EventDispatcher/dispatchEventFunction() 
>         at flash.events::EventDispatcher/dispatchEvent() 
>         at mx.core::UIComponent/dispatchEvent() 
>         at com.warpspeed.classes.data::SQLDataset/getSQLArray() 
> 
> Here's another.  I'm not going to copy the rest. 
> 
> 
> TypeError: Error #1009: Cannot access a property or method of a null 
> object reference. 
>         at com.warpspeed.components.videochat.views::ActiveChat/initElement()
>         at 
> com.warpspeed.components.videochat.views::ActiveChat/___ActiveChat_VBox1_cr 
> eationComplete() 
>         at flash.events::EventDispatcher/dispatchEventFunction() 
>         at flash.events::EventDispatcher/dispatchEvent() 
>         at mx.core::UIComponent/dispatchEvent() 
>         at mx.core::UIComponent/set initialized() 
>         at mx.managers::LayoutManager/doPhasedInstantiation() 
>         at mx.managers::LayoutManager/doPhasedInstantiationCallback() 
> 
> 
> 
> By using a debugger player, you should see error dialogs popup.  Your 
> developer should be doing this. 
> 
> Regarding ad banners, are you using Apache Flex?  If so, see if you can 
> find a place to put "Written using Apache Flex" on the site. 
> 
> On 4/18/14 2:48 PM, "john dowling" <[hidden email]> wrote: 
> 
> >What kind of errors do you see? Can you be more specific? I am not a 
> >programmer just helping do some research for our programmer who is 
> >totally inundated right now with a personal thing. And thank you very 
> >much for your kind time. I will provide you with some free ad banners on 
> >our site if you would like in return for your efforts. A thank you if you 
> >would.. 
> > 
> > 
> >JD 
> > 
> > 
> > 
> >-- 
> >View this message in context: 
> >http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-
> >apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6 
> >197.html 
> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
> 
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6198.html
> To unsubscribe from Is it possible to create a apache flex vertical website which scrolls like a regular website, click here.
> NAML




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6199.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by Alex Harui <ah...@adobe.com>.
The page you showed is all Flex right?  So you are just looking for an app
that scrolls?  Earlier it seemed like you wanted it to scroll with some
other HTML stuff on the same page.

-Alex

On 4/18/14 3:45 PM, "john dowling" <Jo...@PSMN.NET> wrote:

>Have you ever seen a long flex website that works like Facebook or
>LinkedInŠ Can you point me to one, or just post some sample code that
>shows how you did it? I have searched the entire internet and have only
>found sites that scroll within the given sections or frames, not a flex
>site which scrolls like a regular html page?
>
>Thank you kindly again.
>
>JD
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-
>apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6
>200.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by fl...@dfguy.us.
You could always just have the flex app position absolutely to the screen size and map it to a larger HTML page with scrollbar underneath it. Then capture the scroll wheel event and scroll the HTML page via external interface while scrolling the content within the flash frame.

Seems kind of funny but I bet it would work as long as you get the JavaScript interface configures correctly.

David



-----Original Message-----
From: john dowling <Jo...@PSMN.NET>
To: users@flex.apache.org
Sent: Fri, 18 Apr 2014 5:45 PM
Subject: Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Have you ever seen a long flex website that works like Facebook or LinkedIn… Can you point me to one, or just post some sample code that shows how you did it? I have searched the entire internet and have only found sites that scroll within the given sections or frames, not a flex site which scrolls like a regular html page?

Thank you kindly again.

JD



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6200.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by john dowling <Jo...@PSMN.NET>.
Have you ever seen a long flex website that works like Facebook or LinkedIn… Can you point me to one, or just post some sample code that shows how you did it? I have searched the entire internet and have only found sites that scroll within the given sections or frames, not a flex site which scrolls like a regular html page?

Thank you kindly again.

JD



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6200.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by Alex Harui <ah...@adobe.com>.
One error is:

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
	at com.warpspeed.components.remotecontrol::VideoInfo/checkPurchaseEnable()
	at com.warpspeed.components::VideoPlayer/newVideoListener()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()
	at application.classes::CurrentVideo/setCurrentVideo()
	at application.classes::PlaylistAdapter/setVideoInfo()
	at application.classes::PlaylistAdapter/init()
	at application.classes::ThisApplication/bindImageNavToSQLObject()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()
	at com.warpspeed.classes.data::SQLDataset/getSQLArray()

Here's another.  I'm not going to copy the rest.


TypeError: Error #1009: Cannot access a property or method of a null
object reference.
	at com.warpspeed.components.videochat.views::ActiveChat/initElement()
	at 
com.warpspeed.components.videochat.views::ActiveChat/___ActiveChat_VBox1_cr
eationComplete()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()
	at mx.core::UIComponent/set initialized()
	at mx.managers::LayoutManager/doPhasedInstantiation()
	at mx.managers::LayoutManager/doPhasedInstantiationCallback()



By using a debugger player, you should see error dialogs popup.  Your
developer should be doing this.

Regarding ad banners, are you using Apache Flex?  If so, see if you can
find a place to put "Written using Apache Flex" on the site.

On 4/18/14 2:48 PM, "john dowling" <Jo...@PSMN.NET> wrote:

>What kind of errors do you see? Can you be more specific? I am not a
>programmer just helping do some research for our programmer who is
>totally inundated right now with a personal thing. And thank you very
>much for your kind time. I will provide you with some free ad banners on
>our site if you would like in return for your efforts. A thank you if you
>would..
>
>
>JD
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-
>apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6
>197.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by john dowling <Jo...@PSMN.NET>.
What kind of errors do you see? Can you be more specific? I am not a programmer just helping do some research for our programmer who is totally inundated right now with a personal thing. And thank you very much for your kind time. I will provide you with some free ad banners on our site if you would like in return for your efforts. A thank you if you would..


JD



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6197.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by Alex Harui <ah...@adobe.com>.
It looks like at least one of the containers is not reporting its size
correctly.  The site is throwing lots of errors so it is possible that
some size reporting code is never getting run.

The largest container seems to contain a tile list of video thumbnails.
That container's height doesn't seem to be used in the scrollbar
calculation.  Often that means there is an issue with how
width/height/left/top/right/bottom are set for the various widgets.

-Alex

On 4/18/14 2:09 PM, "john dowling" <Jo...@PSMN.NET> wrote:

>The flex ones are not allowing the site to scroll look here
>http://162.209.104.128/index_test3.php#
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-
>apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6
>195.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by john dowling <Jo...@PSMN.NET>.
The flex ones are not allowing the site to scroll look here http://162.209.104.128/index_test3.php#



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6195.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by Alex Harui <ah...@adobe.com>.
Not sure I understood that.

If you had a pure HTML app, it might have some <div> that is really tall
so its containing <div> shows a scrollbar right?  It turns out there is no
ActionScript API to make the player's viewport taller on the fly, but you
should be able to use ExternalInterface with some custom JS in the HTML
wrapper to set the size of the player's viewport.  The only drawback is
that, if you make the player more than 2000 pixels tall, it might get slow
drawing all of those pixels.

Usually, Flex apps are full screen so it is ok to hide the browser
scrollbars and use the Flex ones.

HTH,
-Alex

On 4/18/14 1:53 PM, "john dowling" <Jo...@PSMN.NET> wrote:

>Do you see any way to make the scrolling on this site allow for the
>entire site to scroll, while we are still scrolling with other items on
>the site? The site itself does not seem to scroll???
>
>Thank you,
>John
>
>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-
>apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6
>193.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by john dowling <Jo...@PSMN.NET>.
Do you see any way to make the scrolling on this site allow for the entire site to scroll, while we are still scrolling with other items on the site? The site itself does not seem to scroll???

Thank you,
John






--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191p6193.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Is it possible to create a apache flex vertical website which scrolls like a regular website

Posted by Alex Harui <ah...@adobe.com>.
With Flex sites, both the browser and the Flex SWF can display scrollbars.
 In Flex 4 Spark Applications, scrollbars are off by default.

The Application sometimes is assigned a fixed size.  If a fixed size is
assigned, the player creates a viewport of that size.  If the content in
the Application's child containers doesn't fit, it just gets clipped.  But
you can choose to add in Scroller components where you want scrollbars.

Meanwhile, the player's viewport either fits or doesn't fit in the <div>
in the HTML wrapper.  If it doesn't fit and scrollbars are enabled, the
browser will display a scrollbar.

Thus, it is possible to have a situation where the player viewport is 7
inches tall, but the browser only has 6 inches of room for it, but the
player's viewport is attempting to show something 10 inches tall which is
just being clipped at 7 inches.

I believe most folks try to make sure the div doesn't have scrollbars, and
can fit the player's viewport and then add scrollbars to the Application.

HTH,
-Alex



On 4/18/14 1:13 PM, "john dowling" <Jo...@PSMN.NET> wrote:

>I have a web developer who is having some concerns in creating a flex
>website
>which scrolls just like linkedIn or Facebook. The scroller appears but the
>page only scrolls down like one inch. Does anyone know of an example of
>code, or a site which actually scrolls this way?
>
>Thank you,
>
>John
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Is-it-possible-to-create-a-
>apache-flex-vertical-website-which-scrolls-like-a-regular-website-tp6191.h
>tml
>Sent from the Apache Flex Users mailing list archive at Nabble.com.